Commit Graph

121 Commits

Author SHA1 Message Date
6ebf65d36d Add on-the-fly SpamSum calculation support 2025-10-03 03:45:20 +01:00
79ac2e380c Add SHA-256 checksum calculation support 2025-10-03 02:03:39 +01:00
1e569c68a1 Add SHA-1 checksum calculation support 2025-10-03 01:49:44 +01:00
59addd3efc Implement on-the-fly MD5 checksum calculation 2025-10-03 00:57:14 +01:00
9e128a0ab8 Add rewind tracking to aaruformatContext and initialize in create.c 2025-10-03 00:17:16 +01:00
8f9abf7288 Add MD5 implementation and integrate with existing codebase 2025-10-02 22:16:02 +01:00
1c0c9cbf71 Remove legacy Crc64Context structure for improved code clarity 2025-10-02 20:46:06 +01:00
86348f85a9 Remove unused CRC64 constants from consts.h 2025-10-02 20:45:47 +01:00
a8f39093bb Add support for negative sector addresses in read/write functions 2025-10-02 17:07:17 +01:00
5c7610c1c0 Use heuristics to setup table shift. 2025-10-02 04:40:16 +01:00
41aee42c53 Enhance documentation for various structures with detailed descriptions and formatting improvements 2025-10-01 05:35:39 +01:00
1f91ad1e08 Enhance documentation for enums with detailed descriptions and formatting improvements 2025-10-01 03:08:21 +01:00
641cb9824b Refactor include guards for consistency across header files 2025-10-01 02:55:59 +01:00
f6ed0f1856 Add hash map implementation for sector deduplication 2025-09-30 20:10:40 +01:00
d0f7bd7127 Fix error codes in errors.h to use parentheses for consistency 2025-09-30 18:48:49 +01:00
495a5bc55a Add error code for DDT entry setting failure and update related functions to return status 2025-09-30 18:47:38 +01:00
dda0ee89e8 Refactor variable names for consistency and readability across multiple files 2025-09-30 15:11:27 +01:00
352850a698 Refactor function signatures to use const char* for string parameters 2025-09-30 13:48:31 +01:00
ed665ee763 Add cachedDdtPosition to track primary DDT position for new tables 2025-09-28 19:44:15 +01:00
f5304c3173 Change nextBlockPosition type to uint64_t for improved precision 2025-09-28 18:42:01 +01:00
90ca1ee872 Initialize index entries array and update index management for DDT entries 2025-09-28 17:08:33 +01:00
d8e39eb87b Add primary DDT offset and implement DDT entry setting functions 2025-09-28 15:15:05 +01:00
d62e3119c2 Add slog logging support and update error handling in various modules 2025-08-13 20:16:42 +01:00
64c58c0300 Add write functionality for sectors and implement block closing logic 2025-08-13 16:17:45 +01:00
3b012797cb Implement creating AaruFormat image and writing header. 2025-08-07 15:43:35 +01:00
b06078b041 Implement decoding of two level DDT2 tables. 2025-08-05 23:10:54 +01:00
23d656ecab Add enumeration of sector status. 2025-08-05 01:05:03 +01:00
88e03824e0 Take into account size types when reading DDT v2. 2025-08-04 19:44:56 +01:00
0e7dafc510 Implement processing of DDT v2. 2025-08-04 16:31:29 +01:00
4b537e60a9 Define DDT2 header. 2025-08-03 20:48:30 +01:00
b504c8392d Implement support for reading file format header version 2. 2025-08-02 20:23:32 +01:00
5de2fc8f84 Introduce index block version 3 with enhanced fault tolerance and previous block referencing 2025-08-02 01:45:27 +01:00
d518458a63 Update copyright year. 2025-08-01 21:19:45 +01:00
9a4c04b2ca Implement support for index v2. 2025-08-01 21:18:48 +01:00
2811f41734 [lib] Fix data size mismatch. 2025-08-01 02:48:16 +01:00
af6e384678 Fix typo in comment. 2025-08-01 02:42:50 +01:00
a8a18cf4d7 [lib] Split structures in separate headers. 2025-08-01 02:41:48 +01:00
818101bf42 [lib] Fix data size mishap. 2025-08-01 02:13:48 +01:00
15cf92efd7 [Specification] Add data and table shift definitions to header and structs 2025-07-31 17:54:49 +01:00
ed15aa09be Fix data size mishap. 2025-07-31 14:47:54 +01:00
b715366186 [Library] Add V2 header. 2025-07-31 10:11:58 +01:00
1f813feec9 General refactor and cleanup. 2024-04-30 15:51:32 +01:00
bf6de56bc2 Implement image verification. 2022-10-12 17:30:12 +01:00
a1a3ac3c51 Fix repeating error numbers. 2022-10-12 17:29:31 +01:00
3b59b07a4c Fix declaration for aaruf_read_sector_long(). 2022-10-12 16:19:05 +01:00
0837a549b7 Use uthash for media tags handling. 2022-10-04 20:32:26 +01:00
a2ea8eb09c Decode checksums block on opening. 2022-10-04 19:44:34 +01:00
12a6ada8b7 Implement LZMA decompressing of blocks and DDT when opening. 2022-10-04 18:34:42 +01:00
d29a2941f8 Invert CRC64 endian when reading AaruFormat files created in Aaru. 2022-10-03 18:16:11 +01:00
5dab1b937f Fix malloc include. 2022-10-03 18:15:13 +01:00