Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Image group dict #10

Open
wants to merge 1,213 commits into
base: main
Choose a base branch
from
Open

Image group dict #10

wants to merge 1,213 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 16, 2024

  1. 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
    echoix authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    213f024 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63a80f5 View commit details
    Browse the repository at this point in the history
  3. 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
    echoix authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    d0f1634 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3dbe2d7 View commit details
    Browse the repository at this point in the history
  5. 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]>
    renovate[bot] and echoix authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    560340a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7c126f View commit details
    Browse the repository at this point in the history
  7. 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]>
    ShubhamDesai and echoix authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    7c27080 View commit details
    Browse the repository at this point in the history
  8. v.to.3d: Fix Resource Leak Issue in trans2.c (OSGeo#4320)

    * Handling Resource Leak
    
    * Resource Leak
    ShubhamDesai authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    fdcd8d8 View commit details
    Browse the repository at this point in the history
  9. 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]>
    ymdatta authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    c840f3c View commit details
    Browse the repository at this point in the history
  10. 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]>
    4 people authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    95c123d View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. 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]>
    ShubhamDesai and wenzeslaus authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    826ab62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0486dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    083fc21 View commit details
    Browse the repository at this point in the history
  4. docs: update and cleanup of infrastructure.md (OSGeo#4294)

    - various minor updates
    - removal of GRASS Travis CI section
    neteler authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    df714ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a816dc1 View commit details
    Browse the repository at this point in the history
  6. t.rast.univar: Use pathlib Path.read_text to open test outputs in t.r…

    …ast.univar and t.rast3d.univar (OSGeo#4334)
    echoix authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    5d6a2e8 View commit details
    Browse the repository at this point in the history
  7. 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.
    neteler authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    5e47e41 View commit details
    Browse the repository at this point in the history
  8. 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.
    echoix authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3bc6e95 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. 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.
    nilason authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    da15442 View commit details
    Browse the repository at this point in the history
  2. 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
    echoix authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    9420d00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0536351 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f8f676 View commit details
    Browse the repository at this point in the history
  5. 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
    echoix authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    dc27b28 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. 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>
    renovate[bot] authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    b69cacf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05584c1 View commit details
    Browse the repository at this point in the history
  3. 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]>
    ymdatta authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7dc46cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a536bd4 View commit details
    Browse the repository at this point in the history
  5. 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
    nilason authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    d5bb442 View commit details
    Browse the repository at this point in the history
  6. 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`
    neteler authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    89cfc52 View commit details
    Browse the repository at this point in the history
  7. configure: fix default variable name for blas and lapack (OSGeo#4343)

    In addition: improve handling of configuration with LAPACK
    without BLAS
    nilason authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    a94c3b0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5fd45e4 View commit details
    Browse the repository at this point in the history
  9. 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).
    ShubhamDesai authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    333d8e6 View commit details
    Browse the repository at this point in the history
  10. 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]>
    echoix and wenzeslaus authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6607e1c View commit details
    Browse the repository at this point in the history
  11. 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
    echoix authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    51f865b View commit details
    Browse the repository at this point in the history
  12. style: Call startswith or endswith once with a tuple (PIE810) (O…

    …SGeo#4348)
    
    style: Call `startswith` once with a `tuple` (PIE810)
    
    Ruff rule: https://docs.astral.sh/ruff/rules/multiple-starts-ends-with/
    echoix authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    75458f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. 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$"
    ```
    tmszi authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4bb3156 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64deef2 View commit details
    Browse the repository at this point in the history
  3. 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
    echoix authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6bc69e3 View commit details
    Browse the repository at this point in the history
  4. lib/gmath: rename ATLAS_wrapper to CBLAS_wrapper (OSGeo#4351)

    Rename file to reflect changes made with
    OSGeo@d5bb442
    nilason authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    bf41fc7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c4424ab View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. 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).
    arohanajit authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    2356520 View commit details
    Browse the repository at this point in the history
  2. g.proj: Fix copy into fixed size buffer issue in input.c file (OSGeo#…

    …4359)
    
    Co-authored-by: Shubham Vasudeo Desai <[email protected]>
    ShubhamDesai and Shubham Vasudeo Desai authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    d89ad9e View commit details
    Browse the repository at this point in the history
  3. CI(deps): Update ruff to v0.6.7 (OSGeo#4360)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    93781e5 View commit details
    Browse the repository at this point in the history
  4. 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
    echoix authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    5aed1a6 View commit details
    Browse the repository at this point in the history
  5. 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.
    arohanajit authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    0c1e79b View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. 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>
    echoix and github-actions[bot] authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    7b4a240 View commit details
    Browse the repository at this point in the history
  2. 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]>
    petrasovaa and ninsbl authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    6d046ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd39db7 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    6325a18 View commit details
    Browse the repository at this point in the history
  2. 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.
    arohanajit authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    c32dd52 View commit details
    Browse the repository at this point in the history
  3. g.version: Add tests covering different outputs (OSGeo#4219)

    This adds tests for different outputs of the g.version tool using pytest.
    ShubhamDesai authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    25afbfb View commit details
    Browse the repository at this point in the history
  4. 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.
    ShubhamDesai authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    9e8874c View commit details
    Browse the repository at this point in the history
  5. CI(deps): Lock file maintenance (OSGeo#4365)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    b35b1c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c266f46 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. 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.
    echoix authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c593eb0 View commit details
    Browse the repository at this point in the history
  2. 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.
    echoix authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    16de4d3 View commit details
    Browse the repository at this point in the history
  3. 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]>
    arohanajit and wenzeslaus authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    04cc9ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac66448 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    234209a View commit details
    Browse the repository at this point in the history
  6. 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
    echoix authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8c671ca View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    d99d840 View commit details
    Browse the repository at this point in the history
  2. 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.
    wenzeslaus authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    45a0486 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68c7245 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f75c27 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8261363 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7c651c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    09c629d View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    2098577 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    845dfd0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b835f4d View commit details
    Browse the repository at this point in the history
  4. 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.
    ShubhamDesai authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    549ea90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    edea810 View commit details
    Browse the repository at this point in the history
  6. 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.
    arohanajit authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c502c1c View commit details
    Browse the repository at this point in the history
  7. 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]>
    renovate[bot] and echoix authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e4c87ec View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    bcb2938 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. 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.
    wenzeslaus authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    7f05bb3 View commit details
    Browse the repository at this point in the history
  2. docs: fixed E265 from image2target/ (OSGeo#4399)

    * removed e265
    
    * update .flake8
    
    * removed commented out parser code
    
    * removed parser code
    arohanajit authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    4f689fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fee26ec View commit details
    Browse the repository at this point in the history
  4. 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
    echoix authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    49f67fd View commit details
    Browse the repository at this point in the history
  5. 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
    echoix authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    5eca6d6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ead659f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70f3599 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ae5e4dd View commit details
    Browse the repository at this point in the history
  9. 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
    echoix authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    0ea5e37 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. 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
    nilason authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    16c87b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e82663c View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. 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).
    wenzeslaus authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    108e5e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    808acd3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e02b921 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33d0d15 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    480e050 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    afbc3ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e427da0 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. 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
    arohanajit authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3e53e34 View commit details
    Browse the repository at this point in the history
  2. 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]>
    arohanajit and petrasovaa authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    25619dd View commit details
    Browse the repository at this point in the history
  3. v.generalize: Fix Resource Leak issue in displacement.c (OSGeo#4422)

    * fix Resource Leak
    
    * fix for points
    ShubhamDesai authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6382949 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13cda73 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed10037 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e9768eb View commit details
    Browse the repository at this point in the history
  7. 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
    arohanajit authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3f61cd7 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    61407f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa30424 View commit details
    Browse the repository at this point in the history
  3. 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
    arohanajit authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1b639db View commit details
    Browse the repository at this point in the history
  4. wxGUI: FIxed F841 is iscatt/core_c.py (OSGeo#4430)

    * fixed 841
    
    * updated flake8
    arohanajit authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f0a997c View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. wxGUI: Fixed F841 in dialogs.py, frame.py (OSGeo#4431)

    * fixed 841
    
    * removed dlgSize comments
    arohanajit authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    aa1c32a View commit details
    Browse the repository at this point in the history
  2. v.colors: Fix resource leak issue in scan_attr.c file (OSGeo#4423)

    * fix resource leak
    
    * close database driver
    ShubhamDesai authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    a4d3cea View commit details
    Browse the repository at this point in the history
  3. r.fill.dir: Fix unchecked return value in filldir.c (OSGeo#4433)

    * fix unchecked value
    
    * Update raster/r.fill.dir/filldir.c
    
    * G_fatal
    ShubhamDesai authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    617828d View commit details
    Browse the repository at this point in the history
  4. r.thin: Fix unchecked return value in io.c (OSGeo#4434)

    check return value
    ShubhamDesai authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4bec714 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de8a6fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d7c79a8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7b73900 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    d4e46dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a96c073 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a186638 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    359a62b View commit details
    Browse the repository at this point in the history
  5. wxGUI: Fixed F841 in iscatt/ (OSGeo#4432)

    * fixed all F841
    
    * updated flake8
    
    * reverted add_callback
    
    * Update plots.py
    arohanajit authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7f81c6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60f7135 View commit details
    Browse the repository at this point in the history
  7. 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
    echoix authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1e86629 View commit details
    Browse the repository at this point in the history
  8. wxGUI: Fixed F841 and E266 in lmgr/ (OSGeo#4439)

    fixed f841 and e266
    arohanajit authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    eebf369 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a16a02f View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. 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
    echoix authored Oct 5, 2024
    Configuration menu
    Copy the full SHA
    093411b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5281602 View commit details
    Browse the repository at this point in the history
  3. 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/
    echoix authored Oct 5, 2024
    Configuration menu
    Copy the full SHA
    209739a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cd9e0a4 View commit details
    Browse the repository at this point in the history
  5. 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>
    renovate[bot] authored Oct 5, 2024
    Configuration menu
    Copy the full SHA
    6596d49 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    3932773 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa0b497 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5c4a27 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de39e1c View commit details
    Browse the repository at this point in the history
  5. 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
    echoix authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    703d9f8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e5f30e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    56ba44c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    368f0eb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    573d54a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3f6a6e4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3ce2a0f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b418733 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    498676c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    cbe2b9e View commit details
    Browse the repository at this point in the history
  2. 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]>
    neteler and petrasovaa authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    400b0df View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    3a95b7a View commit details
    Browse the repository at this point in the history
  2. 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.
    wenzeslaus authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b9a6b68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e0a8fa View commit details
    Browse the repository at this point in the history
  4. 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()
    arohanajit authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    21606ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    426bf74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cbc3ff4 View commit details
    Browse the repository at this point in the history
  7. 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.
    wenzeslaus authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1d42e58 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Configuration menu
    Copy the full SHA
    0feea31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9df8433 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cf93d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71066f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    542f3b4 View commit details
    Browse the repository at this point in the history
  6. v.to.db: Fix Resource Leak issue in areas.c (OSGeo#4498)

    * Fix Resource Leak issue
    
    * Fix Resource Leak issue
    ShubhamDesai authored Oct 12, 2024
    Configuration menu
    Copy the full SHA
    779af80 View commit details
    Browse the repository at this point in the history
  7. d.vect: Fix Resource Leak issue in attr.c (OSGeo#4496)

    * fix Resource Leak issue
    
    * Update display/d.vect/attr.c
    ShubhamDesai authored Oct 12, 2024
    Configuration menu
    Copy the full SHA
    03675b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    3c4aa6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb7cbab View commit details
    Browse the repository at this point in the history
  3. 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]>
    ymdatta authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    ed02be5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5289ee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e139a4c View commit details
    Browse the repository at this point in the history
  6. 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().
    nilason authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    61b380f View commit details
    Browse the repository at this point in the history
  7. 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.
    echoix authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    761d98a View commit details
    Browse the repository at this point in the history
  8. 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
    echoix authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3a9059b View commit details
    Browse the repository at this point in the history
  9. v.net.timetable: Fix Resource Leak issue in main.c (OSGeo#4508)

    * Fix Resource Leak issue
    
    * requested changes
    ShubhamDesai authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    a98691f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    f241532 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5c5ec5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15c5737 View commit details
    Browse the repository at this point in the history
  4. 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.
    nilason authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ca171b7 View commit details
    Browse the repository at this point in the history
  5. 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]>
    metzm and HuidaeCho authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f7d2ecf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0c5380 View commit details
    Browse the repository at this point in the history
  7. 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.
    wenzeslaus authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f22c9a2 View commit details
    Browse the repository at this point in the history
  8. 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]>
    ymdatta authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ec2bc8a View commit details
    Browse the repository at this point in the history
  9. 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
    echoix authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    1adbd2c View commit details
    Browse the repository at this point in the history
  10. 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.
    wenzeslaus authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    9a79aa4 View commit details
    Browse the repository at this point in the history
  11. 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.
    wenzeslaus authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bc9cb2a View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    2415894 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    362bee3 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    39ff021 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a740da1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e8b0bf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    941b52f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd347b9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    daee989 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0adc4dc View commit details
    Browse the repository at this point in the history
  8. nix: Fix locales in development environment (OSGeo#4540)

    This fixes locales in nix provided development environment by setting environment variable.
    
    Closes OSGeo#4503
    imincik authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e540efc View commit details
    Browse the repository at this point in the history
  9. 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]>
    3 people authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    9dbc8c9 View commit details
    Browse the repository at this point in the history
  10. 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]>
    neteler and wenzeslaus authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    37d4082 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. 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]>
    renovate[bot] and echoix authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    3c67825 View commit details
    Browse the repository at this point in the history
  2. 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]>
    ymdatta and metzm authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    d788eee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0cb20eb View commit details
    Browse the repository at this point in the history
  4. 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
    echoix authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    6fd21a8 View commit details
    Browse the repository at this point in the history
  5. 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.
    ww2406 authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    62b001b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5cff700 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2a0ad5f View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Configuration menu
    Copy the full SHA
    1a803b4 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. 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.
    echoix authored Oct 20, 2024
    Configuration menu
    Copy the full SHA
    7fbaa7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    884fc6f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32723e0 View commit details
    Browse the repository at this point in the history
  4. 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
    echoix authored Oct 20, 2024
    Configuration menu
    Copy the full SHA
    e523163 View commit details
    Browse the repository at this point in the history
  5. 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/
    echoix authored Oct 20, 2024
    Configuration menu
    Copy the full SHA
    870343f View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    5d4f7fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24b398a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    690534d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    15134e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a4786e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9d699d5 View commit details
    Browse the repository at this point in the history
  7. 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
    echoix authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    67a1609 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    af55fa7 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    c5c42cf View commit details
    Browse the repository at this point in the history
  2. wxGUI: Fixed F841 in photo2image/ (OSGeo#4573)

    * fixed 841
    
    * fixed busyInfo
    arohanajit authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    2575783 View commit details
    Browse the repository at this point in the history
  3. 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]>
    ymdatta authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    a05ed29 View commit details
    Browse the repository at this point in the history
  4. 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]>
    ymdatta authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    930d59a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5cd6870 View commit details
    Browse the repository at this point in the history
  6. 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
    echoix authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    533070d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0582709 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d7b331 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    cc0fb73 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    0860b87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbe66e4 View commit details
    Browse the repository at this point in the history
  3. 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]>
    mshukuno and petrasovaa authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    b6514ca View commit details
    Browse the repository at this point in the history
  4. 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
    neteler authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    5b94314 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86693f6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a04b64 View commit details
    Browse the repository at this point in the history
  7. 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]>
    echoix and petrasovaa authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    9e1e85d View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

  1. wxGUI: Reverted unused variable fix in wxgui/ (OSGeo#4595)

    Seems to break 3D view
    arohanajit authored Oct 26, 2024
    Configuration menu
    Copy the full SHA
    ac49177 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    652a2f8 View commit details
    Browse the repository at this point in the history
  3. 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.
    wenzeslaus authored Oct 26, 2024
    Configuration menu
    Copy the full SHA
    5af22b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4616b9d View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2024

  1. Configuration menu
    Copy the full SHA
    7910777 View commit details
    Browse the repository at this point in the history
  2. 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
    echoix authored Oct 27, 2024
    Configuration menu
    Copy the full SHA
    ffcb9e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84afcf4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    937b2f4 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    7d101ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24469d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6bceb98 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9a543a View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    94034a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba809db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6fd110 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e5643d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8649713 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. v.unpack: Fixed bare 'except' (OSGeo#4616)

    * updated E722
    
    * updated .flake8
    
    * Update v.unpack.py
    arohanajit authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    9be02ee View commit details
    Browse the repository at this point in the history
  2. wxGUI: Fixed bare 'except' in nviz/ (OSGeo#4613)

    * updated E722
    
    * updates
    
    * updates
    
    ---------
    
    Co-authored-by: Anna Petrasova <[email protected]>
    arohanajit and petrasovaa authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    9581ca1 View commit details
    Browse the repository at this point in the history
  3. lib/ogsf: Dereference after null check in gvl2.c (OSGeo#4588)

    Dereference after null check
    ShubhamDesai authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    528763f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    00f51c9 View commit details
    Browse the repository at this point in the history
  2. 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).
    wenzeslaus authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ba0a495 View commit details
    Browse the repository at this point in the history
  3. 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]>
    ninsbl and neteler authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    f9f01e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5a8722 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5b9b46a View commit details
    Browse the repository at this point in the history
  6. CI(deps): Update docker/dockerfile Docker tag to v1.11 (OSGeo#4621)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    3f0b69f View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    a753a3b View commit details
    Browse the repository at this point in the history