Commit graph

40 commits

Author SHA1 Message Date
Serial
dcb08ca4c5 ogg_pager: Fix paginate_large test 2023-02-24 06:14:44 -05:00
Serial
493d864b16 ogg_pager: Make doc tests compile 2023-02-24 06:14:44 -05:00
Serial
b1444b90dc Clippy: Apply clippy lints to ogg_pager 2023-02-24 06:14:44 -05:00
Serial
6e33ca6a4c ogg_pager: Restrict page sizes to 8KB; Fix segment table generation when paginating 2023-01-21 11:24:09 -05:00
Serial
9c69f003ce ogg_pager: Add constants to separate maximum possible page size from written page size 2023-01-21 11:24:09 -05:00
Serial
d1beb78a97 ogg_pager: Store segment table in PageHeader 2023-01-21 11:24:09 -05:00
Serial
76fca86d1c ogg_pager: Add Packets::{len, is_empty} 2023-01-21 11:24:09 -05:00
Serial
efbd3315e5 ogg_pager: Fix Packets::read_count count check 2023-01-21 11:24:09 -05:00
Serial
9db2cd85d7 ogg_pager: Return number of written pages from Packets::write_to 2023-01-21 11:24:09 -05:00
Serial
53df9b4209 ogg_pager: Make operations less fallible 2023-01-21 11:24:09 -05:00
Uwe Klotz
dca773401d Use #[must_use] pub const fn new(...) whenever possible 2023-01-10 20:06:05 -05:00
Serial
263e0611fe ogg_pager: Fix packet content being overwritten before flush 2022-12-07 01:01:12 -05:00
Serial
2718a73e29 ogg_pager: Move Packets to its own module 2022-12-07 01:01:12 -05:00
Serial
ce4e2b1715 ogg_pager: Document Packets::{paginate, write_to} 2022-12-07 01:01:12 -05:00
Serial
75adb69ed1 ogg_pager: Redo pagination for proper packet handling 2022-12-07 01:01:12 -05:00
Serial
bf0ac4b0d1 ogg_pager: Set CRC to 0 prior to generation 2022-12-07 01:01:12 -05:00
Serial
5059258f35 ogg_pager: Store segment table in Page 2022-12-07 01:01:12 -05:00
Serial
cbe865dade ogg_pager: Remove Page::new 2022-12-07 01:01:12 -05:00
Serial
83e21b63bb ogg_pager: Fix Packets::read for multi-page reads 2022-12-07 01:01:12 -05:00
Serial
3776a9d960 ogg_pager: Add Packets::set 2022-12-07 01:01:12 -05:00
Serial
4061426814 Clippy: Apply lints for other projects 2022-11-24 15:26:36 -05:00
Serial
3f47c83632 ogg_pager: Document Packets struct 2022-11-24 14:24:57 -05:00
Serial
8051fafbc8 OGG: Read entire packets instead of pages
This makes the handling of OGG files a lot more spec-compliant, and simpler overall.
2022-11-24 14:24:57 -05:00
Serial
c675a5eb05
docs: Stop putting doc comments below attributes 2022-10-15 10:23:35 -04:00
Serial
39477efe17
Clippy: fix explicit_auto_deref 2022-07-03 17:43:10 -04:00
Serial
829b3e0e95
Clippy: misc 2022-06-10 08:35:26 -04:00
Serial
fa2a263a5c
Clippy: derive_partial_eq_without_eq 2022-06-10 08:26:29 -04:00
Serial
87315321ef
Cleanup 2022-04-13 13:28:48 -04:00
Serial
0426542f50
ogg_pager 0.3.2 2022-03-05 12:06:38 -05:00
Serial
43631ee977
ogg_pager 0.3.1 2022-03-03 17:03:20 -05:00
Serial
1068d707b2 Make everything in ogg_pager fallible 2022-01-26 11:24:09 -05:00
Serial
bc9fbd87ab Make ogg_pager more general-purpose 2022-01-07 12:49:02 -05:00
Serial
ddf449856b Prepare for release 2021-12-23 10:15:13 -05:00
Serial
efd4239c5a Rebase and update changes 2021-07-28 18:53:50 -04:00
Serial
37fc8ef905 Make Page::read take a mutable reference
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-30 00:40:45 -04:00
Serial
67d0e75655 Actually comment ogg_pager
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 15:02:39 -04:00
Serial
5481061149 Add extend function to ogg_pager
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 12:44:22 -04:00
Serial
d702eaba8c make crc32 function public in ogg_pager
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 22:01:27 -04:00
Serial
822a312b0d Separate segments function in ogg_pager
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 21:14:03 -04:00
Serial
9fb8a6fc79 Actually commit the OGG page crate
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 16:56:23 -04:00