Commit Graph

85 Commits

Author SHA1 Message Date
Thomas Schmitt d297ce3aed Prevented time rollover outside year intervals 1900-2155 and 1-9999 2020-09-21 21:17:20 +02:00
Thomas Schmitt dc3d82cf36 Fixed spelling errors found by fossies.org with codespell 2019-10-28 15:56:58 +01:00
Thomas Schmitt 458ab43ecd New API call iso_nowtime() 2019-04-18 10:56:01 +02:00
Thomas Schmitt c62d9d7b1b Replaced inclusion of version numbers from autotools by those from libisofs.h 2019-04-07 17:31:38 +02:00
Thomas Schmitt 496b8051c5 Bug fix: Interpretation of 17 digit timestamps was wrong. 2016-09-13 20:10:17 +02:00
Thomas Schmitt 50132d4ff7 Added forgotten emergency exit with faulty MD5 tags. Coverity CID 12596. 2015-10-11 09:44:15 +02:00
Thomas Schmitt a16d4a28f4 Explicitely set tm_isdst to 0 before calling timegm. Coverity CID 12592. 2015-10-10 21:33:08 +02:00
Thomas Schmitt 4633ea3bc8 Explicitely set tm_isdst to 0 before calling timegm. Coverity CID 12591. 2015-10-10 21:31:13 +02:00
Thomas Schmitt 05a2171e04 Closed memory leak with lack of memory during character set conversion.
Coverity CID 12579.
2015-10-10 12:29:01 +02:00
Thomas Schmitt 379e223a5c Cosmetic change in function return value. Coverity CID 12570. 2015-10-09 17:23:08 +02:00
Thomas Schmitt 0433b7ea75 Closed memory leak with lack of memory during character set conversion.
Coverity CID 12567.
2015-10-09 15:28:04 +02:00
Thomas Schmitt d8fb8b26a6 Closed memory leak with lack of memory during character set conversion.
Coverity CID 12566.
2015-10-09 14:14:55 +02:00
Thomas Schmitt fc448e09c9 Bug fix: Double free if no charset WCHAR_T is available. Coverity CID 12597.
(previous was CID 12601)
2015-10-08 19:35:22 +02:00
Thomas Schmitt 7b7da47d86 Bug fix: Double free if no charset WCHAR_T is available. Coverity CID 12597. 2015-10-08 19:27:28 +02:00
Thomas Schmitt b9ec876c40 Preventing a theoretically possible negative array index in find_utf8_start() 2015-09-28 11:36:45 +02:00
Thomas Schmitt 7a3560035a Rectified handling of oversized filenames by new API calls:
iso_image_set_truncate_mode, iso_image_get_truncate_mode,
iso_truncate_leaf_name, iso_image_set_node_name, iso_image_tree_clone,
iso_image_add_new_dir, iso_image_add_new_file, iso_image_add_new_special,
iso_image_add_new_symlink, iso_image_dir_get_node, iso_image_path_to_node,
2015-09-17 13:59:05 +02:00
Thomas Schmitt d4b8cbe474 New API object iso_interval_reader. Enabling flag bits for older API calls
iso_write_opts_set_prep_img(), iso_write_opts_set_efi_bootp(),
and iso_write_opts_set_partition_img().
2015-04-23 15:46:04 +02:00
Thomas Schmitt 7ea6d4ebcb Forced ECMA-119 timestamp generation to GMT if no timezone info is available. 2014-11-28 12:08:21 +01:00
Thomas Schmitt cdc336a02b Checking at configure time for timezone integer variable. 2014-11-26 14:26:14 +01:00
Thomas Schmitt dd27f579eb New API call iso_image_report_system_area() 2014-04-11 15:39:45 +02:00
Thomas Schmitt 7637d13e11 New API calls iso_image_set_hppa_palo() and iso_image_get_hppa_palo() 2014-01-14 09:43:28 +01:00
Thomas Schmitt 1be57e34ec Completed implementation of API call iso_conv_name_chars() 2013-12-28 15:36:33 +01:00
Thomas Schmitt b0e68bbcaa Fixed a memory access error introduced with rev 1099 2013-12-22 19:07:28 +01:00
Thomas Schmitt fa61b94ac8 Consolidated the single copies of IsoWriteOpts members in Ecma119Image
by having a copy of the whole IsoWriteOpts in Ecma119Image
2013-12-22 19:02:44 +01:00
Thomas Schmitt 3e3c15812b New API call iso_conv_name_chars(), provisory implementation 2013-12-19 15:41:55 +01:00
Thomas Schmitt 88555bd059 New API call iso_write_opts_set_joliet_utf16()
and ability to read Joliet names as UTF-16BE
2013-12-17 21:45:52 +01:00
Thomas Schmitt bc5e2227c8 Encoding HFS+ names in UTF-16 rather than UCS-2. 2013-11-26 12:47:43 +01:00
Thomas Schmitt 4c2a24514d Replaced use of ntohs() and htons() by iso_ntohs() and iso_htons(). 2012-07-06 17:33:45 +02:00
Thomas Schmitt b07d60bbfc Moved some functions from util.c to hfsplus.c 2012-07-03 18:56:26 +02:00
Thomas Schmitt bcd4b88319 First stage of implementation of GPT production.
The writer class for the backup GPT is not implemented yet.
2012-06-02 19:32:22 +02:00
Thomas Schmitt ab11c954d9 Created API and hfsplus interface of HFS+ blessing.
But iso_write_opts_bless() is still a dummy.
2012-05-25 14:40:06 +02:00
Thomas Schmitt 177864bd13 Made struct iso_hfsplus_xinfo_data clonable. 2012-05-25 10:42:26 +02:00
Thomas Schmitt a8b20b87aa New API functions iso_hfsplus_xinfo_func(), iso_hfsplus_xinfo_new()
and pre-version 0 of struct iso_hfsplus_xinfo_data.
2012-05-24 19:27:03 +02:00
Thomas Schmitt e5a4e33ebd Bug fix: Joliet name comparison was done as signed bytes and thus produced
a peculiar sorting order. Thanks to Vladimir Serbinenko. (For previous commit
too.)
2012-05-23 20:59:14 +02:00
Thomas Schmitt 8a2fa9fe2e New API call iso_write_opts_set_allow_7bit_ascii(). 2012-03-22 11:18:44 +01:00
Thomas Schmitt 4eb4146474 Improved standards compliance for ISO level 1 names with partly relaxed
constraints.
2012-03-14 09:07:59 +01:00
Thomas Schmitt 269e0b19a5 Improved the ISO level 1 mapping of file names which begin by a dot. 2012-03-13 09:20:20 +01:00
Thomas Schmitt ce19db5e19 Bug fix: On Solaris: False out-of-memory errors when writing images. 2011-08-19 12:40:45 +02:00
Thomas Schmitt 3a82f213e0 Implemented direct iconv conversion for the case that the traditional
two-step conversion via character set "WCHAR_T" fails. E.g. on Solaris.
2011-08-11 18:22:49 +02:00
Thomas Schmitt 91a8be5262 Silenced a warning of cppcheck about possible null pointer dereference. 2011-07-06 12:31:37 +02:00
Thomas Schmitt bc8138ce78 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:00:29 +02:00
Thomas Schmitt 2835fccfa4 Replaced some large local variables by other means in libisofs/util.c 2011-06-12 12:46:52 +02:00
Thomas Schmitt f08ae22dbe Macros LIBISO_ALLOC_MEM, LIBISO_FREE_MEM for replaceing local variables 2011-06-09 14:23:21 +02:00
Thomas Schmitt e839b7b368 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util.c 2011-05-21 23:20:44 +02:00
Thomas Schmitt 76b6737570 Bug fix: While loading an ISO image several reads to malloc
memory occured with byte index -1. (Found by Valgrind after years
of operation without visible problems.)
2011-04-11 20:19:35 +02:00
Thomas Schmitt 559e9b564d New API call iso_write_opts_set_joliet_long_names() 2011-03-26 15:38:08 +01:00
Thomas Schmitt f2f780115b New no_md5 value 2 for API call iso_read_opts_set_no_md5() 2011-03-08 19:37:52 +01:00
Thomas Schmitt a118127e9c Re-enabled use of system provide function timegm(), if available. 2011-02-21 13:46:46 +01:00
Thomas Schmitt 81cded618d Better hiding of a defunct #ifndef 2011-01-18 17:50:26 +01:00
Thomas Schmitt 4e60feaeab Avoiding the use of setenv() and unsetenv() which are not available
on Solaris 9.
2011-01-18 15:26:19 +01:00