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

Remove Reader::scrach_buffer field + resulting breaking API changes. #421

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
211833f
Remove remaining uses of miniz_oxide for decoding
fintelia Jan 29, 2024
2bd3dc9
Import BoundedDecompressionError
fintelia Jan 29, 2024
bbce63d
Extract a separate `palette.rs` module.
anforowicz Jan 29, 2024
d9df1d7
Fix constants used in palette benchmarks.
anforowicz Jan 29, 2024
b0cc095
Change `TransformFn` to allow memoization in the future
anforowicz Jan 29, 2024
a585814
Memoize combined PLTE+trNS lookup table.
anforowicz Jan 29, 2024
72aecc3
Copy 4 bytes at a time when expanding palette into rgb8.
anforowicz Jan 29, 2024
b13388f
Copy 4 bytes at a time in `create_rgba_palette`
anforowicz Jan 29, 2024
92540b3
Merge pull request #463 from fintelia/less-miniz-oxide
kornelski Feb 3, 2024
a6425ca
Return Info with static lifetime (#465)
fintelia Feb 4, 2024
ec8dbe9
Test minimal versions in CI (#467)
fintelia Feb 11, 2024
59e04df
Release 0.17.12 (#468)
fintelia Feb 16, 2024
c02bd7b
Fix Send bound on Reader (#471)
fintelia Feb 18, 2024
b5b0d48
Release 0.17.13 (#472)
fintelia Feb 19, 2024
9dd2a89
Add an option to ignore iccp chunk (#477)
sssooonnnggg Apr 1, 2024
f28bc07
Ignore iCCP section if it is invalid (#475)
nathaniel-daniel Apr 1, 2024
f00ca20
Fix test and warnings (#480)
fintelia Apr 1, 2024
1864796
ci: Update to `actions/checkout@v4` from `v2`
waywardmonkeys Jun 28, 2024
9517a52
Merge pull request #483 from waywardmonkeys/update-ci
kornelski Jun 28, 2024
3308238
Remove usages of `extern crate`
waywardmonkeys Jun 29, 2024
edc3269
Merge pull request #484 from waywardmonkeys/remove-extern-crate-usages
kornelski Jun 29, 2024
49f0cad
Fix `clippy::legacy_numeric_constants` lints
waywardmonkeys Jun 29, 2024
d4390c4
Fix typos.
waywardmonkeys Jun 29, 2024
2cfde02
README: Remove broken badges
waywardmonkeys Jun 29, 2024
b7d0c06
Benchmark of `next_row`-based decoding.
anforowicz Jul 17, 2024
29e90cc
Remove `Reader::scrach_buffer` field + resulting breaking API changes.
anforowicz Jul 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ jobs:
features: [""]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@nightly
if: ${{ matrix.rust == '1.57.0' }}
- name: Generate Cargo.lock with minimal-version dependencies
if: ${{ matrix.rust == '1.57.0' }}
run: cargo -Zminimal-versions generate-lockfile

- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- if: ${{ matrix.rust == '1.57.0' }}
run: mv Cargo.lock.msrv Cargo.lock
- name: build
run: |
cargo build --verbose
Expand All @@ -30,7 +35,7 @@ jobs:
features: ["", "benchmarks"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -43,23 +48,23 @@ jobs:
powerpc_cross:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: add_cross_target
run: |
rustup target add powerpc-unknown-linux-gnu
cargo build --target powerpc-unknown-linux-gnu
test_all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: rustup default stable
- name: test
run: >
cargo test -v --all-targets
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
21 changes: 19 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
## Unreleased
## 0.18.0

* Breaking API changes (motivated by performance gains in some scenarios):
- Removing the `Row` and `InterlacedRow` structs
- Removing the `Reader::next_interlaced_row` method
- Changing the signature of the `Reader::next_row` method

## 0.17.13

* Fix `Send` bound on `Reader`.

## 0.17.12

* Reject zero-sized frames.
* Optimized decoding of paletted images.
* Removed remaining uses of miniz_oxide for decoding.
* Correct lifetime used for `Info` struct.
* Fix build issue with `-Z minimal-versions`.

## 0.17.11

Expand All @@ -7,7 +24,7 @@
* Added `new_with_info` constructor for encoder.
* Removed hard-coded memory limits.
* No longer allow zero sized images.
* Added `Reader::finish` to read all the auxillary chunks that comes after the
* Added `Reader::finish` to read all the auxiliary chunks that comes after the
image.

## 0.17.10
Expand Down
Loading
Loading