GitHub / kaitai-io/kaitai_struct_python_runtime / commits
Kaitai Struct: runtime for Python
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 414bf05d |
Bump astral-sh/ruff-action from 4.0.0 to 4.1.0 (#88)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 41ab282c |
Bump actions/checkout from 7.0.0 to 7.0.1 (#89)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 8978eb43 |
Bump actions/setup-python from 6.2.0 to 6.3.0 (#87)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 79a8c4f4 |
Bump actions/checkout from 6.0.3 to 7.0.0 (#86)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 7a2376a9 |
Bump actions/checkout from 6.0.2 to 6.0.3 (#85)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| c914dd8c | Bump version to 0.12.dev2 | Petr Pucil <p****l@s****z> | 3 months ago | |
| 5055470d |
Bump astral-sh/ruff-action from 3.6.1 to 4.0.0 (#84)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
3 months ago | |
| fc81b86c | Set up weekly Dependabot updates for GitHub Actions | Petr Pucil <p****l@s****z> | 3 months ago | |
| aeb3fef5 | GHA: pin actions to commit SHAs as suggested by zizmor | Petr Pucil <p****l@s****z> | 3 months ago | |
| 44622b6c | GHA: scan GitHub Actions workflows with zizmor | Petr Pucil <p****l@s****z> | 3 months ago | |
| 9f6bb39f | GHA: move comment with documentation link to the top | Petr Pucil <p****l@s****z> | 3 months ago | |
| 626d6967 | Add substream() method for zero-copy substreams | Petr Pucil <p****l@s****z> | 6 months ago | |
| eadd6330 | Bump version to 0.12.dev1 | Petr Pucil <p****l@s****z> | 6 months ago | |
| e88fccc5 | setup.cfg: add Python 3.14 classifier | Petr Pucil <p****l@s****z> | 6 months ago | |
| 4322b484 | GH Actions: bump `actions/download-artifact` to v8 (was v5) | Petr Pucil <p****l@s****z> | 6 months ago | |
| 774ba238 | GH Actions: bump `actions/upload-artifact` to v7 (was v4) | Petr Pucil <p****l@s****z> | 6 months ago | |
| 3463ae36 | GH Actions: bump `actions/checkout` to v6 (was v5) | Petr Pucil <p****l@s****z> | 6 months ago | |
| 9f83ce03 | GH Actions: bump to Ruff 0.15.x (was 0.14.x) | Petr Pucil <p****l@s****z> | 6 months ago | |
| 31ccff5b | LICENSE: bump copyright year | Petr Pucil <p****l@s****z> | 8 months ago | |
| d810cf44 | read_bits_int_{be,le}(): speed up using `int.from_bytes()` | Petr Pucil <p****l@s****z> | 8 months ago | |
| 50adfb57 | byte_from_int(): minor performance optimization | Petr Pucil <p****l@s****z> | 8 months ago | |
| 115c3bd8 | Deprecate int_from_byte() and byte_array_{index,min,max}() | Petr Pucil <p****l@s****z> | 8 months ago | |
| 4ae5cd25 | Fix Ruff lint errors `line-too-long` (E501) | Petr Pucil <p****l@s****z> | 8 months ago | |
| 85c545de | Fix Pylint messages "Attribute ... defined outside __init__" | Petr Pucil <p****l@s****z> | 8 months ago | |
| e83fd2ce | GH Actions: switch Pylint output format to "GitHub Actions" | Petr Pucil <p****l@s****z> | 8 months ago | |
| f83c97ae | GH Actions: install missing `setuptools` in the Pylint job | Petr Pucil <p****l@s****z> | 8 months ago | |
| cb8f6e81 | Configure Pylint properly (suppressions, target Python version) | Petr Pucil <p****l@s****z> | 8 months ago | |
| a071175c | Fix Ruff lint errors related to docstrings | Petr Pucil <p****l@s****z> | 8 months ago | |
| 3fe80d75 | Reformat code using the Ruff formatter | Petr Pucil <p****l@s****z> | 8 months ago | |
| 52300548 | Fix or suppress Ruff lint errors unrelated to docstrings | Petr Pucil <p****l@s****z> | 8 months ago | |
| d34a6d0e | Apply flake8-errmsg Ruff fixes (split `msg = ...` and `raise` lines) | Petr Pucil <p****l@s****z> | 8 months ago | |
| a970283f | Apply Ruff's automatic safe fixes | Petr Pucil <p****l@s****z> | 8 months ago | |
| 84bad0e0 | Suppress Ruff's rule prohibiting `raise` with message (TRY003) | Petr Pucil <p****l@s****z> | 9 months ago | |
| 9a319720 | setup.py: unset the executable bit | Petr Pucil <p****l@s****z> | 9 months ago | |
| 9462180c | Define ConsistencyNotCheckedError's message in the class itself | Petr Pucil <p****l@s****z> | 9 months ago | |
| ed45454f | Update .gitignore from the github/gitignore repository | Petr Pucil <p****l@s****z> | 9 months ago | |
| 6c5557e4 | Configure Ruff: enable all rules except selected ones | Petr Pucil <p****l@s****z> | 9 months ago | |
| 711bfa38 | Check code style in CI using Pylint and Ruff | Petr Pucil <p****l@s****z> | 9 months ago | |
| 6eb01358 | Remove Pylint suppressions tied to Python 2 support | Petr Pucil <p****l@s****z> | 9 months ago | |
| d94532b1 | Run `pyupgrade --py36-plus` to upgrade to f-strings | Petr Pucil <p****l@s****z> | 9 months ago | |
| 06eb9ad5 | Replace manual `repr()` calls with `!r` in format strings | Petr Pucil <p****l@s****z> | 9 months ago | |
| 13d3278d | Replace the remaining uses of `%` with `str.format()` | Petr Pucil <p****l@s****z> | 9 months ago | |
| f3599d23 | Run `pyupgrade` to upgrade more Python 2-specific code | Petr Pucil <p****l@s****z> | 9 months ago | |
| 3e0f9a9b | setup.cfg: require Python 3.8+ (drop Python 2.7 and 3.4-3.7) | Petr Pucil <p****l@s****z> | 9 months ago | |
| 8a6bfb3d | Remove code ensuring compatibility with Python 2 | Petr Pucil <p****l@s****z> | 9 months ago | |
| 78377752 | GH Actions: fix step name ("to {TestPyPI => PyPI}") | Petr Pucil <p****l@s****z> | 12 months ago | |
| ae1225d1 | Bump version to 0.11 | Petr Pucil <p****l@s****z> | 12 months ago | |
| 327e2b0e | GH Actions: publish `v0.[0-9]+` tags to PyPI | Petr Pucil <p****l@s****z> | 12 months ago | |
| 1da5782a | Bump version to 0.11.dev4 | Petr Pucil <p****l@s****z> | 12 months ago | |
| 28a8d65a | setup.cfg: remove deprecated "MIT License" classifier | Petr Pucil <p****l@s****z> | 12 months ago | |
| 35fca09d | setup.cfg: rename "{Source => Code}" and "{Tracker => Issues}" | Petr Pucil <p****l@s****z> | 12 months ago | |
| 85007d9c | Revert "setup.cfg: remove "Source" and "Tracker" project URLs" | Petr Pucil <p****l@s****z> | 12 months ago | |
| 56762c04 | Bump version to 0.11.dev3 | Petr Pucil <p****l@s****z> | 12 months ago | |
| f44db8d2 | setup.cfg: remove "Source" and "Tracker" project URLs | Petr Pucil <p****l@s****z> | 12 months ago | |
| a78fc9c9 | Bump version to 0.11.dev2 | Petr Pucil <p****l@s****z> | 12 months ago | |
| b4c1cbe4 | GH Actions: publish `v*.dev*` tags to TestPyPI | Petr Pucil <p****l@s****z> | 12 months ago | |
| 7056edf3 | .editorconfig: remove `*.ksy` rules | Petr Pucil <p****l@s****z> | 12 months ago | |
| b9c5cbb2 | Remove the outdated `pycodestyle` CI workflow | Petr Pucil <p****l@s****z> | 12 months ago | |
| 690d7008 | ConsistencyError: swap params to match the error message | Petr Pucil <p****l@s****z> | 12 months ago | |
| fa6fbd55 | Refuse to write objects with unchecked modifications | Petr Pucil <p****l@s****z> | 12 months ago | |
| a6b0315b | setup.cfg: add Python 3.12 and 3.13 classifiers | Petr Pucil <p****l@s****z> | over 1 year ago | |
| 5973f5ba | LICENSE: bump copyright year | Petr Pucil <p****l@s****z> | over 1 year ago | |
| 1e2d40bb | merge Merge pull request #80 from kaitai-io/better-exceptions |
Petr Pučil <p****l@s****z>
Committed by: GitHub <n****y@g****m> |
almost 2 years ago | |
| 2a63b4fc | Adopt a system of exceptions derived from KaitaiStructError | Petr Pucil <p****l@s****z> | almost 2 years ago | |
| 68cb21d5 | write_bytes_limit(): small improvements | Petr Pucil <p****l@s****z> | almost 2 years ago | |
| 67ffcff1 | Raise `DeprecationWarning` from deprecated methods | Petr Pucil <p****l@s****z> | almost 2 years ago | |
| d0058acd | LICENSE: bump copyright year | Petr Pucil <p****l@s****z> | about 2 years ago | |
| b5d9b98e | Add ValidationNotInEnumError | Petr Pucil <p****l@s****z> | about 2 years ago | |
| 9bdaeb32 | bytes_terminate_multi(): improve worst-case performance | Petr Pucil <p****l@s****z> | about 2 years ago | |
| a6adc316 | bytes_terminate_multi(): rename variable `search_{idx => index}` | Petr Pucil <p****l@s****z> | about 2 years ago | |
| 07aea9c6 | Add bytes_terminate_multi() and read_bytes_term_multi() | Petr Pucil <p****l@s****z> | about 2 years ago | |
| 812ae7ee | read_bytes_term(): additional minor performance improvements | Petr Pucil <p****l@s****z> | about 2 years ago | |
| 3bfbbe65 | read_bytes_term(): speed up by avoiding unnecessary memory copying | Petr Pucil <p****l@s****z> | about 2 years ago | |
| 92a2d715 | bytes_terminate(): speed up by avoiding unnecessary memory copying | Petr Pucil <p****l@s****z> | almost 3 years ago | |
| d457617e | close(): ensure that all calls to read_bits_int_*() fail after closing | Petr Pucil <p****l@s****z> | almost 3 years ago | |
| c0c454bc | Validation*Error: only include "at pos X: " if `io` is not `None` | Petr Pucil <p****l@s****z> | almost 3 years ago | |
| 704995ac | _write_bytes_not_aligned(): use `self._io.tell()` in EOF check | Petr Pucil <p****l@s****z> | about 3 years ago | |
| b28808c6 | Support writing to 'file' objects in Python 2 | Petr Pucil <p****l@s****z> | about 3 years ago | |
| 28de847c | write_align_to_byte(): clear bit buffer even if the write fails | Petr Pucil <p****l@s****z> | about 3 years ago | |
| ced78c44 | write_bits_int_{be,le}(): raise EOF errors proactively | Petr Pucil <p****l@s****z> | about 3 years ago | |
| 27f65412 | is_eof(): fix for write-only streams | Petr Pucil <p****l@s****z> | about 3 years ago | |
| 22662d46 | size(): fix returning `None` in Python 2 for 'file' objects | Petr Pucil <p****l@s****z> | about 3 years ago | |
| ebfae5fb | Add Python 3.11 tag to setup.cfg (#74) |
William Barnhart <w****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| b71763c4 | Bump package version to 0.11.dev1 | Petr Pucil <p****l@s****z> | over 3 years ago | |
| a7a4ab1c | Bump package version and API version to 0.11 | Petr Pucil <p****l@s****z> | over 3 years ago | |
| d7828341 | LICENSE: bump copyright year | Petr Pucil <p****l@s****z> | over 3 years ago | |
| 46b29567 | Update pos() and is_eof() for {read,write}_bits_int_*() parity | Petr Pucil <p****l@s****z> | over 3 years ago | |
| ddde58ad | close(): flush unwritten bits before closing | Petr Pucil <p****l@s****z> | over 3 years ago | |
| 824717a9 | Emulate fixed-length stream when writing | Petr Pucil <p****l@s****z> | over 3 years ago | |
| 1cb84b84 | Invoke {,write_}align_to_byte() in all byte-aligned operations | Petr Pucil <p****l@s****z> | over 3 years ago | |
| a9890ebe | Add write_bits_int_{be,le}() and write_align_to_byte() | Petr Pucil <p****l@s****z> | over 3 years ago | |
| 0e2629c2 | Add write methods and classes (bit ints not implemented yet) | Petr Pucil <p****l@s****z> | over 3 years ago | |
| 83917311 | Convert section title comments to code-folding regions | Petr Pucil <p****l@s****z> | over 3 years ago | |
| 4a6e228e | setup.cfg: add `metadata.project_urls` (#71) |
Petr Pučil <p****l@s****z>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 4accba95 | Remove redundant wheel dep |
Michał Górny <m****y@g****g>
Committed by: dgelessus <d****s@u****m> |
about 4 years ago | |
| c2960994 |
read_bytes(): use previous implementation again for small reads
Co-authored-by: Petr Pucil <p****l@s****z> |
dgelessus <d****s@u****m>
Committed by: Petr Pučil <p****l@s****z> |
about 4 years ago | |
| 255f5b7d | size(): remove redundant `io.tell()` (suggested by @armijnhemel) | Petr Pucil <p****l@s****z> | over 4 years ago | |
| 486e9aba | LICENSE: bump year, add newline at EOF | Petr Pucil <p****l@s****z> | over 4 years ago | |
| df01b26c | README: update links, use `https://` versions | Petr Pucil <p****l@s****z> | over 4 years ago | |
| 875bec1d | process_rotate_left(): use modulo `% d`, not AND `& (d - 1)` | Petr Pucil <p****l@s****z> | over 4 years ago |