Commit graph

1277 commits

Author SHA1 Message Date
Serial
307ef146d1
misc: Move question issues to discussions 2023-07-04 15:53:59 -04:00
Serial
ac3f0effbf
changelog: Update for #212 and #214 2023-07-03 20:29:21 -04:00
Serial
7fd0c3d37a ID3v2: Simplify text trimming 2023-07-03 20:07:06 -04:00
Serial
4bcae1cf3a ID3v2: Handle whitespace in number strings
Now whitespace will be trimmed and empty strings will be ignored.
2023-07-03 20:07:06 -04:00
Serial
2f995c1513 ID3v2: Fix module doc comment 2023-07-03 20:07:06 -04:00
Serial
d4af6535ba APE: Properly convert track/disk number pairs when writing
This also changes the default track/disk number to `DEFAULT_NUMBER_IN_PAIR`.

closes #159
2023-07-03 20:07:06 -04:00
Serial
1879c46e79 misc: Downgrade Clippy and rustfmt to stable toolchain 2023-07-03 17:29:25 -04:00
Uwe Klotz
97a53c0974 id3v2: Fix skipping of frames 2023-07-03 16:59:33 -04:00
Serial
fb0838ba3b ID3v2: Add a test for #214 2023-07-03 16:59:33 -04:00
Uwe Klotz
6549e92cf8 id3v2: Don't stop reading after skipping a frame 2023-07-03 16:59:33 -04:00
Uwe Klotz
ae5a7275e7 id3v2: Ignore frames with bad IDs while reading 2023-07-03 16:59:33 -04:00
Alex
f1e8ab6c2f Discard changes to src/id3/v2/tag.rs 2023-07-02 14:07:18 -04:00
Uwe Klotz
003848c087 id3v2: Report bad or unsupported frame IDs 2023-07-02 14:07:18 -04:00
Serial
bbfaa27085
0.14.0 2023-06-08 14:35:28 -04:00
Serial
2f3f604103
misc: Update deps 2023-06-08 14:32:09 -04:00
Serial
d1183c3ff7
lofty_attr: 0.8.0 2023-06-08 14:16:39 -04:00
Serial
51c526ef0e
misc: Add more categories to Cargo.toml 2023-06-08 14:15:43 -04:00
Serial
17867f53c7 Musepack: Update ID3v2 parsing to new signature 2023-06-06 10:34:37 -04:00
Serial
1fb0aaacc5 changelog: Add entry for Musepack support 2023-06-06 10:34:37 -04:00
Serial
045874829f Tests: Add missing Musepack SV5 test 2023-06-06 10:34:37 -04:00
Serial
b9e8c5cdd8 Misc: Update SUPPORTED_FORMATS.md 2023-06-06 10:34:37 -04:00
Serial
76823d105b Clippy: Promote field_reassign_with_default to global allow list 2023-06-06 10:34:37 -04:00
Serial
b2a604eb3d musepack: Add fuzz and bench targets 2023-06-06 10:34:37 -04:00
Serial
62190b8f9f musepack: Support SV4-SV6 property reading 2023-06-06 10:34:37 -04:00
Serial
d89250eef7 musepack: Support SV7 property reading 2023-06-06 10:34:37 -04:00
Serial
6888c17bad APE: Stop skipping the preamble in tests 2023-06-06 10:34:37 -04:00
Serial
8c854d54a1 musepack: Add SV8 properties test 2023-06-06 10:34:37 -04:00
Serial
314474e77d musepack: Fix variable length size reading 2023-06-06 10:34:37 -04:00
Serial
b1c9371a54 musepack: Stub implement SV7 and SV4-6 properties 2023-06-06 10:34:37 -04:00
Serial
fc1186bc5a musepack: Support MPC stream version 8 2023-06-06 10:34:37 -04:00
Serial
888e82bfaa file: Cleanup FileType::supports_tag_type 2023-06-06 10:34:37 -04:00
Serial
fe03f7ec41 APE: Deduplicate APE footer tag reading 2023-06-06 10:34:37 -04:00
Serial
3e72761970
ID3v2: Remove unused id3::util::synchsafe::unsynch_content 2023-06-04 23:21:22 -04:00
Serial
ea0e16ce7f changelog: Add entry for allocation limit change 2023-06-04 13:07:30 -04:00
Serial
1f8c06e96e misc: Add allocation limit to try_vec!
This adds an arbitrary allocation limit of 8MB for any one item, which should be more than enough in any case.

This was changed to stop the fuzz tests from failing with OOM errors.
2023-06-04 13:07:30 -04:00
Serial
6e555d1cb6 changelog: Add entry for ParsingMode::BestAttempt 2023-06-03 13:36:02 -04:00
Serial
e54a6135f9 ID3v2: Add test for #204
A UFID frame without an owner is invalid, and will fail in `ParsingMode::Strict`. In `ParsingMode::BestAttempt`, however, we will just replace it with an empty string.
2023-06-03 13:36:02 -04:00
Serial
ed68ca8851 OGG: Make use of ParsingMode in VorbisComments parsing
This introduces 3 new possibilities:

* Failure in `Strict` when encountering a mixed-encoding vendor string (previously continued)
* Ignoring failed picture reading in `Relaxed` (previously errored)
* Failure in `Strict` when an invalid key is encountered (previously skipped)
2023-06-03 13:36:02 -04:00
Serial
6b204ce397 probe: Document example behavior for ParsingMode variants 2023-06-03 13:36:02 -04:00
Serial
bf80fec0dd probe: Document how to use ParsingMode 2023-06-03 13:36:02 -04:00
Serial
f8267641a9 ID3v2: Don't require a UFID owner in ParsingMode::BestAttempt 2023-06-03 13:36:02 -04:00
Serial
21aa7d929d ID3v2: Pass parsing mode to frame parsing 2023-06-03 13:36:02 -04:00
Serial
464be3cb14 probe: Add new default ParsingMode variant
The new `BestAttempt` variant will be less eager to error than the previous default, `ParsingMode::Strict`. This comes with the consequence that the input may not be *entirely* correct.
2023-06-03 13:36:02 -04:00
dependabot[bot]
2cf46f957f Update criterion requirement from 0.4.0 to 0.5.1
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.1)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 09:52:29 -04:00
Serial
e8bcb7d8c0 changelog: Add entry for MP4 plID fix 2023-05-28 17:25:07 -04:00
Serial
dec830307c MP4: Fix parsing of plID atoms with incorrect codes
closes #201
2023-05-28 17:25:07 -04:00
Serial
b324bfa478
0.13.0 2023-05-08 11:44:53 -04:00
Serial
57fd5f42ea
ID3v2: Fix build without id3v2_compression_support 2023-05-08 11:41:07 -04:00
Serial
a60aed33e0 Clippy: Fix default_constructed_unit_structs 2023-05-08 11:31:28 -04:00
Serial
a845e38b60 lofty_attr: 0.7.0 2023-05-08 11:31:28 -04:00