-
Notifications
You must be signed in to change notification settings - Fork 0
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
Image group dict #10
base: main
Are you sure you want to change the base?
Image group dict #10
Commits on Sep 16, 2024
-
CI(macOS): Use micromamba-shell for steps to load PATH changes (OSGeo…
…#4325) Fixes problems with loading environment variables and path on the newest GitHub Actions macOS 20240911.3 runner image, that makes all builds fail. * CI(macOS): Use micromamba-shell for build and install * CI(macOS): Use micromamba-shell for printing versions * CI(macOS): Use micromamba-shell for pytest and gunittest
Configuration menu - View commit details
-
Copy full SHA for 213f024 - Browse repository at this point
Copy the full SHA 213f024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63a80f5 - Browse repository at this point
Copy the full SHA 63a80f5View commit details -
CI(OSGeo4W): Add -pipe to CFLAGS and CXXFLAGS to reduce build time (O…
…SGeo#4326) With the current GitHub Hosted runners, the build step time is reduced by about 2 minutes, down to about 8min30 instead of about 10min30, for the couple builds I observed
Configuration menu - View commit details
-
Copy full SHA for d0f1634 - Browse repository at this point
Copy the full SHA d0f1634View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dbe2d7 - Browse repository at this point
Copy the full SHA 3dbe2d7View commit details -
CI(deps): Update ruff to v0.6.5 (OSGeo#4315)
* CI(deps): Update ruff to v0.6.5 * style: Fix FURB188: Prefer `removeprefix` over conditionally replacing with slice. Ruff rule: https://docs.astral.sh/ruff/rules/slice-to-remove-prefix-or-suffix/ This is a new rule introduced in ruff 0.6.5 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 560340a - Browse repository at this point
Copy the full SHA 560340aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c126f - Browse repository at this point
Copy the full SHA d7c126fView commit details -
r.clump: Fix unchecked return value from lseek (OSGeo#4151)
This change addresses an issue identified by Coverity Scan (CID : 1415709) [unchecked return value from library]. The checks are added for lseek usages using an error message already used in the library. --------- Co-authored-by: Edouard Choinière <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c27080 - Browse repository at this point
Copy the full SHA 7c27080View commit details -
v.to.3d: Fix Resource Leak Issue in trans2.c (OSGeo#4320)
* Handling Resource Leak * Resource Leak
Configuration menu - View commit details
-
Copy full SHA for fdcd8d8 - Browse repository at this point
Copy the full SHA fdcd8d8View commit details -
r.viewshed: initialize struct member before using struct (OSGeo#4232)
* r.viewshed: initialize struct member before using struct This was reported by cppcheck tool. Technically, we are not using the member in the struct variable in any of the subsequent functions, but it's a good practice to initialize all the struct members whenever possible. Signed-off-by: Mohan Yelugoti <[email protected]> * Use right literal while initializing angle Signed-off-by: Mohan Yelugoti <[email protected]> --------- Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c840f3c - Browse repository at this point
Copy the full SHA c840f3cView commit details -
i.rectify: Fix copy into fixed size buffer issue in main.c of i.recti…
…fy module (OSGeo#4299) * Copy into fix size buffer issue * removed variable Len * Update imagery/i.rectify/main.c Co-authored-by: Nicklas Larsson <[email protected]> --------- Co-authored-by: Shubham Vasudeo Desai <[email protected]> Co-authored-by: Shubham Vasudeo Desai <[email protected]> Co-authored-by: Nicklas Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95c123d - Browse repository at this point
Copy the full SHA 95c123dView commit details
Commits on Sep 17, 2024
-
i.segment: Move unused variable value into a code comment (OSGeo#4153)
* remove unused variable * Specify old ideas in the comment explicitly --------- Co-authored-by: Vaclav Petras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 826ab62 - Browse repository at this point
Copy the full SHA 826ab62View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0486dd - Browse repository at this point
Copy the full SHA a0486ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 083fc21 - Browse repository at this point
Copy the full SHA 083fc21View commit details -
docs: update and cleanup of infrastructure.md (OSGeo#4294)
- various minor updates - removal of GRASS Travis CI section
Configuration menu - View commit details
-
Copy full SHA for df714ec - Browse repository at this point
Copy the full SHA df714ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for a816dc1 - Browse repository at this point
Copy the full SHA a816dc1View commit details -
t.rast.univar: Use pathlib Path.read_text to open test outputs in t.r…
…ast.univar and t.rast3d.univar (OSGeo#4334)
Configuration menu - View commit details
-
Copy full SHA for 5d6a2e8 - Browse repository at this point
Copy the full SHA 5d6a2e8View commit details -
docs: update outdated trac URLs to GitHub (OSGeo#4317)
Several documents and files contain references to documents on https://trac.osgeo.org/grass/wiki/ while newer versions exist in GitHub. This PR updates a series of URLs and drops the outdated files `CHANGES` and `NEWS`. Additionally, some minor markdown fixes.
Configuration menu - View commit details
-
Copy full SHA for 5e47e41 - Browse repository at this point
Copy the full SHA 5e47e41View commit details -
grass.temporal.abstract_space_time_dataset: Use Path.read_text() to l…
…oad SQL template files (OSGeo#4335) grass.temporal.abstract_space_time_dataset: Use Path.read_text() to load SQL template files Fixes ResourceWarnings about unclosed files, fixing ruff SIM115 at the same time. These 4 places were opening a file and reading it completely in the same line, but never closed explicitly the file, nor used a context manager that would kick in as much as possible on errors inside the calls.
Configuration menu - View commit details
-
Copy full SHA for 3bc6e95 - Browse repository at this point
Copy the full SHA 3bc6e95View commit details
Commits on Sep 18, 2024
-
lib/gis: match prototype with declaration for G_strlcat and G_strlcpy (…
…OSGeo#4332) Make local implementations of strlcpy() and strlcat() optimizable by using restrict type qualifier, while keeping public API for G_strlcat and G_strlcpy available to C++ code and having identical prototype and declaration.
Configuration menu - View commit details
-
Copy full SHA for da15442 - Browse repository at this point
Copy the full SHA da15442View commit details -
grass.gunittest: Fix parsing exclusion from config file on Windows (O…
…SGeo#4324) * grass.gunittest: Ensure file list exists before processing exclusions * grass.gunittest: Use pathlib.Path to handle test files across platforms * grass.gunittest: Use pathlib.PurePath instead of concrete pathlib.Path * grass.gunittest: Also use pathlib.PurePath for patterns * grass.gunittest: Simplify pathlib filtering using a set comprehension * grass.gunittest: Add typing to fnmatch_exclude_with_base signature * style: Sort imports with isort * Add Edouard Choinière (echoix) to the authors * Fix typo in comment * grass.gunittest: Filter file list respecting all three filter arguments if specified * grass.gunittest: Change set comprehension variable name
Configuration menu - View commit details
-
Copy full SHA for 9420d00 - Browse repository at this point
Copy the full SHA 9420d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0536351 - Browse repository at this point
Copy the full SHA 0536351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f8f676 - Browse repository at this point
Copy the full SHA 4f8f676View commit details -
grass.gunittest: Fix SIM115 using context managers to open files (OSG…
…eo#4338) * grass.gunittest: Use a context manager for opening htmldiff_file * grass.gunittest: Specify encoding for writing htmldiff_file * grass.gunittest: Write all lines of htmldiff_file at once * grass.gunittest: Use Path.write_text() to write htmldiff_file * grass.gunittest: Use a context manager for opening actual and reference files (SIM115) * grass.gunittest: Use a context manager for output StringIO in case.py * grass.gunittest: Use a context manager for opening files (SIM115) In function replace_in_file of reporters.py * grass.gunittest: Use a context manager for opening files (SIM115) In function wrap_stdstream_to_html of reporters.py * grass.gunittest: Use a context manager for opening files (SIM115) In function report_for_dirs of reporters.py. Reordered so string creation ends up together outside the context manger where the file is written. * grass.gunittest: Use a context manager for opening files (SIM115) In function end_file_test of class GrassTestFilesHtmlReporter of reporters.py. Reordered so string creation ends up together outside the context manger where the strings are written to the file. * grass.gunittest: Use a context manager for opening files (SIM115) In function report_for_dir of class TestsuiteDirReporter of reporters.py * grass.gunittest: Ignore remaining two SIM115 in reporters.py * grass.gunittest: Use a context manager for opening files in multireport (SIM115) * style: Enable checking of SIM115
Configuration menu - View commit details
-
Copy full SHA for dc27b28 - Browse repository at this point
Copy the full SHA dc27b28View commit details
Commits on Sep 19, 2024
-
CI(deps): Update peter-evans/create-pull-request action to v7.0.5 (OS…
…Geo#4339) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b69cacf - Browse repository at this point
Copy the full SHA b69cacfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05584c1 - Browse repository at this point
Copy the full SHA 05584c1View commit details -
v.in.dwg: Retire v.in.dwg infavor of v.in.redwg (OSGeo#4329)
v.in.dwg is linked to proprietary library 'OpenDWG toolkit'. One needs to become a member of OpenDWG Alliance to get the needed libraries and headers in order to compile this tool. However, OpenDWG webpage went offline around 2011 and we have 'v.in.redwg' as replacement for it (available in grass-addons). Hence retire 'v.in.dwg' tool. Besides the tool, this completely removes OpenDWG from configure.ac and platform. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dc46cd - Browse repository at this point
Copy the full SHA 7dc46cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a536bd4 - Browse repository at this point
Copy the full SHA a536bd4View commit details -
lib/gmath: use C interface to BLAS and LAPACK libraries (OSGeo#4247)
Replace outdated direct use of Fortran libraries via g2c.h, f2c.h or private prototypes, with the C interface API and libraries CBLAS and LAPACKE. This simplifies our own code and makes it easier to maintain and expand. Configure is simplified to use pkg-config to retrieve INC and LIB info. `--with-blas` defaults to `--with-blas=cblas` where "cblas" is the pkg-config package name; `---with-lapack` defaults to `--with-lapack=lapacke`. If the default fails the test a list of package names are tested: - BLAS package names tested: cblas blas-netlib openblas blas-atlas - LAPACKE package name tested: lapacke openblas - CI(Linux): replace libopenblas-dev with liblapacke-dev dependency - CI(macOS): replace blas and lapack with openblas dependency - CI(Windows): replace lapack with openblas dependency
Configuration menu - View commit details
-
Copy full SHA for d5bb442 - Browse repository at this point
Copy the full SHA d5bb442View commit details -
docs: move Programmer's manual creation to INSTALL.md (OSGeo#4336)
- move Programmer's manual creation from `doc/development/README.md` to `INSTALL.md`. update `doc/development/README.md` - add Python API; add subsections - update URLs and wording - list guides - remove stray control chars (visible in vim) in `doc/development/style_guide.md`
Configuration menu - View commit details
-
Copy full SHA for 89cfc52 - Browse repository at this point
Copy the full SHA 89cfc52View commit details -
configure: fix default variable name for blas and lapack (OSGeo#4343)
In addition: improve handling of configuration with LAPACK without BLAS
Configuration menu - View commit details
-
Copy full SHA for a94c3b0 - Browse repository at this point
Copy the full SHA a94c3b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fd45e4 - Browse repository at this point
Copy the full SHA 5fd45e4View commit details -
v.cluster: Fix unused value assignment (OSGeo#4094)
Removes the lines with unused assignments with 90%. The variable eps 90% value got overwritten. The used 99% confidence interval is mentioned in the documentation. Fixes the issue identified by Coverity Scan (CID: 1270389).
Configuration menu - View commit details
-
Copy full SHA for 333d8e6 - Browse repository at this point
Copy the full SHA 333d8e6View commit details -
CI(macOS): Cache micromamba environment on same week (OSGeo#4342)
* CI(macOS): Cache micromamba environment on same day * Use year and week of year for cache key date segment * Update macos.yml Co-authored-by: Vaclav Petras <[email protected]> --------- Co-authored-by: Vaclav Petras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6607e1c - Browse repository at this point
Copy the full SHA 6607e1cView commit details -
style: Bump Black's target Python versions for Python 3.9 minimum (OS…
…Geo#4347) * style: Bump Black's target Python versions * style: Format with new Black settings
Configuration menu - View commit details
-
Copy full SHA for 51f865b - Browse repository at this point
Copy the full SHA 51f865bView commit details -
style: Call
startswith
orendswith
once with atuple
(PIE810) (O……SGeo#4348) style: Call `startswith` once with a `tuple` (PIE810) Ruff rule: https://docs.astral.sh/ruff/rules/multiple-starts-ends-with/
Configuration menu - View commit details
-
Copy full SHA for 75458f8 - Browse repository at this point
Copy the full SHA 75458f8View commit details
Commits on Sep 20, 2024
-
wxGUI/history: fix the run of a special cmds only once (OSGeo#4322)
After left double mouse click on the wxGUI history tab tree cmd node. Special cmds are: ``` r"^d\..*|^r[3]?\.mapcalc$|^i.group$|^r.import$|^r.external$|^r.external.out$|" r"^v.import$|^v.external$|^v.external.out$" ```
Configuration menu - View commit details
-
Copy full SHA for 4bb3156 - Browse repository at this point
Copy the full SHA 4bb3156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64deef2 - Browse repository at this point
Copy the full SHA 64deef2View commit details -
CI(OSGeo4W): Use setup-OSGeo4W action to parametrize install options (O…
…SGeo#4290) * CI(OSGeo4W): Use setup-OSGeo4W action to parametrize instal options * Remon extra double quote * Remove unnecessary space in OSGeo4W workflow file * CI: Multiline sorted OSGeo4W package list
Configuration menu - View commit details
-
Copy full SHA for 6bc69e3 - Browse repository at this point
Copy the full SHA 6bc69e3View commit details -
lib/gmath: rename ATLAS_wrapper to CBLAS_wrapper (OSGeo#4351)
Rename file to reflect changes made with OSGeo@d5bb442
Configuration menu - View commit details
-
Copy full SHA for bf41fc7 - Browse repository at this point
Copy the full SHA bf41fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4424ab - Browse repository at this point
Copy the full SHA c4424abView commit details
Commits on Sep 21, 2024
-
doc: Fix most Flake8 issues in example files (OSGeo#4353)
This addresses F403 and F405. These are mostly related to wild card imports. This does not touch max line length issue with long tool description documentation line (current format limitation).
Configuration menu - View commit details
-
Copy full SHA for 2356520 - Browse repository at this point
Copy the full SHA 2356520View commit details -
g.proj: Fix copy into fixed size buffer issue in input.c file (OSGeo#…
…4359) Co-authored-by: Shubham Vasudeo Desai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d89ad9e - Browse repository at this point
Copy the full SHA d89ad9eView commit details -
CI(deps): Update ruff to v0.6.7 (OSGeo#4360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 93781e5 - Browse repository at this point
Copy the full SHA 93781e5View commit details -
tests: Re-enable passing tests from .gunittest.cfg exclusion list (OS…
…Geo#4358) * tests: Re-enable passing tests from .gunittest.cfg exclusion list * tests: Re-enable all macOS excluded tests that are passing * tests: Exclude back tests that are failing on macOS
Configuration menu - View commit details
-
Copy full SHA for 5aed1a6 - Browse repository at this point
Copy the full SHA 5aed1a6View commit details -
checks: Move imports to the top in wxGUI/core (OSGeo#4357)
Moves imports to the top to fix Flake8 E402 warning for wxGUI/core. Also orders ignores alphabetically.
Configuration menu - View commit details
-
Copy full SHA for 0c1e79b - Browse repository at this point
Copy the full SHA 0c1e79bView commit details
Commits on Sep 22, 2024
-
tests: Add
xfail_windows
decorator for failing tests on Windows (OS……Geo#4362) * grass.gunittest: Add xfail_windows decorator for Windows expected failures * lib/imagery: Add xfail_windows decorator to test functions * Fix spacing issue in xfail_windows warning message * Add stacklevel=2 to xfail_windows decorator warning message * Update utils.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Format end of file * Comment out warning in decorator * i.maxlik: Add xfail_windows decorator to SuccessTest class * lib/gis: Add xfail_windows decorator to TestNewlinesWithGetlFunctions class * Update warning stacklevel to 3 * Update utils.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update utils.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update utils.py * tests: Add expected failures to failing tests on windows * tests: Apply xfail_windows decorator to setUpClass in lib/gis getl tests * tests: Apply xfail_windows decorator to parser json tests in lib/gis * tests: Apply xfail_windows decorator to failing test in lib/imagery * Remove wrong import of xfail_windows * tests: Temporarily remove all gunittest exclusions * tests: Apply xfail_windows decorator to failing test in test_gcmd.py * tests: Apply xfail_windows decorator to failing test in lib/init in test_grass_tmp_mapset.py * CI(OSGeo4W): Use an OSGeo4W-specific gunittest.cfg config file * Revert "tests: Temporarily remove all gunittest exclusions" This reverts commit 20eb947. * v.out.lidar: Apply xfail_windows decorator to one failing test * t.rast.series: Apply xfail_windows decorator to failing tests * t.connect: Apply xfail_windows decorator to three failing tests * g.search.modules: Apply xfail_windows decorator to a failing test * grass.temporal: Apply xfail_windows decorator to failing tests in unittests_temporal_raster_algebra_equal_ts * grass.gunittest: Apply xfail_windows decorator to failing test test_assertVectorEqualsAscii_by_import * tests: Re-enable excluded tests that are not failing on Windows * tests: Re-enable passing tests from .gunittest.cfg exclusion list * Update test_gis_lib_getl.py * Update test_raster_img.py * tests: Try re-enabling python/grass/script/testsuite/test_script_doctests.py * i.maxlik: Add xfail_windows decorator to all tests in class * tests: Exclude more tests that are failing on Windows * v.univar: Apply xfail_windows decorator to failing tests * t.rast.univar: Apply xfail_windows decorator to a failing test * r.in.gdal: Try avoiding error in calling gdal-config in skipif decorator on Windows * CI(OSGeo4W): Increase min-success to 96% for gunittest * Add line in test_grass_tmp_mapset.py * Update test_r_tileset.py --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7b4a240 - Browse repository at this point
Copy the full SHA 7b4a240View commit details -
grass.temporal: fix regression in printing metadata (OSGeo#4328)
* grass.temporal: fix regression in printing metadata * Update python/grass/temporal/metadata.py Co-authored-by: Stefan Blumentrath <[email protected]> --------- Co-authored-by: Stefan Blumentrath <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d046ec - Browse repository at this point
Copy the full SHA 6d046ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd39db7 - Browse repository at this point
Copy the full SHA bd39db7View commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6325a18 - Browse repository at this point
Copy the full SHA 6325a18View commit details -
checks: Replace bare except (Flake8 E722) in po stats script (OSGeo#4354
) This addresses the PEP8 style error of mentioning specific exceptions (Flake8 E722) by specifying the exception type in the except clause within the writejson function in grass_po_stats.py. Now, bare except is replaced by OSError to catch only OS-related exceptions because os.remove() can raise various OS-related exceptions such as FileNotFoundError or PermissionError. Additionally, it confirms that no other common Flake8 errors (E122, E128, E231, E401) are present in the file by removing the other ignores.
Configuration menu - View commit details
-
Copy full SHA for c32dd52 - Browse repository at this point
Copy the full SHA c32dd52View commit details -
g.version: Add tests covering different outputs (OSGeo#4219)
This adds tests for different outputs of the g.version tool using pytest.
Configuration menu - View commit details
-
Copy full SHA for 25afbfb - Browse repository at this point
Copy the full SHA 25afbfbView commit details -
ps.map: Fix memory leak issue (OSGeo#4369)
This addresses resource leak issue identified by Coverity Scan (CID : 1207906). Uses Vect_destroy_cats_struct() to destroy Cats and avoid the memory leak issue.
Configuration menu - View commit details
-
Copy full SHA for 9e8874c - Browse repository at this point
Copy the full SHA 9e8874cView commit details -
CI(deps): Lock file maintenance (OSGeo#4365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b35b1c3 - Browse repository at this point
Copy the full SHA b35b1c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c266f46 - Browse repository at this point
Copy the full SHA c266f46View commit details
Commits on Sep 24, 2024
-
docker: Add liblapacke-dev package to Ubuntu builds (OSGeo#4371)
Adds liblapacke-dev package that was added to the apt.txt of the grass-addons repo.
Configuration menu - View commit details
-
Copy full SHA for c593eb0 - Browse repository at this point
Copy the full SHA c593eb0View commit details -
grass.jupyter: Fix session tests on Windows (OSGeo#4368)
The interpolated path strings aren't escaped when evaluated, so using a raw string allows C:\Users to not have an invalid \U escape sequence.
Configuration menu - View commit details
-
Copy full SHA for 16de4d3 - Browse repository at this point
Copy the full SHA 16de4d3View commit details -
checks: Replace bare except (Flake8 E722) in wxGUI/core (OSGeo#4367)
This addresses the PEP8 style error E722 by specifying exception types in all bare except clauses found in wxGUI/core. Unclear cases use Exception. --------- Co-authored-by: Vaclav Petras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04cc9ea - Browse repository at this point
Copy the full SHA 04cc9eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac66448 - Browse repository at this point
Copy the full SHA ac66448View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234209a - Browse repository at this point
Copy the full SHA 234209aView commit details -
docker: Sort package lists and configure options in Dockerfiles (OSGe…
…o#4373) * docker: Sort packages and configure options in Ubuntu Dockerfiles * docker: Sort packages and configure options in debian Dockerfile * docker: Sort packages and configure options in Alpine Dockerfile * docker: Sort packages and configure options in Ubuntu wxgui Dockerfile
Configuration menu - View commit details
-
Copy full SHA for 8c671ca - Browse repository at this point
Copy the full SHA 8c671caView commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d99d840 - Browse repository at this point
Copy the full SHA d99d840View commit details -
grass.app: Move mapset locking to the library (OSGeo#4158)
This moves the lock_mapset function to the library. It introduces only small changes to the code, i.e., proper refactoring and de-duplication in relation to the code elsewhere is still needed. However, this unifies the error handling to always raising a custom exception. It also fixes the reported user using the mapset (before always the current user, now, the owner of the lock file; for that, lock file is removed only after getting its owner). This also removes the debug message which I don't find particularly useful, for example it is currently misleading on Windows and it is relatively easy to confirm the actual existence in process manager when debugging. Change message wording to add clarity. Fix translatable message are fixed. Uses format function everywhere. Gets install path (GISBASE) automatically (requires caller to have environment set up which is likely a reasonable requirement at this point). Fixes order of reporting owner and deleting the file. Cleans up order of paths.
Configuration menu - View commit details
-
Copy full SHA for 45a0486 - Browse repository at this point
Copy the full SHA 45a0486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68c7245 - Browse repository at this point
Copy the full SHA 68c7245View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f75c27 - Browse repository at this point
Copy the full SHA 0f75c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8261363 - Browse repository at this point
Copy the full SHA 8261363View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c651c3 - Browse repository at this point
Copy the full SHA 7c651c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c629d - Browse repository at this point
Copy the full SHA 09c629dView commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2098577 - Browse repository at this point
Copy the full SHA 2098577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 845dfd0 - Browse repository at this point
Copy the full SHA 845dfd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b835f4d - Browse repository at this point
Copy the full SHA b835f4dView commit details -
r3.in.v5d: Fix unchecked return value from lseek (OSGeo#4141)
This addresses an issue identified by Coverity Scan (CID: 1207300), where the return value of the lseek function is not checked. Functions return as in other error states after issuing a warning. Small step was taken towards consistency and simplification in another function which uses prints otherwise.
Configuration menu - View commit details
-
Copy full SHA for 549ea90 - Browse repository at this point
Copy the full SHA 549ea90View commit details -
Configuration menu - View commit details
-
Copy full SHA for edea810 - Browse repository at this point
Copy the full SHA edea810View commit details -
checks: Fix E402 Flake8 in for wxGUI Sphinx doc (OSGeo#4391)
This fixes Flake8 E402 (Module level import not at top of file) for Sphinx documentation generator configuration script by removing import path manipulation block which was not properly working anyway.
Configuration menu - View commit details
-
Copy full SHA for c502c1c - Browse repository at this point
Copy the full SHA c502c1cView commit details -
CI(deps): Update ruff to v0.6.8 (OSGeo#4394)
* CI(deps): Update ruff to v0.6.8 * style: Use `kargs.get("layerTree")` instead of `kargs.get("layerTree", None)` (SIM910) * style: Simplify chained boolean comparison * Apply black formatting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4c87ec - Browse repository at this point
Copy the full SHA e4c87ecView commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bcb2938 - Browse repository at this point
Copy the full SHA bcb2938View commit details
Commits on Sep 28, 2024
-
style: Remove misleading author info from wxGUI photo and image code (O…
…SGeo#4403) Just to be clear that I did not create these files, I'm removing my name which was copy-pasted into these files while duplicating the code from somewhere else.
Configuration menu - View commit details
-
Copy full SHA for 7f05bb3 - Browse repository at this point
Copy the full SHA 7f05bb3View commit details -
docs: fixed E265 from image2target/ (OSGeo#4399)
* removed e265 * update .flake8 * removed commented out parser code * removed parser code
Configuration menu - View commit details
-
Copy full SHA for 4f689fe - Browse repository at this point
Copy the full SHA 4f689feView commit details -
Configuration menu - View commit details
-
Copy full SHA for fee26ec - Browse repository at this point
Copy the full SHA fee26ecView commit details -
style: Fix negate-equal-op (SIM201) (OSGeo#4407)
* style: Fix negate-equal-op (SIM201) Ruff rule: https://docs.astral.sh/ruff/rules/negate-equal-op/ * style: Fix repeated-equality-comparison (PLR1714) on changed code
Configuration menu - View commit details
-
Copy full SHA for 49f67fd - Browse repository at this point
Copy the full SHA 49f67fdView commit details -
style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib (…
…OSGeo#4412) * style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib Ruff rule: https://docs.astral.sh/ruff/rules/os-stat/ * Change remaining os.stat() usages * Fix Path join with a string
Configuration menu - View commit details
-
Copy full SHA for 5eca6d6 - Browse repository at this point
Copy the full SHA 5eca6d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ead659f - Browse repository at this point
Copy the full SHA ead659fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f3599 - Browse repository at this point
Copy the full SHA 70f3599View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5e4dd - Browse repository at this point
Copy the full SHA ae5e4ddView commit details -
style: Fix reimplemented-operator (FURB118) (OSGeo#4408)
* style: Fix reimplemented-operator (FURB118) Ruff rule: https://docs.astral.sh/ruff/rules/reimplemented-operator/ Replaced lambdas with `operator.itemgetter()` or `operator.add()`. These are implemented more efficiently in C and have a Python fallback. * utils/g.html2man: Replace children function with operator.itemgetter
Configuration menu - View commit details
-
Copy full SHA for 0ea5e37 - Browse repository at this point
Copy the full SHA 0ea5e37View commit details
Commits on Sep 29, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for 16c87b1 - Browse repository at this point
Copy the full SHA 16c87b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e82663c - Browse repository at this point
Copy the full SHA e82663cView commit details
Commits on Sep 30, 2024
-
raster: Add library function to ask for mask presence (OSGeo#4402)
To avoid asking about presence of the MASK raster, add a library function which checks for presence of the raster hiding its name in the library. Motivation for this is a greater mask abstraction. Some code needs to link to newly raster library (which was previously used transitively).
Configuration menu - View commit details
-
Copy full SHA for 108e5e4 - Browse repository at this point
Copy the full SHA 108e5e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 808acd3 - Browse repository at this point
Copy the full SHA 808acd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e02b921 - Browse repository at this point
Copy the full SHA e02b921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33d0d15 - Browse repository at this point
Copy the full SHA 33d0d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 480e050 - Browse repository at this point
Copy the full SHA 480e050View commit details -
Configuration menu - View commit details
-
Copy full SHA for afbc3ae - Browse repository at this point
Copy the full SHA afbc3aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e427da0 - Browse repository at this point
Copy the full SHA e427da0View commit details
Commits on Oct 1, 2024
-
wxGUI: Fixed F841 in ii2t_manager.py (OSGeo#4418)
* fixed e722 in ii2t_manager * revert * fixed F841 in iit2t_manager.py * removed point from ii2t_mapdisplay * updated BusyInfo to use context manager
Configuration menu - View commit details
-
Copy full SHA for 3e53e34 - Browse repository at this point
Copy the full SHA 3e53e34View commit details -
wxGUI: Fix E722 do not use bare 'except' warnings in
gui_core/
(OSG……eo#4396) * updated 722 from gui_core * updated flake8 * updated ghelp v2 * updated ghelp v3 * Update gui/wxpython/gui_core/dialogs.py Co-authored-by: Anna Petrasova <[email protected]> * removed prints * Update dialogs.py * updated indexerror * updated exception * Update .flake8 * Update .flake8 --------- Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25619dd - Browse repository at this point
Copy the full SHA 25619ddView commit details -
v.generalize: Fix Resource Leak issue in displacement.c (OSGeo#4422)
* fix Resource Leak * fix for points
Configuration menu - View commit details
-
Copy full SHA for 6382949 - Browse repository at this point
Copy the full SHA 6382949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13cda73 - Browse repository at this point
Copy the full SHA 13cda73View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed10037 - Browse repository at this point
Copy the full SHA ed10037View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9768eb - Browse repository at this point
Copy the full SHA e9768ebView commit details -
wxGUI: Fixed E722 in ii2t_gis_set.py (OSGeo#4417)
* fix 722 in iit2t_gis_set * added ii2t-manager * Update ii2t_gis_set.py * Update ii2t_manager.py * Update ii2t_gis_set.py
Configuration menu - View commit details
-
Copy full SHA for 3f61cd7 - Browse repository at this point
Copy the full SHA 3f61cd7View commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61407f0 - Browse repository at this point
Copy the full SHA 61407f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa30424 - Browse repository at this point
Copy the full SHA fa30424View commit details -
wxGUI: Fix F405 error by explicitly importing required modules in isc…
…att/ (OSGeo#4426) * update 405 in core_c * updated flake8 * support explicit imports * ran isort to make sort imports
Configuration menu - View commit details
-
Copy full SHA for 1b639db - Browse repository at this point
Copy the full SHA 1b639dbView commit details -
wxGUI: FIxed F841 is iscatt/core_c.py (OSGeo#4430)
* fixed 841 * updated flake8
Configuration menu - View commit details
-
Copy full SHA for f0a997c - Browse repository at this point
Copy the full SHA f0a997cView commit details
Commits on Oct 3, 2024
-
wxGUI: Fixed F841 in dialogs.py, frame.py (OSGeo#4431)
* fixed 841 * removed dlgSize comments
Configuration menu - View commit details
-
Copy full SHA for aa1c32a - Browse repository at this point
Copy the full SHA aa1c32aView commit details -
v.colors: Fix resource leak issue in scan_attr.c file (OSGeo#4423)
* fix resource leak * close database driver
Configuration menu - View commit details
-
Copy full SHA for a4d3cea - Browse repository at this point
Copy the full SHA a4d3ceaView commit details -
r.fill.dir: Fix unchecked return value in filldir.c (OSGeo#4433)
* fix unchecked value * Update raster/r.fill.dir/filldir.c * G_fatal
Configuration menu - View commit details
-
Copy full SHA for 617828d - Browse repository at this point
Copy the full SHA 617828dView commit details -
r.thin: Fix unchecked return value in io.c (OSGeo#4434)
check return value
Configuration menu - View commit details
-
Copy full SHA for 4bec714 - Browse repository at this point
Copy the full SHA 4bec714View commit details -
Configuration menu - View commit details
-
Copy full SHA for de8a6fd - Browse repository at this point
Copy the full SHA de8a6fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c79a8 - Browse repository at this point
Copy the full SHA d7c79a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b73900 - Browse repository at this point
Copy the full SHA 7b73900View commit details
Commits on Oct 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4e46dc - Browse repository at this point
Copy the full SHA d4e46dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a96c073 - Browse repository at this point
Copy the full SHA a96c073View commit details -
Configuration menu - View commit details
-
Copy full SHA for a186638 - Browse repository at this point
Copy the full SHA a186638View commit details -
Configuration menu - View commit details
-
Copy full SHA for 359a62b - Browse repository at this point
Copy the full SHA 359a62bView commit details -
wxGUI: Fixed F841 in iscatt/ (OSGeo#4432)
* fixed all F841 * updated flake8 * reverted add_callback * Update plots.py
Configuration menu - View commit details
-
Copy full SHA for 7f81c6d - Browse repository at this point
Copy the full SHA 7f81c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f7135 - Browse repository at this point
Copy the full SHA 60f7135View commit details -
style: Fix invalid-escape-sequence (W605) (OSGeo#4409)
* style: Fix invalid-escape-sequence (W605) Ruff rule: https://docs.astral.sh/ruff/rules/invalid-escape-sequence/ * r.in.ascii: Remove test_csv and test_uncommon_delims
Configuration menu - View commit details
-
Copy full SHA for 1e86629 - Browse repository at this point
Copy the full SHA 1e86629View commit details -
wxGUI: Fixed F841 and E266 in lmgr/ (OSGeo#4439)
fixed f841 and e266
Configuration menu - View commit details
-
Copy full SHA for eebf369 - Browse repository at this point
Copy the full SHA eebf369View commit details -
i.atcorr: update man page to fix numbering of AVIRIS bands and make s…
…tyle consistent (OSGeo#4445)
Configuration menu - View commit details
-
Copy full SHA for a16a02f - Browse repository at this point
Copy the full SHA a16a02fView commit details
Commits on Oct 5, 2024
-
style: Fix all remaining
PT
flake8-pytest-style issues (OSGeo#4452)* style: Fix pytest-parametrize-names-wrong-type (PT006) Ruff rule: https://docs.astral.sh/ruff/rules/pytest-parametrize-names-wrong-type/ * style: Fix pytest-composite-assertion (PT018) Ruff rule: https://docs.astral.sh/ruff/rules/pytest-composite-assertion/ * style: Remove unneeded exclusions of pytest rules * style: Fix pytest-incorrect-pytest-import (PT013) Ruff rule: https://docs.astral.sh/ruff/rules/pytest-incorrect-pytest-import/ * Move PT009 exclusion to only exclude on python/grass/gunittest/case.py * grass.script: Ignore pytest-raises-too-broad (PT011) in grass_script_setup_test.py::test_init_session_finish
Configuration menu - View commit details
-
Copy full SHA for 093411b - Browse repository at this point
Copy the full SHA 093411bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5281602 - Browse repository at this point
Copy the full SHA 5281602View commit details -
style: Fix unnecessary-range-start (PIE808) (OSGeo#4455)
As 0 is the default start value, it can be safely omitted. Ruff rule: https://docs.astral.sh/ruff/rules/unnecessary-range-start/
Configuration menu - View commit details
-
Copy full SHA for 209739a - Browse repository at this point
Copy the full SHA 209739aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd9e0a4 - Browse repository at this point
Copy the full SHA cd9e0a4View commit details -
CI(deps): Update pre-commit hook pre-commit/pre-commit-hooks to v5 (O…
…SGeo#4460) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6596d49 - Browse repository at this point
Copy the full SHA 6596d49View commit details
Commits on Oct 7, 2024
-
lib/lidar: Fix resource leak issue in raster.c (OSGeo#4458)
Fix resource leak
Configuration menu - View commit details
-
Copy full SHA for 3932773 - Browse repository at this point
Copy the full SHA 3932773View commit details -
v.reclass: Fix Resource Leak issue in reclass.c (OSGeo#4457)
fix Resource Leak
Configuration menu - View commit details
-
Copy full SHA for aa0b497 - Browse repository at this point
Copy the full SHA aa0b497View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5c4a27 - Browse repository at this point
Copy the full SHA b5c4a27View commit details -
Configuration menu - View commit details
-
Copy full SHA for de39e1c - Browse repository at this point
Copy the full SHA de39e1cView commit details -
style: Fix superfluous-else-return (RET505) (OSGeo#4459)
* style: Fix superfluous-else-return (RET505) Ruff rule: https://docs.astral.sh/ruff/rules/superfluous-else-return/ When there is an if with a return, the next `elif:` or `else:` can be flattened with one less nested level. This kind of early-return pattern is common in C#. Having simpler conditions that return, then the rest of flow continues otherwise * Apply black
Configuration menu - View commit details
-
Copy full SHA for 703d9f8 - Browse repository at this point
Copy the full SHA 703d9f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e5f30e - Browse repository at this point
Copy the full SHA 5e5f30eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ba44c - Browse repository at this point
Copy the full SHA 56ba44cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 368f0eb - Browse repository at this point
Copy the full SHA 368f0ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 573d54a - Browse repository at this point
Copy the full SHA 573d54aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f6a6e4 - Browse repository at this point
Copy the full SHA 3f6a6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ce2a0f - Browse repository at this point
Copy the full SHA 3ce2a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b418733 - Browse repository at this point
Copy the full SHA b418733View commit details
Commits on Oct 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 498676c - Browse repository at this point
Copy the full SHA 498676cView commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cbe2b9e - Browse repository at this point
Copy the full SHA cbe2b9eView commit details -
docs: minor fixes to g.gisenv, i.atcorr, v.centroids, v.overlay, v.ty…
…pe (OSGeo#4484) - g.gisenv.html: add EXAMPLES section (MEMORYMB, NPROCS) - i.atcorr.html: explain missing acronyms - v.centroids.html: start intro with what a centroid means - v.out.svg: fix GRASS_NS URL (fixes OSGeo#4474) - v.overlay figures: colorize selected polygon in yellow color, not grey (sync to v.select) - v.type.html: explain vector object types in intro Note that the v.overlay figures should be redone to improve their quality (in a different PR). Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 400b0df - Browse repository at this point
Copy the full SHA 400b0dfView commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3a95b7a - Browse repository at this point
Copy the full SHA 3a95b7aView commit details -
doc: Use lowercase for 2D raster mask (OSGeo#4401)
On many places (more than covered here), 2D raster mask is called MASK conflating the concept (mask) and the implementation (MASK raster). Users using the r.mask tool may not interact with the underlying raster directly, so there is no reason to use MASK over mask. This is changing MASK to mask and modifies related wording. However, this is also leaving many places as they are with MASK. Some will be better revisited with or after OSGeo#2390 and OSGeo#2392 when a more comprehensive solution is available. This fixes and keeps in sync wording in r.null and r.external, and moves r.circle comment documenting the interface to a flag description.
Configuration menu - View commit details
-
Copy full SHA for b9a6b68 - Browse repository at this point
Copy the full SHA b9a6b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e0a8fa - Browse repository at this point
Copy the full SHA 2e0a8faView commit details -
doc: Ignore F401 in dialogs.py (OSGeo#4488)
dialogs.py has an instance of F401 error for unused import of grass library. However as mentioned in the comment and post discussion with @wenzeslaus I decided it would be better to ignore this error for now in case it breaks any underlying dependencies regarding gettext.install()
Configuration menu - View commit details
-
Copy full SHA for 21606ad - Browse repository at this point
Copy the full SHA 21606adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 426bf74 - Browse repository at this point
Copy the full SHA 426bf74View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbc3ff4 - Browse repository at this point
Copy the full SHA cbc3ff4View commit details -
r.mask.status: Check mask status through a tool and function (OSGeo#2390
) Instead of using low-level test of file existence with hardcoded raster path and name, this offers a new tool to retrieve status of the raster mask. The new r.mask.status tool reports presence or absence of the 2D raster mask and provides additional details about the mask. There is one usage of this now and that's the one for a shell prompt. The prompt no longer relies on testing the file presence with the test program, but uses a GRASS tool to find out. The code goes out of its way to report both mask name (currently always MASK) and the underlying raster name if it is a reclassified (without rewriting the current C API). This is to mimic the existing C functions which are returning the underlying raster if MASK is a reclass. The tool and the new C API function return both preparing a way for using an arbitrary name for the mask while having the option to look at the underlying reclassified raster map.
Configuration menu - View commit details
-
Copy full SHA for 1d42e58 - Browse repository at this point
Copy the full SHA 1d42e58View commit details
Commits on Oct 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0feea31 - Browse repository at this point
Copy the full SHA 0feea31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9df8433 - Browse repository at this point
Copy the full SHA 9df8433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf93d2 - Browse repository at this point
Copy the full SHA 4cf93d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71066f4 - Browse repository at this point
Copy the full SHA 71066f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 542f3b4 - Browse repository at this point
Copy the full SHA 542f3b4View commit details -
v.to.db: Fix Resource Leak issue in areas.c (OSGeo#4498)
* Fix Resource Leak issue * Fix Resource Leak issue
Configuration menu - View commit details
-
Copy full SHA for 779af80 - Browse repository at this point
Copy the full SHA 779af80View commit details -
d.vect: Fix Resource Leak issue in attr.c (OSGeo#4496)
* fix Resource Leak issue * Update display/d.vect/attr.c
Configuration menu - View commit details
-
Copy full SHA for 03675b0 - Browse repository at this point
Copy the full SHA 03675b0View commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3c4aa6d - Browse repository at this point
Copy the full SHA 3c4aa6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb7cbab - Browse repository at this point
Copy the full SHA cb7cbabView commit details -
ps.map: initialize variable contents before using them in get_ll_boun…
…ds (OSGeo#4501) In some situations, when some conditionals fails, we would be assigning uninitialized variables to values, which is undefined behavior. Fix that by assigning a value to the variables. This was found using cppcheck tool. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed02be5 - Browse repository at this point
Copy the full SHA ed02be5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5289ee - Browse repository at this point
Copy the full SHA b5289eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e139a4c - Browse repository at this point
Copy the full SHA e139a4cView commit details -
r.mask.status: fix null pointer dereference and false positive string…
… overflow (OSGeo#4512) Fixes two new issues reported by Coverity Scan: - Handles case of unsuccessful creation of json string - Silences false positive issue for string copy operation to buffer of size GMAPSET_MAX from G_mapset().
Configuration menu - View commit details
-
Copy full SHA for 61b380f - Browse repository at this point
Copy the full SHA 61b380fView commit details -
style: Ignore deprecated PT004 rule (OSGeo#4520)
Ruff rule PT004 is deprecated, so doesn't run with --preview flag, but still appears without the --preview flag. Since the only error won't be fixed, ignore that rule for the time being.
Configuration menu - View commit details
-
Copy full SHA for 761d98a - Browse repository at this point
Copy the full SHA 761d98aView commit details -
pytest: Collect code coverage in multiple workers too (OSGeo#4451)
* pytest: Collect code coverage in multiple workers too * utils: Handle paths that already have a .py extension in coverage_mapper * CI: Set INITIAL_GISBASE and INITIAL_PWD env vars for running pytest with multiple workers * Coverage: Omit gui/wxpython subfolders for now They are not covered at all and take some noticeable time to collect * Coverage: Remove unneeded omit patten for gui/wxpython subfolders
Configuration menu - View commit details
-
Copy full SHA for 3a9059b - Browse repository at this point
Copy the full SHA 3a9059bView commit details -
v.net.timetable: Fix Resource Leak issue in main.c (OSGeo#4508)
* Fix Resource Leak issue * requested changes
Configuration menu - View commit details
-
Copy full SHA for a98691f - Browse repository at this point
Copy the full SHA a98691fView commit details
Commits on Oct 15, 2024
-
v.kernel: Fix resource Leak issue in main.c (OSGeo#4506)
Resource Leak
Configuration menu - View commit details
-
Copy full SHA for f241532 - Browse repository at this point
Copy the full SHA f241532View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5c5ec5 - Browse repository at this point
Copy the full SHA c5c5ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15c5737 - Browse repository at this point
Copy the full SHA 15c5737View commit details -
tests: enable use of md5 bin for checksum in raster_md5test.sh (OSGeo…
…#4527) Makes the script runnable on e.g. BSD platforms, which does not ship with md5sum. In addition fixes shellcheck warnings.
Configuration menu - View commit details
-
Copy full SHA for ca171b7 - Browse repository at this point
Copy the full SHA ca171b7View commit details -
lib/vector/Vlib: always write out topo files in update mode (OSGeo#3459)
* Vlib: always write out topo files in update mode * delete support files only when closing * fix pygrass Vect_close --------- Co-authored-by: Huidae Cho <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7d2ecf - Browse repository at this point
Copy the full SHA f7d2ecfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0c5380 - Browse repository at this point
Copy the full SHA c0c5380View commit details -
doc: Use lowercase for 2D raster mask and other masks (OSGeo#4495)
Similarly to OSGeo#4401, this replaces usage of MASK by mask on additional places. It also improves wording of a warning in i.fft.
Configuration menu - View commit details
-
Copy full SHA for f22c9a2 - Browse repository at this point
Copy the full SHA f22c9a2View commit details -
r3.in.v5d: Prevent integer overflow by changing literal constant type…
… on Cray (OSGeo#4363) When the code is being compiled for CRAY HPC machines, a macro and a function to convert IEEE single precision floating point number to CRAY number are defined. To adjust the base, '16258' constant is being used, which according to C rules (C99, section 6.4.4.1, subsection semantics) fits into an integer. Right shifting that integer, which is of 32 bits, by 48 results in integer overflow. Avoid this by defining the literal constant with the long data type. This comes with an extended discussion in PR OSGeo#4363 and an idea to remove the code completely. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec2bc8a - Browse repository at this point
Copy the full SHA ec2bc8aView commit details -
CI: Assign milestone on merged PRs (OSGeo#4414)
* CI: Create a workflow to assign milestones * Add GH_TOKEN for gh cli * CI: Add GH_REPO for gh cli * CI: View PR from gh cli using html_url * CI: Download and parse version file * CI: Show version file * CI: Download and parse version file using a pipe * Show version file output Clean up * Pipe version file env to head * Rename variables to milestone and title * Edit PR with milestone * Get milestone from gh cli * Add comment on why API call is used for getting milestone * Show if the PR has a milestone set or not * Do not run steps if a milestone is already set * Add pull_request_target closed trigger * Add ref as url parameter * Remove debugging steps * CI: Handle RC followed by numbers in sed pattern replacement
Configuration menu - View commit details
-
Copy full SHA for 1adbd2c - Browse repository at this point
Copy the full SHA 1adbd2cView commit details -
tests: Revise content of the root testsuite dir (OSGeo#4516)
* Remove Makefiles. * Move the functioning test to the testsuite directory for the gunittest to pick it up. * Remove the extended example how to run gunittest. Point to the CI in the README instead. * Remove hemisphere generator because it does not test anything by itself (without further processing and a human). * Remove GPS import tests as the tools are not in core. * Remove division into subdirectories. The directories with the code should be used instead. * Improve the test for gunittest loader function with some duplication but now creating an overview of .py and .sh tests.
Configuration menu - View commit details
-
Copy full SHA for 9a79aa4 - Browse repository at this point
Copy the full SHA 9a79aa4View commit details -
doc: Use lowercase for mask (OSGeo#4529)
Again, use lowercase mask and other wording instead of MASK when talking about masking, similar to OSGeo#4401 and OSGeo#4495. It also adjusts the wording in r.topidx and i.segment.
Configuration menu - View commit details
-
Copy full SHA for bc9cb2a - Browse repository at this point
Copy the full SHA bc9cb2aView commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2415894 - Browse repository at this point
Copy the full SHA 2415894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 362bee3 - Browse repository at this point
Copy the full SHA 362bee3View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 39ff021 - Browse repository at this point
Copy the full SHA 39ff021View commit details -
Configuration menu - View commit details
-
Copy full SHA for a740da1 - Browse repository at this point
Copy the full SHA a740da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e8b0bf - Browse repository at this point
Copy the full SHA 4e8b0bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 941b52f - Browse repository at this point
Copy the full SHA 941b52fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd347b9 - Browse repository at this point
Copy the full SHA fd347b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for daee989 - Browse repository at this point
Copy the full SHA daee989View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0adc4dc - Browse repository at this point
Copy the full SHA 0adc4dcView commit details -
nix: Fix locales in development environment (OSGeo#4540)
This fixes locales in nix provided development environment by setting environment variable. Closes OSGeo#4503
Configuration menu - View commit details
-
Copy full SHA for e540efc - Browse repository at this point
Copy the full SHA e540efcView commit details -
docs: add intro text to imageryintro.html (OSGeo#4536)
This PR adds an overview text to imageryintro.html including a link to addons. (aside, addons URL fix in g.gui.gmodeler.html) Co-authored-by: Nicklas Larsson <[email protected]> Co-authored-by: Vaclav Petras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9dbc8c9 - Browse repository at this point
Copy the full SHA 9dbc8c9View commit details -
GUI: EPSG code source: replace epsg.io with spatialreference.org (OSG…
…eo#4535) As epsg.io is partially outdated (see [source](maptiler/epsg.io#171) and related) and PROJ is our engine anyway, this PR switches the references in the GUI to https://spatialreference.org. * "See also" section: added URLs to CRS Explorer and EPSG Geodetic Parameter Dataset Co-authored-by: Vaclav Petras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37d4082 - Browse repository at this point
Copy the full SHA 37d4082View commit details
Commits on Oct 18, 2024
-
CI(deps): Update ruff to v0.7.0 (OSGeo#4544)
* CI(deps): Update ruff to v0.7.0 * style: Fix FURB156: Use of hardcoded string charset --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c67825 - Browse repository at this point
Copy the full SHA 3c67825View commit details -
i.atcorr: fix out of bound access in trunca, os and iso (OSGeo#4493)
* i.atcorr: fix out of bound access in trunca, os and iso In trunca(), under 2 if conditionals (if rumu[1] > 0.8 and rmu[1] > 0.94), k and kk values are set to -1 respectively. When these values are used to access an array, it leads to out of bound access, which is undefined behavior in c++. Similarly in os() and iso(), if `taup < h[i]` for all values, iplane would still be -1 and we would be accessing an array with this as an index, which is undefined behavior. In both cases, to avoid that, set that index to zero. This was found using cppcheck tool. Signed-off-by: Mohan Yelugoti <[email protected]> * Update imagery/i.atcorr/computations.cpp When plane layer couldn't be determined, throw out an error and exit. Co-authored-by: Markus Metz <[email protected]> * Update imagery/i.atcorr/computations.cpp When plane layer couldn't be determined, throw out an error and exit. Co-authored-by: Markus Metz <[email protected]> * Fix clang-format issues Signed-off-by: Mohan Yelugoti <[email protected]> --------- Signed-off-by: Mohan Yelugoti <[email protected]> Co-authored-by: Markus Metz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d788eee - Browse repository at this point
Copy the full SHA d788eeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb20eb - Browse repository at this point
Copy the full SHA 0cb20ebView commit details -
tests: Call t.remove and g.remove once with multiple inputs as list (O…
…SGeo#4523) * t.rast.accumulate: Call t.remove with multiple inputs in test_accumulation * t.rast.accdetect: Call t.remove with multiple inputs * t.rast.univar: Call t.remove once with multiple inputs * tests: Call g.remove once with multiple names to remove One call per type, when all other arguments are the same * benchmark: Call g.remove once with multiple names to remove One call per type, when all other arguments are the same * utils/thumbnails: Call g.remove once with multiple names to remove * Use tuple for supplying multiple input maps
Configuration menu - View commit details
-
Copy full SHA for 6fd21a8 - Browse repository at this point
Copy the full SHA 6fd21a8View commit details -
gui: Add fix for wxGUI Data import Python error (OSGeo#4504)
This fixes OSGeo#648 by adding a command tracker queue. When the queue is not empty, closing the dialog is prevented to ensure the completion callback can still access UI elements.
Configuration menu - View commit details
-
Copy full SHA for 62b001b - Browse repository at this point
Copy the full SHA 62b001bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cff700 - Browse repository at this point
Copy the full SHA 5cff700View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0ad5f - Browse repository at this point
Copy the full SHA 2a0ad5fView commit details
Commits on Oct 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1a803b4 - Browse repository at this point
Copy the full SHA 1a803b4View commit details
Commits on Oct 20, 2024
-
style: Enable checking for pep8-naming (N) rules with ruff, fix N804,…
… N805 and N813 (OSGeo#4556) * style: Enable checking for pep8-naming (N) rules with Ruff Rules already respected: - dunder-function-name (N807) - constant-imported-as-non-constant (N811) - camelcase-imported-as-acronym (N817) * style: Fix invalid-first-argument-name-for-class-method (N804) Ruff rule: https://docs.astral.sh/ruff/rules/invalid-first-argument-name-for-class-method/ Two files had class methods that didn't use cls as their first argument * style: Fix camelcase-imported-as-lowercase (N813) Ruff rule: https://docs.astral.sh/ruff/rules/camelcase-imported-as-lowercase/ One instance only in a pytest file * style: Fix invalid-first-argument-name-for-method (N805) Ruff rule: https://docs.astral.sh/ruff/rules/invalid-first-argument-name-for-method/ Three instances in gui/wxpython/mapswipe/frame.py were ignored, as an inner class is defined using self2 and also references self from the containing class.
Configuration menu - View commit details
-
Copy full SHA for 7fbaa7e - Browse repository at this point
Copy the full SHA 7fbaa7eView commit details -
style: Fix multi-value-repeated-key-literal (F601) (Pylint W0109) (OS…
Configuration menu - View commit details
-
Copy full SHA for 884fc6f - Browse repository at this point
Copy the full SHA 884fc6fView commit details -
style: Fix if-else-block-instead-of-dict-get (SIM401) (OSGeo#4558)
Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-dict-get/ Python docs: https://docs.python.org/3/library/stdtypes.html#dict.get The get method never raises a KeyError.
Configuration menu - View commit details
-
Copy full SHA for 32723e0 - Browse repository at this point
Copy the full SHA 32723e0View commit details -
style: Enable checking for E ruff rules from pycodestyle, fixing simp…
…le issues (OSGeo#4560) * style: Fix missing-whitespace (E231) * style: Fix mixed-spaces-and-tabs (E101) Ruff rule: https://docs.astral.sh/ruff/rules/mixed-spaces-and-tabs/ * style: Enable checking for E ruff rules from pycodestyle * style: Fix multiple-leading-hashes-for-block-comment (E266) Ruff rule: https://docs.astral.sh/ruff/rules/multiple-leading-hashes-for-block-comment/ For gui/wxpython/psmap/frame.py, the commented code was present since it was moved from addons to the main repo 13 years ago. At the time, both pair of lines had the same indentation, before PEP8 only formatted the second lines. File temporal/t.rast.what/t.rast.what.py is ignored for E265 and E266, as it is being addressed in OSGeo#4550
Configuration menu - View commit details
-
Copy full SHA for e523163 - Browse repository at this point
Copy the full SHA e523163View commit details -
style: Fix if-else-block-instead-of-if-exp (SIM108) (part 1) (OSGeo#4561
) Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp Since the amount of changes for SIM108 are quite large, (more than 330), I've decided to split the fixes in more than 1 PR. I kept `scripts/*`, `python/*` and `gui/*` in other PRs. To avoid conflicts, I didn't commit the modified `pyproject.toml`, nor extra typing annotations that I used to help guiding and validating these fixes. * style: Fix if-else-block-instead-of-if-exp (SIM108) in utils/ * style: Fix if-else-block-instead-of-if-exp (SIM108) in lib/init/grass.py * style: Fix if-else-block-instead-of-if-exp (SIM108) in doc/ * style: Fix if-else-block-instead-of-if-exp (SIM108) in man/build_html.py * style: Fix if-else-block-instead-of-if-exp (SIM108) in temporal/ * style: Manual fixes of if-else-block-instead-of-if-exp (SIM108) in temporal/
Configuration menu - View commit details
-
Copy full SHA for 870343f - Browse repository at this point
Copy the full SHA 870343fView commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5d4f7fb - Browse repository at this point
Copy the full SHA 5d4f7fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24b398a - Browse repository at this point
Copy the full SHA 24b398aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 690534d - Browse repository at this point
Copy the full SHA 690534dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15134e1 - Browse repository at this point
Copy the full SHA 15134e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4786e1 - Browse repository at this point
Copy the full SHA a4786e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d699d5 - Browse repository at this point
Copy the full SHA 9d699d5View commit details -
style: Fix if-else-block-instead-of-if-exp (SIM108) (part 2) (OSGeo#4562
) * style: Fix if-else-block-instead-of-if-exp (SIM108) in scripts/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * style: Fix if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * checks: Rename inner variable shadowing type to _type in python/grass/temporal/gui_support.py * style: Manual fixes for if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp
Configuration menu - View commit details
-
Copy full SHA for 67a1609 - Browse repository at this point
Copy the full SHA 67a1609View commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af55fa7 - Browse repository at this point
Copy the full SHA af55fa7View commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5c42cf - Browse repository at this point
Copy the full SHA c5c42cfView commit details -
wxGUI: Fixed F841 in photo2image/ (OSGeo#4573)
* fixed 841 * fixed busyInfo
Configuration menu - View commit details
-
Copy full SHA for 2575783 - Browse repository at this point
Copy the full SHA 2575783View commit details -
lib/db: Remove deprecated implementation of db_get_login() and replac…
…e it with that of db_get_login2() (OSGeo#4302) `db_get_login()` is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of the currently preferred `db_get_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature. Modify `db_get_login2()` to internally call `db_get_login()` function call. In the next major version, `db_get_login2()` should be removed to have only one method to get login details for simplicity. See also OSGeo#4308. --------- Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a05ed29 - Browse repository at this point
Copy the full SHA a05ed29View commit details -
lib/db: Remove deprecated implementation of db_set_login() and replac…
…e it with that of db_set_login2() (OSGeo#4308) `db_set_login()` is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of the currently preferred `db_set_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature. Modify `db_set_login2()` to internally call `db_set_login()` function call. In the next major version, `db_set_login2()` should be removed to have only one method to get login details for simplicity. See also OSGeo#4308. --------- Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 930d59a - Browse repository at this point
Copy the full SHA 930d59aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cd6870 - Browse repository at this point
Copy the full SHA 5cd6870View commit details -
style: Fix unused-import (F401) (OSGeo#4521)
* t.rast.accumulate: Remove unused SimpleModule import in test_accumulation * temporal: Fix unused-import (F401) in testsuite * grass.temporal: Fix unused-import (F401) * grass.benchmark: Fix unused-import (F401) by defining __all__ * grass.pygrass.vector: Fix unused-import (F401) for testsuite * grass.pygrass.vector: Sort imports * vector: Fix unused-import (F401) for testsuite * scripts: Fix unused-import (F401) for testsuite * raster: Fix unused-import (F401) for testsuite * v.fill.holes: Fix unused-import (F401) * doc: Fix unused-import (F401) * grass.semantic_label: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.rpc: Fix unused-import (F401) in __init__ * grass.pygrass.modules.interface: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.modules.interface: Apply isort * grass.pygrass.modules.grid: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.modules: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.modules: Apply isort * grass.imaging: Fix unused-import (F401) by defining __all__ in __init__ * grass.imaging: Apply isort * grass.jupyter: Fix unused-import (F401) by defining __all__ in __init__ * grass.jupyter: Apply isort * pygrass: Ignore F401 (unused imports) Ignored inline where the import is justified and isn't to fix later, and ignored in a per-file exclusion where the imports seemed to be for commented-out test case lines * lib/gis: Fix F401 unused platform import in test_gis_lib_getl * grass.script: Ignore F401 in `__init__.py` for setup import * style: Remove exclusion for F401 ruff rule * style: Remove unneeded flake8 exclusions for F401 * Apply suggestions from code review
Configuration menu - View commit details
-
Copy full SHA for 533070d - Browse repository at this point
Copy the full SHA 533070dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0582709 - Browse repository at this point
Copy the full SHA 0582709View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d7b331 - Browse repository at this point
Copy the full SHA 3d7b331View commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc0fb73 - Browse repository at this point
Copy the full SHA cc0fb73View commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0860b87 - Browse repository at this point
Copy the full SHA 0860b87View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbe66e4 - Browse repository at this point
Copy the full SHA bbe66e4View commit details -
tests: Add regression test for r.his (OSGeo#4572)
* Add tests to r.his * Add assertRasterFitsUnivar * Update assertRasterFitsUnivar * Add g.region to make r.univar values consistent * Update raster/r.his/testsuite/test_r_his.py Apply the suggestion. Co-authored-by: Anna Petrasova <[email protected]> * Update raster/r.his/testsuite/test_r_his.py Apply the suggestion. Co-authored-by: Anna Petrasova <[email protected]> * Update raster/r.his/testsuite/test_r_his.py Black styling --------- Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6514ca - Browse repository at this point
Copy the full SHA b6514caView commit details -
manual: mention raster semantic labels and multiple http/https fixes (O…
…SGeo#4591) * r.support/i.band.library/r.semantic.label: better mention raster semantic labels * v.db.reconnect.all: add missing keywords * URLs: selectively change http to https; fix a few broken URLs
Configuration menu - View commit details
-
Copy full SHA for 5b94314 - Browse repository at this point
Copy the full SHA 5b94314View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86693f6 - Browse repository at this point
Copy the full SHA 86693f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a04b64 - Browse repository at this point
Copy the full SHA 1a04b64View commit details -
style: Fix if-else-block-instead-of-if-exp (SIM108) (part 3) (OSGeo#4570
) * style: Fix if-else-block-instead-of-if-exp (SIM108) in scripts/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * style: Fix if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * checks: Rename inner variable shadowing type to _type in python/grass/temporal/gui_support.py * style: Manual fixes for if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * style: Fix if-else-block-instead-of-if-exp (SIM108) in gui/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * checks: Rename inner variable shadowing list to _list in gui/wxpython/core/render.py * style: Manual fixes for if-else-block-instead-of-if-exp (SIM108) in gui/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * python: Add type annotations for grass.script.core.parser() * python: Add type annotations for is_time_absolute() and is_time_relative() in grass.temporal.AbstractDataset * style: Enable Checking for SIM108 * Update pyproject.toml to remove fixed issues * Update base.py Co-authored-by: Anna Petrasova <[email protected]> --------- Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e1e85d - Browse repository at this point
Copy the full SHA 9e1e85dView commit details
Commits on Oct 26, 2024
-
wxGUI: Reverted unused variable fix in wxgui/ (OSGeo#4595)
Seems to break 3D view
Configuration menu - View commit details
-
Copy full SHA for ac49177 - Browse repository at this point
Copy the full SHA ac49177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 652a2f8 - Browse repository at this point
Copy the full SHA 652a2f8View commit details -
lib/iostream: Remove redundant template parameters (OSGeo#4586)
In C++20, repeating template parameter names with the name of the class is no longer allowed as it is redundant (https://cplusplus.github.io/CWG/issues/2237.html). The new code is valid also in C++17, but the old code is not accepted in C++20.
Configuration menu - View commit details
-
Copy full SHA for 5af22b2 - Browse repository at this point
Copy the full SHA 5af22b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4616b9d - Browse repository at this point
Copy the full SHA 4616b9dView commit details
Commits on Oct 27, 2024
-
style: Fix superfluous-else rules for raise, continue and break (RET5…
…06, RET507, RET508) (OSGeo#4565)
Configuration menu - View commit details
-
Copy full SHA for 7910777 - Browse repository at this point
Copy the full SHA 7910777View commit details -
temporal: Add precise typing overloads to dataset_factory (OSGeo#4600)
* temporal: Add precise typing overloads to dataset_factory This enables type checkers like mypy or Pyright to understand the returned class from the string passed as the type argument * temporal: Add typing overloads to dataset_factory * temporal: Add dataset_factory implementation with str type for type argument * temporal: Remove dataset_factory overload that listed all literal types * temporal: Update dataset_factory file header * temporal: Add dataset_factory overload with str type for type argument * temporal: Accept None for id argument in dataset_factory overload as used in existing calls
Configuration menu - View commit details
-
Copy full SHA for ffcb9e1 - Browse repository at this point
Copy the full SHA ffcb9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84afcf4 - Browse repository at this point
Copy the full SHA 84afcf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 937b2f4 - Browse repository at this point
Copy the full SHA 937b2f4View commit details
Commits on Oct 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7d101ed - Browse repository at this point
Copy the full SHA 7d101edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24469d8 - Browse repository at this point
Copy the full SHA 24469d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bceb98 - Browse repository at this point
Copy the full SHA 6bceb98View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a543a - Browse repository at this point
Copy the full SHA b9a543aView commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 94034a3 - Browse repository at this point
Copy the full SHA 94034a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba809db - Browse repository at this point
Copy the full SHA ba809dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6fd110 - Browse repository at this point
Copy the full SHA e6fd110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e5643d - Browse repository at this point
Copy the full SHA 6e5643dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8649713 - Browse repository at this point
Copy the full SHA 8649713View commit details
Commits on Oct 30, 2024
-
v.unpack: Fixed bare 'except' (OSGeo#4616)
* updated E722 * updated .flake8 * Update v.unpack.py
Configuration menu - View commit details
-
Copy full SHA for 9be02ee - Browse repository at this point
Copy the full SHA 9be02eeView commit details -
wxGUI: Fixed bare 'except' in nviz/ (OSGeo#4613)
* updated E722 * updates * updates --------- Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9581ca1 - Browse repository at this point
Copy the full SHA 9581ca1View commit details -
lib/ogsf: Dereference after null check in gvl2.c (OSGeo#4588)
Dereference after null check
Configuration menu - View commit details
-
Copy full SHA for 528763f - Browse repository at this point
Copy the full SHA 528763fView commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 00f51c9 - Browse repository at this point
Copy the full SHA 00f51c9View commit details -
r.mask.status: Always output name of the mask (OSGeo#4531)
For both active and inactive raster mask, show the name of the raster which is used (or would be used) for the mask. This will allow tools like r.mask or GUI to do lower-level operations with or around mask without a need to know about defaults or user mechanism to change the name. I'm repurposing the existing 'name' (full_name) key which is now always set (as opposed to being null when no mask is present) as the 'present' boolean key already has the information on the mask presence. I'm renaming full_name to name because that creates a simpler interface (which is whole point of outputting full name as opposed to two keys to get name and mapset).
Configuration menu - View commit details
-
Copy full SHA for ba0a495 - Browse repository at this point
Copy the full SHA ba0a495View commit details -
r.buildvrt: document performance issues with external data (OSGeo#4441)
* document performance issue * address code review * Apply suggestions from code review Co-authored-by: Markus Neteler <[email protected]> * consistent recommendation * remove leftover dot --------- Co-authored-by: Markus Neteler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9f01e1 - Browse repository at this point
Copy the full SHA f9f01e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a8722 - Browse repository at this point
Copy the full SHA d5a8722View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b9b46a - Browse repository at this point
Copy the full SHA 5b9b46aView commit details -
CI(deps): Update docker/dockerfile Docker tag to v1.11 (OSGeo#4621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3f0b69f - Browse repository at this point
Copy the full SHA 3f0b69fView commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a753a3b - Browse repository at this point
Copy the full SHA a753a3bView commit details