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

Refactoring & dependency updates #17

Merged
merged 209 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
9bbfd6b
ps.map: Initialize variable before using it in conditional (#4286)
ymdatta Sep 7, 2024
102bc38
checks: Flake8 F841 fixes in the scripts directory part 2 (#4241)
mshukuno Sep 7, 2024
39e1e11
CI(deps): Update alpine:3.20 Docker digest to beefdbd (#4287)
renovate[bot] Sep 7, 2024
83ee146
grass.app: Move ISIS integration to the library (#4169)
wenzeslaus Sep 7, 2024
98e3fe1
r.out.png: reset file pointer to NULL after fclose (#4220)
ymdatta Sep 7, 2024
d7f4977
grass.temporal.stds_export: Use pathlib Path.read_text and Path.write…
echoix Sep 8, 2024
57cb4d9
checks: flake8 F841 (local variable assigned to but never used) fixes…
mshukuno Sep 9, 2024
7c6c12b
v.external: Check for valid list before passing to qsort (#4280)
ymdatta Sep 9, 2024
b1c8d10
wxGUI/gmodeler: dialogs code refactoring (#3816)
pesekon2 Sep 9, 2024
cc2797c
r.univar: fix MASK check with nprocs > 1 (#4297)
petrasovaa Sep 9, 2024
258752c
CI(deps): Update DeterminateSystems/nix-installer-action action to v1…
renovate[bot] Sep 9, 2024
b9c19ab
CI(deps): Update ruff to v0.6.4 (#4279)
renovate[bot] Sep 9, 2024
85efe79
v.out.ogr: Check for valid array before passing to qsort (#4278)
ymdatta Sep 9, 2024
997624b
r.proj: Create unit tests (#4225)
cyliang368 Sep 10, 2024
a85c7b0
v.vol.rst: Initialize structure contents before passing it around (#4…
ymdatta Sep 10, 2024
76507cc
v.generalize: Initialize all of structure contents before using it (#…
ymdatta Sep 10, 2024
adcdf28
t.rast.accumulate: remove printing (#4301)
petrasovaa Sep 10, 2024
e4fdf90
CI: Resolve flake8 issues in utils directory (#4303)
arohanajit Sep 11, 2024
569c730
CI(deps): Update docker/dockerfile Docker tag to v1.10 (#4305)
renovate[bot] Sep 11, 2024
5719ba6
CI: Update .flake8 configuration and fix flake8 errors in lib/init/gr…
arohanajit Sep 12, 2024
dda0fb2
lib/db: Fix copy into fixed size buffer issue in SQLite driver (#4255)
ShubhamDesai Sep 12, 2024
4d5184d
CI(deps): Update peter-evans/create-pull-request action to v7.0.2 (#4…
renovate[bot] Sep 12, 2024
5de8682
GUI: fix ColumnSorterMixin regression (#4310)
rohannallamadge Sep 12, 2024
8c23c2e
Checks: flake8 F841 (local variable assigned to but never used) fixes…
mshukuno Sep 12, 2024
b7bcd06
CI: Fix Flake8 linter errors in man/ directory (#4292)
arohanajit Sep 12, 2024
9aeabc1
contributing: update style guide for C (#4312)
petrasovaa Sep 12, 2024
d77f457
ps.map: Fix copy into fixed size buffer issue in do_scalebar.c (#4307)
ShubhamDesai Sep 12, 2024
2c1df9f
GUI: gmodeler fix adding tool (#4309)
landam Sep 13, 2024
cd5f1bd
lib/gis: Add portable G_strlcat function (#4304)
nilason Sep 13, 2024
7dbb49b
CI(deps): Update github/codeql-action action to v3.26.7 (#4314)
renovate[bot] Sep 13, 2024
d2f3477
lib: Accept more newline styles in G_getl (#3853)
wenzeslaus Sep 13, 2024
95da3ef
style: Fix all flake8-gettext (INT) errors (INT001, INT002, INT003) (…
echoix Sep 14, 2024
1a89301
v.in.dwg: Avoid using same variable as parameter and destination in s…
ymdatta Sep 15, 2024
213f024
CI(macOS): Use micromamba-shell for steps to load PATH changes (#4325)
echoix Sep 16, 2024
63a80f5
lib/linkm: Change non-returning internal function types to void (#4318)
ymdatta Sep 16, 2024
d0f1634
CI(OSGeo4W): Add -pipe to CFLAGS and CXXFLAGS to reduce build time (#…
echoix Sep 16, 2024
3dbe2d7
CI(deps): Update peter-evans/create-pull-request action to v7.0.3 (#4…
renovate[bot] Sep 16, 2024
560340a
CI(deps): Update ruff to v0.6.5 (#4315)
renovate[bot] Sep 16, 2024
d7c126f
docs: add README.md to doc/development/rfc/ (#4316)
neteler Sep 16, 2024
7c27080
r.clump: Fix unchecked return value from lseek (#4151)
ShubhamDesai Sep 16, 2024
fdcd8d8
v.to.3d: Fix Resource Leak Issue in trans2.c (#4320)
ShubhamDesai Sep 16, 2024
c840f3c
r.viewshed: initialize struct member before using struct (#4232)
ymdatta Sep 16, 2024
95c123d
i.rectify: Fix copy into fixed size buffer issue in main.c of i.recti…
ShubhamDesai Sep 16, 2024
826ab62
i.segment: Move unused variable value into a code comment (#4153)
ShubhamDesai Sep 17, 2024
a0486dd
CI(deps): Update ubuntu:22.04 Docker digest to 58b8789 (#4331)
renovate[bot] Sep 17, 2024
083fc21
style: Enable checking for SIM115 adding exclusions for existing issu…
echoix Sep 17, 2024
df714ec
docs: update and cleanup of infrastructure.md (#4294)
neteler Sep 17, 2024
a816dc1
docs: update Programmer's Manual's GIS lib (string) section (#4333)
nilason Sep 17, 2024
5d6a2e8
t.rast.univar: Use pathlib Path.read_text to open test outputs in t.r…
echoix Sep 17, 2024
5e47e41
docs: update outdated trac URLs to GitHub (#4317)
neteler Sep 17, 2024
3bc6e95
grass.temporal.abstract_space_time_dataset: Use Path.read_text() to l…
echoix Sep 17, 2024
da15442
lib/gis: match prototype with declaration for G_strlcat and G_strlcpy…
nilason Sep 18, 2024
9420d00
grass.gunittest: Fix parsing exclusion from config file on Windows (#…
echoix Sep 18, 2024
0536351
checks: Flake8 F841 fixes in the wxpython directory part 1 (#4244)
mshukuno Sep 18, 2024
4f8f676
checks: Flake8 F841 fixes in the wxpython directory part 3 (#4261)
mshukuno Sep 18, 2024
dc27b28
grass.gunittest: Fix SIM115 using context managers to open files (#4338)
echoix Sep 18, 2024
b69cacf
CI(deps): Update peter-evans/create-pull-request action to v7.0.5 (#4…
renovate[bot] Sep 19, 2024
05584c1
CI(OSGeo4W): Update min-success to 86% for gunittest on Windows (#4341)
echoix Sep 19, 2024
7dc46cd
v.in.dwg: Retire v.in.dwg infavor of v.in.redwg (#4329)
ymdatta Sep 19, 2024
a536bd4
d.mon: Fix unbounded source buffer (#4260)
ShubhamDesai Sep 19, 2024
d5bb442
lib/gmath: use C interface to BLAS and LAPACK libraries (#4247)
nilason Sep 19, 2024
89cfc52
docs: move Programmer's manual creation to INSTALL.md (#4336)
neteler Sep 19, 2024
a94c3b0
configure: fix default variable name for blas and lapack (#4343)
nilason Sep 19, 2024
5fd45e4
CI(deps): Update github/codeql-action action to v3.26.8 (#4344)
renovate[bot] Sep 19, 2024
333d8e6
v.cluster: Fix unused value assignment (#4094)
ShubhamDesai Sep 19, 2024
6607e1c
CI(macOS): Cache micromamba environment on same week (#4342)
echoix Sep 19, 2024
51f865b
style: Bump Black's target Python versions for Python 3.9 minimum (#4…
echoix Sep 19, 2024
75458f8
style: Call `startswith` or `endswith` once with a `tuple` (PIE810) (…
echoix Sep 19, 2024
4bb3156
wxGUI/history: fix the run of a special cmds only once (#4322)
tmszi Sep 20, 2024
64deef2
CI(deps): Update ruff to v0.6.6 (#4350)
renovate[bot] Sep 20, 2024
6bc69e3
CI(OSGeo4W): Use setup-OSGeo4W action to parametrize install options …
echoix Sep 20, 2024
bf41fc7
lib/gmath: rename ATLAS_wrapper to CBLAS_wrapper (#4351)
nilason Sep 20, 2024
c4424ab
lib/gmath: properly guard BLAS and LAPACK dependent code (#4346)
nilason Sep 20, 2024
2356520
doc: Fix most Flake8 issues in example files (#4353)
arohanajit Sep 21, 2024
d89ad9e
g.proj: Fix copy into fixed size buffer issue in input.c file (#4359)
ShubhamDesai Sep 21, 2024
93781e5
CI(deps): Update ruff to v0.6.7 (#4360)
renovate[bot] Sep 21, 2024
5aed1a6
tests: Re-enable passing tests from .gunittest.cfg exclusion list (#4…
echoix Sep 21, 2024
0c1e79b
checks: Move imports to the top in wxGUI/core (#4357)
arohanajit Sep 21, 2024
7b4a240
tests: Add `xfail_windows` decorator for failing tests on Windows (#4…
echoix Sep 22, 2024
6d046ec
grass.temporal: fix regression in printing metadata (#4328)
petrasovaa Sep 22, 2024
bd39db7
grass.temporal: Remove expected failures for tests fixed by #4328 (#4…
echoix Sep 22, 2024
6325a18
CI(OSGeo4W): Run pytest tests on Windows (#4366)
echoix Sep 23, 2024
c32dd52
checks: Replace bare except (Flake8 E722) in po stats script (#4354)
arohanajit Sep 23, 2024
25afbfb
g.version: Add tests covering different outputs (#4219)
ShubhamDesai Sep 23, 2024
9e8874c
ps.map: Fix memory leak issue (#4369)
ShubhamDesai Sep 23, 2024
b35b1c3
CI(deps): Lock file maintenance (#4365)
renovate[bot] Sep 23, 2024
c266f46
CI(deps): Update dependency bandit to v1.7.10 (#4370)
renovate[bot] Sep 23, 2024
c593eb0
docker: Add liblapacke-dev package to Ubuntu builds (#4371)
echoix Sep 24, 2024
16de4d3
grass.jupyter: Fix session tests on Windows (#4368)
echoix Sep 24, 2024
04cc9ea
checks: Replace bare except (Flake8 E722) in wxGUI/core (#4367)
arohanajit Sep 24, 2024
ac66448
CI(deps): Update pre-commit hook igorshubovych/markdownlint-cli to v0…
renovate[bot] Sep 24, 2024
234209a
CI(deps): Update github/codeql-action action to v3.26.9 (#4380)
renovate[bot] Sep 24, 2024
8c671ca
docker: Sort package lists and configure options in Dockerfiles (#4373)
echoix Sep 24, 2024
d99d840
grass.jupyter: fix interactivemap tests (#4379)
petrasovaa Sep 25, 2024
45a0486
grass.app: Move mapset locking to the library (#4158)
wenzeslaus Sep 25, 2024
68c7245
CI(deps): Update alpine:3.20 Docker digest to e72ad07 (#4381)
renovate[bot] Sep 25, 2024
0f75c27
CI(deps): Update alpine:3.20 Docker digest to beefdbd (#4384)
renovate[bot] Sep 25, 2024
8261363
grass.jupyter: move save() to BaseSeriesMap class to reduce redundanc…
petrasovaa Sep 25, 2024
7c651c3
wxGUI/datacatalog: Replace lambda expression with named Function to f…
arohanajit Sep 25, 2024
09c629d
CI(deps): Update actions/checkout action to v4.2.0 (#4387)
renovate[bot] Sep 25, 2024
2098577
v.vol.rst: Fix resource leak issue in user1.c file (#4389)
ShubhamDesai Sep 26, 2024
845dfd0
wxGUI: Refactored try-except block to be more robust in dialogs.py (#…
arohanajit Sep 26, 2024
b835f4d
wxGUI: Fixed E266 - extra '#' for comments in gui_core/ (#4393)
arohanajit Sep 26, 2024
549ea90
r3.in.v5d: Fix unchecked return value from lseek (#4141)
ShubhamDesai Sep 26, 2024
edea810
wxGUI: Fix E722 Warnings by Specifying Exception Types in dbmgr/ (#4382)
arohanajit Sep 26, 2024
c502c1c
checks: Fix E402 Flake8 in for wxGUI Sphinx doc (#4391)
arohanajit Sep 26, 2024
e4c87ec
CI(deps): Update ruff to v0.6.8 (#4394)
renovate[bot] Sep 26, 2024
bcb2938
CI(deps): Update docker/build-push-action action to v6.8.0 (#4398)
renovate[bot] Sep 27, 2024
7f05bb3
style: Remove misleading author info from wxGUI photo and image code …
wenzeslaus Sep 28, 2024
4f689fe
docs: fixed E265 from image2target/ (#4399)
arohanajit Sep 28, 2024
fee26ec
g.gui.iclass: Add explanation of expected format for vector layers (…
dhdeangelis Sep 28, 2024
49f67fd
style: Fix negate-equal-op (SIM201) (#4407)
echoix Sep 28, 2024
5eca6d6
style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib…
echoix Sep 28, 2024
ead659f
style: Fix os-getcwd (PTH109) by replacing `os.getcwd()` calls with `…
echoix Sep 28, 2024
70f3599
style: Fix if-with-same-arms (SIM114) (#4406)
echoix Sep 28, 2024
ae5e4dd
style: Fix duplicate-isinstance-call (SIM101) (#4405)
echoix Sep 28, 2024
0ea5e37
style: Fix reimplemented-operator (FURB118) (#4408)
echoix Sep 28, 2024
16c87b1
lib/shapelib: sync upstream with shapelib 1.6.0 and GDAL 3.9.2 (#4395)
nilason Sep 29, 2024
e82663c
style: Use `any` or `all` instead of `for` loop (SIM110) (#4404)
echoix Sep 29, 2024
108e5e4
raster: Add library function to ask for mask presence (#4402)
wenzeslaus Sep 30, 2024
808acd3
CI(deps): Update docker/build-push-action action to v6.9.0 (#4420)
renovate[bot] Sep 30, 2024
e02b921
CI(deps): Update github/codeql-action action to v3.26.10 (#4419)
renovate[bot] Sep 30, 2024
33d0d15
v.transform: Fix Copy into fix Buffer size issue (#4415)
ShubhamDesai Sep 30, 2024
480e050
style: Fix redundant-open-modes (UP015) (#4410)
echoix Sep 30, 2024
afbc3ae
CI(deps): Lock file maintenance (#4416)
renovate[bot] Sep 30, 2024
e427da0
wxGUI: Fixed flake8 E722: bare 'except' in wxpython/gcp/ (#4392)
arohanajit Sep 30, 2024
3e53e34
wxGUI: Fixed F841 in ii2t_manager.py (#4418)
arohanajit Oct 1, 2024
25619dd
wxGUI: Fix E722 do not use bare 'except' warnings in `gui_core/` (#4396)
arohanajit Oct 1, 2024
6382949
v.generalize: Fix Resource Leak issue in displacement.c (#4422)
ShubhamDesai Oct 1, 2024
13cda73
wxGUI: Fixed unused 'wizard' variable - F841 in image2target/ (#4400)
arohanajit Oct 1, 2024
ed10037
tests: fix tests that were actually not testing anything (#4349)
petrasovaa Oct 1, 2024
e9768eb
CI(deps): Update codecov/codecov-action action to v4.6.0 (#4425)
renovate[bot] Oct 1, 2024
3f61cd7
wxGUI: Fixed E722 in ii2t_gis_set.py (#4417)
arohanajit Oct 1, 2024
61407f0
wxGUI: Fixed E722: bare 'except' in iscatt/ (#4427)
arohanajit Oct 2, 2024
fa30424
CI(deps): Update mamba-org/setup-micromamba action to v1.10.0 (#4429)
renovate[bot] Oct 2, 2024
1b639db
wxGUI: Fix F405 error by explicitly importing required modules in isc…
arohanajit Oct 2, 2024
f0a997c
wxGUI: FIxed F841 is iscatt/core_c.py (#4430)
arohanajit Oct 2, 2024
aa1c32a
wxGUI: Fixed F841 in dialogs.py, frame.py (#4431)
arohanajit Oct 3, 2024
a4d3cea
v.colors: Fix resource leak issue in scan_attr.c file (#4423)
ShubhamDesai Oct 3, 2024
617828d
r.fill.dir: Fix unchecked return value in filldir.c (#4433)
ShubhamDesai Oct 3, 2024
4bec714
r.thin: Fix unchecked return value in io.c (#4434)
ShubhamDesai Oct 3, 2024
de8a6fd
CI(deps): Update rui314/setup-mold digest to c49f92e (#4435)
renovate[bot] Oct 3, 2024
d7c79a8
CI(deps): Update docker/setup-buildx-action action to v3.7.0 (#4436)
renovate[bot] Oct 3, 2024
7b73900
CI(deps): Update mamba-org/setup-micromamba action to v1.11.0 (#4437)
renovate[bot] Oct 3, 2024
d4e46dc
CI(deps): Update docker/setup-buildx-action action to v3.7.1 (#4448)
renovate[bot] Oct 4, 2024
a96c073
CI(deps): Update rui314/setup-mold digest to b015f7e (#4447)
renovate[bot] Oct 4, 2024
a186638
CI(deps): Update github/codeql-action action to v3.26.11 (#4442)
renovate[bot] Oct 4, 2024
359a62b
CI(deps): Update mamba-org/setup-micromamba action to v2 (#4438)
renovate[bot] Oct 4, 2024
7f81c6d
wxGUI: Fixed F841 in iscatt/ (#4432)
arohanajit Oct 4, 2024
60f7135
CI(deps): Update ruff to v0.6.9 (#4449)
renovate[bot] Oct 4, 2024
1e86629
style: Fix invalid-escape-sequence (W605) (#4409)
echoix Oct 4, 2024
eebf369
wxGUI: Fixed F841 and E266 in lmgr/ (#4439)
arohanajit Oct 4, 2024
a16a02f
i.atcorr: update man page to fix numbering of AVIRIS bands and make s…
YannChemin Oct 4, 2024
093411b
style: Fix all remaining `PT` flake8-pytest-style issues (#4452)
echoix Oct 5, 2024
5281602
style: Fix unnecessary-list-comprehension-dict (C404) (#4454)
echoix Oct 5, 2024
209739a
style: Fix unnecessary-range-start (PIE808) (#4455)
echoix Oct 5, 2024
cd9e0a4
style: Fix unnecessary-comprehension (C416) (#4453)
echoix Oct 5, 2024
6596d49
CI(deps): Update pre-commit hook pre-commit/pre-commit-hooks to v5 (#…
renovate[bot] Oct 5, 2024
3932773
lib/lidar: Fix resource leak issue in raster.c (#4458)
ShubhamDesai Oct 7, 2024
aa0b497
v.reclass: Fix Resource Leak issue in reclass.c (#4457)
ShubhamDesai Oct 7, 2024
b5c4a27
v.rectify: Fix Copy into fix Buffer size issue (#4463)
ShubhamDesai Oct 7, 2024
de39e1c
style: Fix unnecessary-paren-on-raise-exception (RSE102) (#4456)
echoix Oct 7, 2024
703d9f8
style: Fix superfluous-else-return (RET505) (#4459)
echoix Oct 7, 2024
5e5f30e
CI(deps): Lock file maintenance (#4465)
renovate[bot] Oct 7, 2024
56ba44c
CI(deps): Update actions/upload-artifact action to v4.4.1 (#4466)
renovate[bot] Oct 7, 2024
368f0eb
v.to.db: Fix resource Leak issue in update.c (#4461)
ShubhamDesai Oct 7, 2024
573d54a
ps.map: Fix Resource Leak issue in ps_vareas.c (#4464)
ShubhamDesai Oct 7, 2024
3f6a6e4
CI(deps): Update actions/checkout action to v4.2.1 (#4468)
renovate[bot] Oct 7, 2024
3ce2a0f
CI(deps): Update github/codeql-action action to v3.26.12 (#4469)
renovate[bot] Oct 7, 2024
b418733
CI(deps): Update black to v24.10.0 (#4473)
renovate[bot] Oct 7, 2024
498676c
CI(deps): Update actions/upload-artifact action to v4.4.2 (#4477)
renovate[bot] Oct 9, 2024
cbe2b9e
wxGUI: Fixed E722 in frame.py (#4440)
arohanajit Oct 10, 2024
400b0df
docs: minor fixes to g.gisenv, i.atcorr, v.centroids, v.overlay, v.ty…
neteler Oct 10, 2024
3a95b7a
raster/raster3d: Initialize Cell_head structure contents before use
ymdatta Oct 11, 2024
b9a6b68
doc: Use lowercase for 2D raster mask (#4401)
wenzeslaus Oct 11, 2024
2e0a8fa
tools: FIxed unused variable in imagery/ (#4487)
arohanajit Oct 11, 2024
21606ad
doc: Ignore F401 in dialogs.py (#4488)
arohanajit Oct 11, 2024
426bf74
checks: update .flake8 to reflect correct status in image2target (#4489)
arohanajit Oct 11, 2024
cbc3ff4
wxGUI: FIxed F841 in colorrules.py (#4490)
arohanajit Oct 11, 2024
1d42e58
r.mask.status: Check mask status through a tool and function (#2390)
wenzeslaus Oct 11, 2024
0feea31
i.ortho.photo: Fix Resource Leak in find_init.c (#4388)
ShubhamDesai Oct 12, 2024
9df8433
lib/vector/Vlib: Fix copy into buffer size issue in color_read.c (#4462)
ShubhamDesai Oct 12, 2024
4cf93d2
checks: Remove extra semicolons in r.terraflow (#4494)
wenzeslaus Oct 12, 2024
71066f4
CI(deps): Update actions/upload-artifact action to v4.4.3 (#4481)
renovate[bot] Oct 12, 2024
542f3b4
v.colors: Fix Resource Leak issue in read_rgb.c (#4497)
ShubhamDesai Oct 12, 2024
779af80
v.to.db: Fix Resource Leak issue in areas.c (#4498)
ShubhamDesai Oct 12, 2024
03675b0
d.vect: Fix Resource Leak issue in attr.c (#4496)
ShubhamDesai Oct 12, 2024
3c4aa6d
CI(deps): Lock file maintenance (#4509)
renovate[bot] Oct 14, 2024
cb7cbab
CI(deps): Lock file maintenance (#4510)
renovate[bot] Oct 14, 2024
ed02be5
ps.map: initialize variable contents before using them in get_ll_boun…
ymdatta Oct 14, 2024
b5289ee
r.carve: Fix resource leak issue in enforce_ds.c (#4505)
ShubhamDesai Oct 14, 2024
e139a4c
gui: Solve a recursion error in gui/wxpython/lmgr/giface.py (#4514)
echoix Oct 14, 2024
61b380f
r.mask.status: fix null pointer dereference and false positive string…
nilason Oct 14, 2024
761d98a
style: Ignore deprecated PT004 rule (#4520)
echoix Oct 14, 2024
3a9059b
pytest: Collect code coverage in multiple workers too (#4451)
echoix Oct 14, 2024
a98691f
v.net.timetable: Fix Resource Leak issue in main.c (#4508)
ShubhamDesai Oct 14, 2024
f241532
v.kernel: Fix resource Leak issue in main.c (#4506)
ShubhamDesai Oct 15, 2024
c5c5ec5
lib/vector/Vlib: Fix Resource leak issue in geos.c (#4507)
ShubhamDesai Oct 15, 2024
15c5737
CI(deps): Update github/codeql-action action to v3.26.13 (#4518)
renovate[bot] Oct 15, 2024
ca171b7
tests: enable use of md5 bin for checksum in raster_md5test.sh (#4527)
nilason Oct 15, 2024
f7d2ecf
lib/vector/Vlib: always write out topo files in update mode (#3459)
metzm Oct 15, 2024
c0c5380
r.sim.water: fix logfile writing (#4522)
petrasovaa Oct 15, 2024
f22c9a2
doc: Use lowercase for 2D raster mask and other masks (#4495)
wenzeslaus Oct 15, 2024
ec2bc8a
r3.in.v5d: Prevent integer overflow by changing literal constant type…
ymdatta Oct 15, 2024
1adbd2c
CI: Assign milestone on merged PRs (#4414)
echoix Oct 15, 2024
9a79aa4
tests: Revise content of the root testsuite dir (#4516)
wenzeslaus Oct 15, 2024
bc9cb2a
doc: Use lowercase for mask (#4529)
wenzeslaus Oct 15, 2024
2415894
r.in.gridatb: check if opening of file succeeds (#4532)
ShubhamDesai Oct 16, 2024
362bee3
grass.script: Fixed E722 in v.what.shrds/ (#4530)
arohanajit Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lib/shapelib: sync upstream with shapelib 1.6.0 and GDAL 3.9.2 (OSGeo…
…#4395)

* fix win runner (-Wincompatible-pointer-types warnings)

* remove patch of http://trac.osgeo.org/gdal/ticket/809
  • Loading branch information
nilason authored Sep 29, 2024
commit 16c87b1d0d780fab1cb4025babf6f7db4530a8e5
44 changes: 3 additions & 41 deletions lib/external/shapelib/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Update history of SHAPELIB copy

* files `shpopen.c`, `shapefil.h`, `dbfopen.c`
* files `shpopen.c`, `shapefil.h`, `dbfopen.c`, `shapefil_private.h`
from GDAL [ogr/ogrsf_frmts/shape/](https://github.com/OSGeo/gdal/tree/master/ogr/ogrsf_frmts/shape)
* file `safileio.c`
from [SHAPELIB](http://download.osgeo.org/shapelib/)

## Last update

* taken from GDAL 3.9.2 and SHAPELIB 1.6.0 (Sep 2024)
* taken from GDAL 3.5.3 and SHAPELIB 1.5.0 (Dec 2022)
* taken from GDAL 2.1.2 and SHAPELIB 1.3.0 (Thu Nov 24 10:45:41 CET 2016)
* taken from GDAL 1.5.1-SVN (Sun Mar 30 11:20:43 CEST 2008)
@@ -15,44 +16,5 @@

## Summary of fixes

* dbfopen.c
around line 1229: GDAL bug [ticket-#809](http://trac.osgeo.org/gdal/ticket/809)

* safileio.c
SHP_CVSID: ISO C does not allow extra ‘;’ outside of a function

## Full fix

```diff
diff --git a/lib/external/shapelib/dbfopen.c b/lib/external/shapelib/dbfopen.c
index 5380e3e20b..5151148d33 100644
--- a/lib/external/shapelib/dbfopen.c
+++ b/lib/external/shapelib/dbfopen.c
@@ -1226,9 +1226,10 @@ DBFGetFieldInfo( DBFHandle psDBF, int iField, char * pszFieldName,
else if( psDBF->pachFieldType[iField] == 'N'
|| psDBF->pachFieldType[iField] == 'F' )
{
- if( psDBF->panFieldDecimals[iField] > 0
- || psDBF->panFieldSize[iField] >= 10 )
+ if( psDBF->panFieldDecimals[iField] > 0 ) {
+ /* || psDBF->panFieldSize[iField] >= 10 ) */ /* GDAL bug #809 */
return( FTDouble );
+ }
else
return( FTInteger );
}
diff --git a/lib/external/shapelib/safileio.c b/lib/external/shapelib/safileio.c
index 289d347eaf..7a614a5806 100644
--- a/lib/external/shapelib/safileio.c
+++ b/lib/external/shapelib/safileio.c
@@ -74,7 +74,7 @@
#include <string.h>
#include <stdio.h>

-SHP_CVSID("$Id: safileio.c,v 1.6 2018-06-15 19:56:32 erouault Exp $");
+SHP_CVSID("$Id: safileio.c,v 1.6 2018-06-15 19:56:32 erouault Exp $")

#ifdef SHPAPI_UTF8_HOOKS
# ifdef SHPAPI_WINDOWS

```
[shapelib commit 316ff87](https://github.com/OSGeo/shapelib/commit/316ff872566ea0d91d6b62fe01bfe39931db39aa#diff-f068bc465ca1a32e1b9c214d4eb9504ef9e0f3c4cabc1aa4bab8aa41e2248cc6R153)
Loading