-
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
Refactoring & dependency updates #17
Commits on Sep 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9bbfd6b - Browse repository at this point
Copy the full SHA 9bbfd6bView commit details -
checks: Flake8 F841 fixes in the scripts directory part 2 (#4241)
* Fix F841 problems in `scripts` directory * Update `.flake8` with fixes for F841 * Remove unused lines based on reviewed suggestions
Configuration menu - View commit details
-
Copy full SHA for 102bc38 - Browse repository at this point
Copy the full SHA 102bc38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39e1e11 - Browse repository at this point
Copy the full SHA 39e1e11View commit details -
grass.app: Move ISIS integration to the library (#4169)
Path setup for ISIS was lost in GIS variable setup. This moves it to the library, where other paths and integrations are initialized. The variables are left as is, without further testing.
Configuration menu - View commit details
-
Copy full SHA for 83ee146 - Browse repository at this point
Copy the full SHA 83ee146View commit details -
r.out.png: reset file pointer to NULL after fclose (#4220)
This patch continues the work from 917ba58. It's a good practice to immediately reset the file pointer once we do fclose on it, as it prevents using/closing descriptor allocated to another file in the future execution paths. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98e3fe1 - Browse repository at this point
Copy the full SHA 98e3fe1View commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d7f4977 - Browse repository at this point
Copy the full SHA d7f4977View commit details
Commits on Sep 9, 2024
-
checks: flake8 F841 (local variable assigned to but never used) fixes…
… in scripts directory part 1 (#4238)
Configuration menu - View commit details
-
Copy full SHA for 57cb4d9 - Browse repository at this point
Copy the full SHA 57cb4d9View commit details -
v.external: Check for valid list before passing to qsort (#4280)
Currently, if 'HAVE_OGR' macro is defined, as part of execution, we order all formats by name using qsort. But, list containing all formats is assigned based on a conditional and if the conditional fails, it can be NULL. Behavior of qsort is undefined when a NULL ptr is passed as array argument. To avoid getting into that situation, check if the array is NULL before performing qsort on it. This issue was found using cppcheck tool. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c6c12b - Browse repository at this point
Copy the full SHA 7c6c12bView commit details -
wxGUI/gmodeler: dialogs code refactoring (#3816)
* g.gui.gmodeler: start refactoring * assign results from _getLabel() directly instead of using intermediate vars * do not run Getlabel() if not needed * VariableListCtrl: simplify (no need to run one loop twice)
Configuration menu - View commit details
-
Copy full SHA for b1c8d10 - Browse repository at this point
Copy the full SHA b1c8d10View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc2797c - Browse repository at this point
Copy the full SHA cc2797cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 258752c - Browse repository at this point
Copy the full SHA 258752cView commit details -
CI(deps): Update ruff to v0.6.4 (#4279)
* CI(deps): Update ruff to v0.6.4 * style: Fix List index lookup in `enumerate()` loop (PLR1736) in __writeNvizState * style: Fix Unnecessary lookup of dictionary value by key (PLR1733) in iscatt_core.py * style: Fix `enumerate` index is unused, use `for plane in constants` instead (FURB148) in __writeNvizState --------- 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 b9c19ab - Browse repository at this point
Copy the full SHA b9c19abView commit details -
v.out.ogr: Check for valid array before passing to qsort (#4278)
Currently, filling list with GDAL driver names is based on a conditional and if the conditional fails, the list can be NULL. We pass this list to qsort to sort the names, but behavior of qsort with a NULL array is undefined. To avoid getting into this situation, check if the array is NULL before performing qsort on it. This issue was found using cppcheck tool. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85efe79 - Browse repository at this point
Copy the full SHA 85efe79View commit details
Commits on Sep 10, 2024
-
r.proj: Create unit tests (#4225)
* create unit tests for r.proj * change the source project * update the validation values according to the map in the project * remove shell cmd, update doc, modify precision
Configuration menu - View commit details
-
Copy full SHA for 997624b - Browse repository at this point
Copy the full SHA 997624bView commit details -
v.vol.rst: Initialize structure contents before passing it around (#4282
) * v.vol.rst: Initialize structure contents before passing it around `skip_point` structure is not initialized when declared. This was found using cppcheck tool. Only when `cv` is true, `skip_point` contents are filled and the structure is used. cppcheck raised the issue when 'cv' is false. Technically, we don't need skip_point in such cases and not initializing it won't affect the execution. Nevertheless, it's a good practice to initialize structure contents at the time of declaration. Signed-off-by: Mohan Yelugoti <[email protected]> * Use correct literal for double type Co-authored-by: Nicklas Larsson <[email protected]> --------- Signed-off-by: Mohan Yelugoti <[email protected]> Co-authored-by: Nicklas Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a85c7b0 - Browse repository at this point
Copy the full SHA a85c7b0View commit details -
v.generalize: Initialize all of structure contents before using it (#…
…4281) * v.generalize: Initialize all of structure contents before using it Currently, in `head` which is a `POINT_LIST` structure, we are only initializing the next pointer to NULL, but data present in the point substructure is not initialized which implies that it would be filled with random data. To avoid such scenario, initialize point coordinates to zero. This was found using cppcheck tool. Signed-off-by: Mohan Yelugoti <[email protected]> * Use correct literal for double type Co-authored-by: Nicklas Larsson <[email protected]> --------- Signed-off-by: Mohan Yelugoti <[email protected]> Co-authored-by: Nicklas Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76507cc - Browse repository at this point
Copy the full SHA 76507ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for adcdf28 - Browse repository at this point
Copy the full SHA adcdf28View commit details
Commits on Sep 11, 2024
-
CI: Resolve flake8 issues in utils directory (#4303)
* resolved flake8 in utils * updated .flake8 --------- Co-authored-by: Arohan Ajit <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4fdf90 - Browse repository at this point
Copy the full SHA e4fdf90View commit details -
CI(deps): Update docker/dockerfile Docker tag to v1.10 (#4305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 569c730 - Browse repository at this point
Copy the full SHA 569c730View commit details
Commits on Sep 12, 2024
-
CI: Update .flake8 configuration and fix flake8 errors in lib/init/gr…
…ass.py (#4289) * fixed flake8 errors in lib/init/grass.py * fixed flake8 details .flake8
Configuration menu - View commit details
-
Copy full SHA for 5719ba6 - Browse repository at this point
Copy the full SHA 5719ba6View commit details -
lib/db: Fix copy into fixed size buffer issue in SQLite driver (#4255)
* drivers: copy into fixed size buffer issue * Requested changes * without variable * Update db/drivers/sqlite/db.c Co-authored-by: Nicklas Larsson <[email protected]> * Use Db statements --------- Co-authored-by: Nicklas Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dda0fb2 - Browse repository at this point
Copy the full SHA dda0fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d5184d - Browse repository at this point
Copy the full SHA 4d5184dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5de8682 - Browse repository at this point
Copy the full SHA 5de8682View commit details -
Checks: flake8 F841 (local variable assigned to but never used) fixes…
… in the temporal directory (#4229)
Configuration menu - View commit details
-
Copy full SHA for 8c23c2e - Browse repository at this point
Copy the full SHA 8c23c2eView commit details -
CI: Fix Flake8 linter errors in man/ directory (#4292)
* resolved some more flake8 warnings * fixed all man flake8 errors except buildhtml * Update .flake8 --------- Co-authored-by: Arohan Ajit <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7bcd06 - Browse repository at this point
Copy the full SHA b7bcd06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aeabc1 - Browse repository at this point
Copy the full SHA 9aeabc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d77f457 - Browse repository at this point
Copy the full SHA d77f457View commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2c1df9f - Browse repository at this point
Copy the full SHA 2c1df9fView commit details -
lib/gis: Add portable G_strlcat function (#4304)
Add wrapper function for strlcat(), using system function if available, otherwise uses implementation by Todd C. Miller originated from https://github.com/openbsd/src/blob/e291b8af02e5c2b53d7ddb1f0c9c0fd608b97d45/lib/libc/string/strlcat.c. G_strlcat() is a safer alternative to strcat().
Configuration menu - View commit details
-
Copy full SHA for cd5f1bd - Browse repository at this point
Copy the full SHA cd5f1bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dbb49b - Browse repository at this point
Copy the full SHA 7dbb49bView commit details -
lib: Accept more newline styles in G_getl (#3853)
Use G_getl2 in G_getl to have everywhere the same behavior of supporting all newlines. Originally, G_getl2 was created to keep the behavior of G_getl. However, now, we want G_getl2 behavior everywhere. Keeping G_getl2 for compatibility. Code can later be clean up to use only G_getl, probably at the time when G_getl2 is removed (v9). The new test fails without the change in the library for CRLF for G_getl, but passes with the change. CR fails because it is not supported by fgets used since 88090da (#3850), so expecting failure for CR. Return and argument types for ctypes fopen need to be set for the code to work everywhere reliably. --------- Co-authored-by: Nicklas Larsson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2f3477 - Browse repository at this point
Copy the full SHA d2f3477View commit details
Commits on Sep 14, 2024
-
style: Fix all flake8-gettext (INT) errors (INT001, INT002, INT003) (#…
…4052) * style: Fix all flake8-gettext (INT) errors (INT001, INT002, INT003) Ruff rules: https://docs.astral.sh/ruff/rules/f-string-in-get-text-func-call/ https://docs.astral.sh/ruff/rules/format-in-get-text-func-call/ https://docs.astral.sh/ruff/rules/printf-in-get-text-func-call/ * Revert source string changes when unneeded. * Update univar_statistics.py Co-authored-by: Vaclav Petras <[email protected]> * Update panels.py for Python script type string * Update pyedit.py to keep path keyword in changed string * Update univar_statistics.py to make already translated strings match again * Update pyedit.py * Update model.py --------- Co-authored-by: Vaclav Petras <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95da3ef - Browse repository at this point
Copy the full SHA 95da3efView commit details
Commits on Sep 15, 2024
-
v.in.dwg: Avoid using same variable as parameter and destination in s…
…printf (#4262) v.in.dwg: Avoid using same variable as parameter and dest in sprintf Currently, one instance of sprintf has the same variable as parameter and destination in sprintf. This scenario leads to undefined behavior in C. Modify the code to: 1. Write initial error string using snprintf() onto the buffer. Using snprintf() makes sure that we stay within the buffer size and avoid overflow errors. 2. Use snprintf() again to write another error string at the end of previous error string in the same buffer. We again use snprintf() to make sure we are not overflowing the buffer with data. Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a89301 - Browse repository at this point
Copy the full SHA 1a89301View commit details
Commits on Sep 16, 2024
-
CI(macOS): Use micromamba-shell for steps to load PATH changes (#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 (#…
…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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (…
…#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 (#…
…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 (#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
-
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 (#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 (#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 (#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 (#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 (#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 (#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 -
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) (#……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 (#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 (#…
…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 (#4351)
Rename file to reflect changes made with 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 (#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 (#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 (#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 (#4358
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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#…
…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/ (#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) (#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 (…
…#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) (#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 (#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 (#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 (#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/
(#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 (#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 (#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/ (#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 (#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 (#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 (#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 (#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 (#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/ (#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) (#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 -
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 (#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 (#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) (#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 (#…
…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 (#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 (#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) (#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 (#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 #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 (#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 #2390 and #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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#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 (#4495)
Similarly to #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 (#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 #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 (#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 (#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 -
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