Commit Graph

96 Commits

Author SHA1 Message Date
f0f364fd0e On opening, set index in header. 2025-10-21 13:49:06 +01:00
b4df385b79 Add AARU_EXPORT and AARU_CALL macros to function implementations for consistency 2025-10-11 03:30:19 +01:00
2e11b05547 Update application name handling to support UTF-8 in version 2 and remove ICU dependency 2025-10-11 01:26:17 +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
d220ac44f3 Improve cache initialization by adding divisor check to prevent division by zero 2025-10-08 19:39:05 +01:00
6556a943bc Fix block processing flow by adding missing break statements for TapeFileBlock and TapePartitionBlock cases 2025-10-08 19:37:49 +01:00
95f9aa6f65 Initialize context memory after allocation to prevent undefined behavior 2025-10-08 19:37:36 +01:00
1e9ca18c6f Refactor aaruf_open function to improve readability and maintainability 2025-10-08 19:37:20 +01:00
f8488af80e Implement cleanup function for open failures to ensure proper resource deallocation 2025-10-08 19:37:04 +01:00
ca60bc53ed Add support for processing tape partition metadata blocks 2025-10-07 14:40:57 +01:00
f62899ed06 Add support for processing tape files and update context structures 2025-10-07 11:34:37 +01:00
4491df8689 Add support for processing Aaru metadata JSON blocks 2025-10-05 05:06:30 +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
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
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
0e7dafc510 Implement processing of DDT v2. 2025-08-04 16:31:29 +01:00
45c9b2c17f Implement index v3. 2025-08-03 17:45:20 +01:00
b504c8392d Implement support for reading file format header version 2. 2025-08-02 20:23:32 +01:00
01fbaa0016 Split checksum block processing from open to a separate file. 2025-08-02 16:49:53 +01:00
e081f09a71 Split dump hardware block processing from open to a separate file. 2025-08-02 16:46:04 +01:00
0d28399041 Split CICM XML metadata block processing from open to a separate file. 2025-08-02 16:21:50 +01:00
793de582ca Split tracks block processing from open to a separate file. 2025-08-02 16:17:57 +01:00
7ed1002273 Split geometry block processing from open to a separate file. 2025-08-02 16:11:26 +01:00
727e172908 Split metadata block processing from open to a separate file. 2025-08-02 16:04:55 +01:00
abe8a2bc12 Split deduplication table processing from open to a separate file. 2025-08-02 14:52:11 +01:00
090ddfe2e7 Split data block processing from open to a separate file. 2025-08-02 14:25:15 +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
4f25209145 Use utarray to process index entries. 2025-08-01 21:10:36 +01:00
788c7a2bc7 [refactor] Initialize variables to default values in multiple files 2025-08-01 15:34:36 +01:00
1f813feec9 General refactor and cleanup. 2024-04-30 15:51:32 +01:00
7db52bbe66 Fix handling CRC64 of data blocks with length 0. 2022-10-12 16:20:43 +01:00
417112d29a Fix interpretation of tracks block. 2022-10-12 16:19:48 +01:00
0837a549b7 Use uthash for media tags handling. 2022-10-04 20:32:26 +01:00
303b870410 Fix CST. 2022-10-04 20:06:21 +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
993f2cfe6c Remove code in tracks block interpreter that was doing nothing util but corrupting the heap. 2022-10-03 19:21:20 +01:00
12999164e3 Fix using wrong index when reading tracks block. 2022-10-03 18:46:39 +01:00
870bb4ec67 Fix reading dump hardware entries. 2022-10-03 18:46:17 +01:00
ce47ffe4f7 Fix debug print of found data types on opening. 2022-10-03 18:16:34 +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
8a9a5a6eb5 Fix double pointer freed. 2022-10-02 18:12:54 +01:00