Commit graph

1561 commits

Author SHA1 Message Date
Serial
eceb55044b picture: Make module public, remove re-exports 2024-04-14 13:16:10 -04:00
Serial
c2f711a81f io: Prevent unstable_name_collisions 2024-04-14 13:16:10 -04:00
Serial
bfae8baf7a traits: Move SeekStreamLen to lofty::util::io 2024-04-14 13:16:10 -04:00
Serial
95e389d703 math: Move module to lofty::util::math 2024-04-14 13:16:10 -04:00
Serial
9bb76d8ce6 changelog: Make list of items nicer 2024-04-14 13:16:10 -04:00
Serial
bf6e83876d traits: Move {Split,Merge}Tag to lofty::tag 2024-04-14 13:16:10 -04:00
Serial
e8fdbf4cdd doc: Fix some item links 2024-04-14 13:16:10 -04:00
Serial
07db142e2c doc: Fix even more example imports 2024-04-14 13:16:10 -04:00
Serial
adea986132 Accessor: Move to lofty::tag 2024-04-14 13:16:10 -04:00
Serial
ca8a3cb5b9 doc: Fix a bunch more test imports 2024-04-14 13:16:10 -04:00
Serial
cf778c1f58 tag: Remove global re-exports of tag items 2024-04-14 13:16:10 -04:00
Serial
826e55be23 doc: Fix a bunch of test imports 2024-04-14 13:16:10 -04:00
Serial
464f459e99 misc: Remove root file re-exports 2024-04-14 13:16:10 -04:00
Serial
2b0463f641 changelog: Update for changes so far 2024-04-14 13:16:10 -04:00
Serial
2159fee0c1 file: Split up file module 2024-04-14 13:16:10 -04:00
Serial
2193ab0531 misc: Separate module definitions 2024-04-14 13:16:10 -04:00
Serial
65851a4f93 misc: Move {Parse,Write,Global}Options to new module 2024-04-14 13:16:10 -04:00
Serial
df0be9e53e misc: Introduce prelude 2024-04-14 13:16:10 -04:00
Serial
9cf5d9c2ab
changelog: Remove PR links 2024-04-09 20:33:58 -04:00
Serial
bae5f27909
changelog: Add entry for new ChannelMask methods 2024-04-09 20:31:34 -04:00
Serial
3f607f5526
changelog: Add entries for Opus and AAC changes 2024-04-09 20:30:28 -04:00
Serial
c9738c84fd
AAC: Create a ChannelMask for AacProperties 2024-04-09 20:29:25 -04:00
Serial
1ff1f8a441
Opus: Create a ChannelMask for OpusProperties 2024-04-09 20:28:51 -04:00
Serial
5c69024b91 Properties: Breakup module
`FileProperties` and `ChannelMask` are no longer in the root. They are moved to `lofty::properties`.
2024-04-09 20:04:43 -04:00
Serial
b407fcf3fb Properties: Remove unused import 2024-04-09 19:46:57 -04:00
Serial
8eb7c06adb ChannelMask: Implement BitOr and BitAnd
This also adds associated constants for common channels.
2024-04-09 19:46:57 -04:00
Serial
2f2263378b benches: Switch to iai_callgrind + Bencher 2024-04-09 16:25:13 -04:00
Serial
b110072f84 ParseOptions: Stop deriving Ord
This was copied from some other struct when `ParseOptions` was made. It obviously should not exist.
2024-04-09 13:21:29 -04:00
Serial
31e3b8e7e9 WAV: Properly round length and bitrate values 2024-04-09 13:14:23 -04:00
Serial
fbaf325405 benches: Fix create_tag compilation 2024-04-09 13:14:15 -04:00
Serial
25dd1e7ba8 WavPack: Add a TODO for unknown sample counts 2024-04-06 00:43:52 -04:00
Serial
17a9261449 APE: Leave retaining read-only items for the future 2024-04-03 12:52:07 -04:00
Serial
c28df06416 FLAC: Respect preferred padding 2024-04-03 12:52:07 -04:00
Serial
d6d570fd83 WriteOptions: Add best practice doc comment 2024-04-03 12:52:07 -04:00
Serial
586f4add11 WriteOptions: Use default() instead of new() 2024-04-03 12:52:07 -04:00
Serial
81cac10bf6 WriteOptions: Make preferred_padding a u32 2024-04-03 12:52:07 -04:00
Serial
9f33e1af15 WriteOptions: Add notes to method docs 2024-04-03 12:52:07 -04:00
Serial
9de613c585 WriteOptions: Expand uppercase_id3v2_chunk doc 2024-04-03 12:52:07 -04:00
Serial
396427f034 WriteOptions: Remove useless Ord derives 2024-04-03 12:52:07 -04:00
Serial
f4611ca357 misc: Introduce WriteOptions
This allows the caller to tweak how Lofty writes their tags in various ways.

As this is just a dumping ground for all sorts of format-specific settings, this is best used as an application global config that gets set once.

In its current state, it will only respect `uppercase_id3v2_chunk` and `preferred_padding` (for some formats).

`respect_read_only` and `remove_others` are defined for later use.

closes #228
2024-04-03 12:52:07 -04:00
Serial
09a425e94c ID3v2: Fix overflow with large RVA2 peak
closes #295
2024-04-03 12:45:42 -04:00
Serial
1b8b519543 Vorbis: Fix panic with zero-length property reads
closes #342
2024-04-03 12:41:44 -04:00
Serial
a54861b02c ID3: Search through junk in find_id3v2() 2024-03-29 12:01:25 -04:00
Serial
87028cfa18 Accessor: Remove slashes in example 2024-03-28 13:54:26 -04:00
Serial
7b77c4f56f lofty_attr: Allow dead code 2024-03-28 13:54:18 -04:00
Serial
9559f09a61 misc: Remove redundant Try{From, Into} imports
Apparently these traits are in the prelude now.
2024-03-27 13:37:42 -04:00
Uwe Klotz
17b56505cc Run cargo-diet 2024-03-18 11:18:06 -04:00
Serial
f5ea28624e doc: Add logo to rustdoc 2024-03-09 21:43:49 -05:00
Serial
daf1339aae README: Give Lofty a logo 2024-03-09 21:43:49 -05:00
Uwe Klotz
e66aaabbf5 id3v2: Do not replace non-empty frames with duplicate, empty frames 2024-02-22 11:49:08 -05:00