Commit Graph

47 Commits

Author SHA1 Message Date
dc613fef8e Override sector status when setting DDT entry as it can be different than cached deduplicated entries. 2025-11-22 17:44:28 +00:00
bb6c427378 Fix calculation of negative sectors offset in DDT tables. 2025-11-22 13:51:10 +00:00
649ac6003d Pass parameter instead of hardcoded value in set_ddt_entry_v2. 2025-11-22 13:50:52 +00:00
61850a9520 Update DDT entry documentation to indicate 64-bit values 2025-10-11 01:34:22 +01:00
328c82223e Fix identifier check for secondary deduplication table in decode_ddt_multi_level_v2 2025-10-11 00:46:14 +01:00
c4564b3a0a Use specific block type for secondary level DDTs v2. 2025-10-10 22:18:00 +01:00
2806b879a8 Refactor DDT handling to use uint64_t for sector prefix and suffix data types 2025-10-10 22:06:48 +01:00
9e3c0af774 Remove unnecessary initialization of found_user_data_ddt in ddt_v2.c 2025-10-10 22:06:27 +01:00
17e1c0f2bd Set DDTv2 as 64-bit and remove concept of multiple sizes of DDTs. 2025-10-10 02:39:57 +01:00
b884cfe8ea Rename field names for consistency across the codebase 2025-10-09 02:33:35 +01:00
fafca45dae Remove concept of 16-bit DDTs. 2025-10-09 01:47:39 +01:00
15885c76a2 Enhance DDT processing in ddt_v1.c and ddt_v2.c with improved error handling for LZMA compression 2025-10-08 19:46:07 +01:00
12ef719608 Add missing compression in secondary level DDT v2. 2025-10-07 20:17:42 +01:00
2ec5aabd00 Add support for tape DDT management with hash table implementation 2025-10-07 18:03:19 +01:00
e5b9ebd92b Enable LZMA compression for secondary DDT and manage memory allocation 2025-10-06 23:42:05 +01:00
a8f39093bb Add support for negative sector addresses in read/write functions 2025-10-02 17:07:17 +01:00
05491bd935 Fix overflow detection when setting single level DDT v2. 2025-10-02 04:38:09 +01:00
d92b4b2987 Fix setting single level DDT v2. 2025-10-02 04:37:32 +01:00
4403cf267f Refactor variable declarations and expressions for improved readability and consistency across multiple source files 2025-10-01 02:54:51 +01:00
a7434322ea Add const qualifiers to function parameters and local variables for improved type safety 2025-10-01 02:34:42 +01:00
f1811e6b3c Refactor variable declarations for improved scope and clarity in multiple source files 2025-10-01 01:32:30 +01:00
75c7ebfefd Enhance DDT entry functions to support existing entries and improve deduplication logic 2025-09-30 20:45:30 +01:00
43c06775f0 Update return types in DDT functions to improve error handling 2025-09-30 20:10:55 +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
d5d2bb100f Enhance documentation for various functions 2025-09-30 16:03:34 +01:00
dda0ee89e8 Refactor variable names for consistency and readability across multiple files 2025-09-30 15:11:27 +01:00
9382243369 Add detailed documentation for various processing functions in AaruFormat 2025-09-30 13:08:45 +01:00
0260bcb4c3 Add overflow detection for DDT entries to prevent data loss 2025-09-30 12:35:36 +01:00
6df199f8e8 Fix nextBlockPosition calculation to prevent overwriting DDT and reset offsets 2025-09-30 01:51:18 +01:00
63e1a1403f Fix sector address calculation for cached DDT entries to ensure correct indexing 2025-09-30 01:50:45 +01:00
adbe4e1b2d Refactor secondary DDT table creation logic to check for cached entries 2025-09-28 21:26:26 +01:00
f7f9ce53dd Add TRACE logging for setting secondary DDT entries in cached structures 2025-09-28 21:25:55 +01:00
f992267f18 Implement handling for never-written cached secondary DDT, including writing to disk and updating index entries 2025-09-28 19:44:28 +01:00
ed665ee763 Add cachedDdtPosition to track primary DDT position for new tables 2025-09-28 19:44:15 +01:00
201a1d7022 Update nextBlockPosition calculation for aligned block writing 2025-09-28 18:43:44 +01:00
d4040e10af Update primary table entry to use calculated ddtPosition instead of cachedDdtOffset 2025-09-28 18:43:08 +01:00
e39e803c91 Align end of file to block boundary for improved data integrity 2025-09-28 18:42:33 +01:00
90ca1ee872 Initialize index entries array and update index management for DDT entries 2025-09-28 17:08:33 +01:00
a4b76fe509 Close current data block before writing cached secondary level table 2025-09-28 16:13:56 +01:00
d8e39eb87b Add primary DDT offset and implement DDT entry setting functions 2025-09-28 15:15:05 +01:00
bed8b75491 Enhance logging and error handling across multiple modules 2025-08-14 00:38:28 +01:00
d62e3119c2 Add slog logging support and update error handling in various modules 2025-08-13 20:16:42 +01:00
b06078b041 Implement decoding of two level DDT2 tables. 2025-08-05 23:10:54 +01:00
229f20faff Fix reversed math calculation when decoding DDT v2. 2025-08-05 02:48:59 +01:00
8bef2c3d60 Implement decoding of single level DDT2. 2025-08-05 01:29:50 +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