Commit Graph

70 Commits

Author SHA1 Message Date
73f2df925b Reconstruct CD long sectors from DDT v2 images. 2025-10-09 12:29:23 +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
ae19b9198f Refactor error handling in aaruf_read_sector functions to improve robustness and set correct length values 2025-10-08 19:35:56 +01:00
227e9b478f Add missing free calls for allocated memory in sector reading functions 2025-10-08 19:35:15 +01:00
acf92f6dcf Add validation for LZMA block lengths and handle errors in sector reading 2025-10-08 19:34:22 +01:00
38efda2a50 Add error handling for fseek in aaruf_read_sector to improve robustness 2025-10-08 19:33:36 +01:00
fc4fe2d69d Fix TRACE logging to reflect correct function names in sector read error handling 2025-10-08 19:32:52 +01:00
6cb9af6270 Add NULL pointer checks for length in media tag and sector read functions 2025-10-08 19:31:57 +01:00
47750ca6e1 Fix TRACE logging to handle NULL length pointers in media tag and sector read functions 2025-10-08 19:31:02 +01:00
a826774f54 Add handling for additional DVD media types in long sector reading function 2025-10-06 14:48:34 +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
4c456e0ebc Add function to read sector tags from AaruFormat image 2025-10-06 14:05:00 +01:00
bed8b39af6 Rename sectorSubchannel to sector_subchannel for consistency across the codebase 2025-10-04 02:08:58 +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
cc56c2cc34 Rename mode2Subheaders to mode2_subheaders for consistency in context.h, data.c, close.c, read.c, and info.c 2025-10-03 19:19:31 +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
a1b3b5db92 Refactor variable declarations for improved clarity and consistency in multiple source files 2025-10-01 02:39:37 +01:00
a7434322ea Add const qualifiers to function parameters and local variables for improved type safety 2025-10-01 02:34:42 +01:00
d5d2bb100f Enhance documentation for various functions 2025-09-30 16:03:34 +01:00
bebdbee136 Refactor variable names for consistency in read.c 2025-09-30 15:21:53 +01:00
90ba53b071 Enhance documentation for media tag and sector reading functions in read.c 2025-09-30 15:20:15 +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
524e71ec61 Fix memcpy offset calculation in aaruf_read_sector() for correct data retrieval 2025-09-29 14:46:37 +01:00
d5e45a92fe Remove unnecessary memset for sector data in aaruf_read_sector() when sector status is not dumped 2025-09-29 10:11:00 +01:00
bed8b75491 Enhance logging and error handling across multiple modules 2025-08-14 00:38:28 +01:00
8bef2c3d60 Implement decoding of single level DDT2. 2025-08-05 01:29:50 +01:00
a9ca79e5a4 Move decoding of DDT v1 entries to separate function. 2025-08-05 01:05:31 +01:00
d518458a63 Update copyright year. 2025-08-01 21:19:45 +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
83e1ed5cb6 Fix returning proper status in aaruf_read_sector_long(). 2022-10-12 16:22:33 +01:00
ca0de28e13 Fix data copying in aaruf_read_sector_long(). 2022-10-12 16:22:12 +01:00
edb465df2a Fix track finding in aaruf_read_sector_long(). 2022-10-12 16:21:56 +01:00
8b90c00ca7 Free allocated memory when returning error in aaruf_read_sector_long(). 2022-10-12 16:21:25 +01:00
3b59b07a4c Fix declaration for aaruf_read_sector_long(). 2022-10-12 16:19:05 +01:00
fbcaf63f0d Implement decompression of FLAC compressed data blocks. 2022-10-12 13:16:44 +01:00
27b2bcf866 Implement decompression of LZMA compressed data blocks. 2022-10-12 13:10:44 +01:00
ebffe0712b Fix data block offset calculation. 2022-10-12 13:10:26 +01:00
0837a549b7 Use uthash for media tags handling. 2022-10-04 20:32:26 +01:00
5dab1b937f Fix malloc include. 2022-10-03 18:15:13 +01:00
dbd92b6c8d Fix fread usages in all library. 2022-10-02 17:55:45 +01:00
a610610f66 Implement caches. 2022-10-02 16:05:25 +01:00
3c09e60d93 Update file headers. 2022-05-28 12:57:21 +01:00
7705c3fbc4 Update copyright year. 2022-05-28 12:32:22 +01:00