215 Commits

Author SHA1 Message Date
4df22c47ef Add Floppy Write-Protect status to media tag and data type enums 2026-01-06 14:00:55 +00:00
Rebecca Wallander
c412030a8b Use block alignment offset instead of absolute offset 2026-01-01 13:37:21 +01:00
Rebecca Wallander
86b6680e3e Add data type to datastream block 2026-01-01 13:37:20 +01:00
Rebecca Wallander
65d34b1e9a Add flux implementation 2026-01-01 13:35:43 +01:00
3dc11ee8b1 Add static LRU hash map implementation with LRU-like eviction.
Not yet used.
2025-12-31 12:03:16 +00:00
b7e0f60673 Guard against writes of too big sectors. 2025-12-30 20:14:18 +00:00
7f0dea2755 Repurpose two unused header fields to store biggest image sector size. 2025-12-30 20:13:39 +00:00
3385caac5d Fix typo in secondary DDTv2 identifier (back-compatible until out of alpha). 2025-12-30 11:12:00 +00:00
344ce95619 Update parse_options function to return table_shift_found flag 2025-12-30 01:41:41 +00:00
43be8e89dd Change sector parameter types from uint16_t to uint32_t for negative and overflow sectors 2025-12-29 16:19:41 +00:00
2ce7e053e0 Add function to free Compact Disc ECC context and update cleanup logic 2025-12-28 17:04:14 +00:00
a93dcfc3d4 Add cache management functions and implement free callback for cached values 2025-12-28 16:57:19 +00:00
76656e25aa Sync media types with Aaru. 2025-12-26 16:00:10 +00:00
955789a160 Increase size of negative and overflow sectors in DDT2 to 32-bit. 2025-12-26 09:39:13 +00:00
050810c91d Update copyright year to 2026. 2025-12-23 08:23:40 +00:00
ced56fad6c Added second layer DVD PFI structure data type. 2025-12-13 11:59:19 +00:00
03c091fdee Add dirty flags so structures only get rewritten on resume if they are changed. 2025-12-12 12:22:39 +00:00
dc221d91ee Fixed missing comma in media types. 2025-12-10 00:30:37 +00:00
bd8c00e758 Synced media types with Aaru. 2025-12-01 12:55:48 +00:00
bbcadedd7e Fix declaration of aaruf_open. 2025-10-21 14:24:56 +01:00
f7da1e27bd Add support for resuming images. 2025-10-21 14:02:47 +01:00
94e44ef304 Do not consider rewinded the first time block 0 is written. 2025-10-20 01:13:14 +01:00
5cfffbcb68 Add function to retrieve readable media tags 2025-10-18 17:53:38 +01:00
0bb3a3376b Add function to retrieve readable sector tags 2025-10-18 17:46:43 +01:00
112f8ab320 Update sector tag constants for Aaru compatibility 2025-10-18 16:14:49 +01:00
36be5c9c8a Add functions to retrieve all tape files and partitions from AaruFormat images 2025-10-13 17:02:00 +01:00
556537c79e Add functions to clear various metadata fields in AaruFormat images 2025-10-13 14:24:51 +01:00
e66b263183 Add function to generate cryptographically strong random bytes for the GUID on image creation. 2025-10-11 13:24:45 +01:00
e2f3323a04 Sync specification with code. 2025-10-11 13:17:26 +01:00
dde81f6773 Add sector status parameter to read sector functions 2025-10-11 12:42:32 +01:00
c043ca207d Rename some enumerations because of collisions with Windows. 2025-10-11 03:31:06 +01:00
b4df385b79 Add AARU_EXPORT and AARU_CALL macros to function implementations for consistency 2025-10-11 03:30:19 +01:00
61850a9520 Update DDT entry documentation to indicate 64-bit values 2025-10-11 01:34:22 +01:00
e9f2dad6bf Fix typo in aaruformatContext structure documentation 2025-10-10 22:37:52 +01:00
c4564b3a0a Use specific block type for secondary level DDTs v2. 2025-10-10 22:18:00 +01:00
ffe9311a74 Fix some places where the DDT was still being used with 32-bit values. 2025-10-10 11:45:18 +01:00
17e1c0f2bd Set DDTv2 as 64-bit and remove concept of multiple sizes of DDTs. 2025-10-10 02:39:57 +01:00
4a915ee152 Add missing include for aaru.h in decls.h 2025-10-09 16:59:41 +01:00
791a7f8879 Add function to retrieve deep copy of ImageInfo structure from AaruFormat image 2025-10-09 15:39:22 +01:00
e4c9b3f295 Update ImageInfo documentation. 2025-10-09 15:31:34 +01:00
ef76712380 Add functions to retrieve user, negative, and overflow sectors in AaruFormat images 2025-10-09 14:59:45 +01:00
ac0e2610e1 Refactor context structure for improved padding 2025-10-09 02:37:46 +01:00
b884cfe8ea Rename field names for consistency across the codebase 2025-10-09 02:33:35 +01:00
5e346e6fd5 Rename XmlMediaType to MetadataMediaType for clarity and consistency 2025-10-09 02:26:09 +01:00
5be6727ec2 Refactor image info structure to use fixed-size arrays and improve UTF-16 to UTF-8 conversion 2025-10-09 02:24:09 +01:00
fb4acfcbda Refactor metadata handling in context structures to improve organization and clarity 2025-10-09 02:06:34 +01:00
b02f9d4402 Refactor aaruformatContext structure for improved organization and clarity 2025-10-09 01:57:32 +01:00
fafca45dae Remove concept of 16-bit DDTs. 2025-10-09 01:47:39 +01:00
ad595b4dac Remove unused function declaration for adding subindex entries in internal.h 2025-10-08 19:46:39 +01:00
49d827d07f Add metadata retrieval functions for media and drive attributes 2025-10-08 12:23:46 +01:00