Commit Graph

53 Commits

Author SHA1 Message Date
ab9ab4e164 Cast sector status values to uint64_t for correct bitwise operations in write.c 2025-10-10 18:33: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
5e346e6fd5 Rename XmlMediaType to MetadataMediaType for clarity and consistency 2025-10-09 02:26:09 +01:00
fafca45dae Remove concept of 16-bit DDTs. 2025-10-09 01:47:39 +01:00
c8a99d9538 Fix TRACE format specifiers for consistency in data types 2025-10-08 19:28:11 +01:00
b1001f7062 Fix allocation size for sector_decrypted_title_key to accommodate additional sectors 2025-10-08 19:21:50 +01:00
a94b68418f Fix flac_block_size condition to ensure minimum block size is applied correctly 2025-10-08 19:21:33 +01:00
0d53c988ad Fix EDC retrieval by using memcpy for correct data access 2025-10-08 19:21:14 +01:00
102ef6a1b7 Fix calculation condition for SpamSum in write operations 2025-10-08 19:20:47 +01:00
195aece466 Fix LZMA compression for data blocks. 2025-10-06 16:32:50 +01:00
bf96106bf3 Add documentation to aaruf_close_current_block 2025-10-06 15:49:18 +01:00
82980a8b0b Add support for block compression with LZMA and FLAC in writing process 2025-10-06 15:41:45 +01:00
296825546d Rename DvdDiscKeyDecrypted case to DvdTitleKeyDecrypted in read and write functions 2025-10-06 14:23:12 +01:00
85bdf4f43b Update sector tag handling for DvdCmi to use correct data size 2025-10-06 14:22:49 +01:00
53a03a9a5e Rename tracing function to aaruf_write_sector_tag for consistency 2025-10-06 14:04:38 +01:00
93c402ceff Add function to write per-sector tag data for optical and block media 2025-10-06 05:47:56 +01:00
4f321d65b8 Function rename to aaruf_write_media_tag 2025-10-06 05:15:51 +01:00
365f4f534a Add support for write long for DVD sector 2025-10-06 04:53:30 +01:00
7247a4a885 Add function to write media tags for AaruFormat images 2025-10-04 05:13:39 +01:00
bed8b39af6 Rename sectorSubchannel to sector_subchannel for consistency across the codebase 2025-10-04 02:08:58 +01:00
2be51227b7 Update aaruf_write_sector_long documentation. 2025-10-04 01:58:04 +01:00
95881b83bd Add support for writing various Apple Lisa long sectors. 2025-10-04 01:29:43 +01:00
74ba5c8bfe Rename sectorSuffix to sector_suffix for consistency 2025-10-03 22:53:45 +01:00
1feb82a678 Rename sectorPrefix to sector_prefix for consistency 2025-10-03 19:53:16 +01:00
879a41d5a1 Add long sector writing support and related error handling in write.c and context.h 2025-10-03 17:58:07 +01:00
38b9d1fa26 Implement track type handling for optical images in write.c and context.h 2025-10-03 15:25:01 +01:00
506b153930 Add support for on-the-fly BLAKE3 checksum calculation 2025-10-03 04:01:30 +01:00
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
87db877873 Implement bounds checking for sector addresses in read/write functions 2025-10-02 17:29:13 +01:00
a8f39093bb Add support for negative sector addresses in read/write functions 2025-10-02 17:07:17 +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
75c7ebfefd Enhance DDT entry functions to support existing entries and improve deduplication logic 2025-09-30 20:45:30 +01:00
f6ed0f1856 Add hash map implementation for sector deduplication 2025-09-30 20:10:40 +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
352850a698 Refactor function signatures to use const char* for string parameters 2025-09-30 13:48:31 +01:00
9382243369 Add detailed documentation for various processing functions in AaruFormat 2025-09-30 13:08:45 +01:00
ca5d8bf842 Fix memcpy destination offset in writing buffer to ensure correct data placement 2025-09-29 14:47:09 +01:00
71400ab276 Replace malloc with calloc for writing buffer allocation to ensure memory is zero-initialized 2025-09-29 14:46:55 +01:00
b02cab437f Refactor CRC64 handling in write sector logic to initialize context and update CRC at appropriate stages 2025-09-29 02:59:38 +01:00
201a1d7022 Update nextBlockPosition calculation for aligned block writing 2025-09-28 18:43:44 +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
ce20e37007 Add DDT entry setting function and integrate it into write process 2025-09-28 15:27:30 +01:00