Commit Graph

935 Commits

Author SHA1 Message Date
e57e45e40b New API call iso_write_opts_set_hfsp_serial_number(). 2012-05-27 18:55:04 +02:00
1ed3ba7933 Introduced internal pseudo-random generators iso_random_uuid() and
iso_random_8byte().
2012-05-27 16:05:56 +02:00
3e2479c095 Fixed a bug in yet unused code which was introduced by rev 965. 2012-05-26 23:17:59 +02:00
bc7e8acb74 Corrected three comments about recently introduced error codes. 2012-05-26 23:09:55 +02:00
8770148cad Introduced inner API iso_apm_partition_request for definition of
Apple Partition Map entries by hfsplus.c.
2012-05-26 23:04:42 +02:00
6fc6a09040 Fixed several memory problems introduced by rev 965 2012-05-25 20:57:06 +02:00
a72fd6a309 Corrected a comment in libisofs.h 2012-05-25 19:55:45 +02:00
82f39020cf Attributed HFS+ blessings to IsoImage rather than IsoWriteOpts. 2012-05-25 19:34:09 +02:00
1842921b2c Adaptions to new HFS+ blessing interface by Vladimir Serbinenko. 2012-05-25 18:19:46 +02:00
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
177864bd13 Made struct iso_hfsplus_xinfo_data clonable. 2012-05-25 10:42:26 +02:00
ed986aa4ea HFS+ enhancement by Vladimir Serbinenko:
Mostly symlinks, POSIX files and attributes.
2012-05-25 08:25:45 +02:00
45bf3d9717 Cleaned out obsolete development remarks. 2012-05-24 21:46:53 +02:00
c1df1c9fd8 Corrected type of the new iso_hfsplus_xinfo_data members. 2012-05-24 19:49:52 +02:00
a7ae64e3c7 Removed an unused variable. 2012-05-24 19:33:57 +02:00
6cb5f802af Committing the yet incomplete implementation of SYSLINUX isohybrid
for MBR, UEFI and x86-Mac. This shall avoid tangling with ongoing HFS+
efforts.
2012-05-24 19:31:00 +02:00
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
201e7f15df Including <arpa/inet.h> 2012-05-24 13:54:49 +02:00
f040f31d05 Registered new error ISO_SECT_SCATTERED in iso_error_to_msg(). 2012-05-24 13:06:49 +02:00
9e2d82fc78 Updated Vladimir Serbinenko's work. 2012-05-24 11:27:21 +02:00
1a5c02a27e Updated Vladimir Serbinenko's work. Replaced his extension of Iso_File_Src
by a function that computes the size from Iso_File_Src.sections.
2012-05-24 09:19:23 +02:00
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
fae423fb54 Bug fix: The separator dot of Joliet names was byte swapped on big-endian
machines.
2012-05-23 20:58:31 +02:00
2c540b1f43 Vladimir Serbinenko began to implement production of HFS+ metadata.
This revision introduces the writer class and a first attempt to integrate
it into image production. Not yet functional.
2012-05-23 14:47:49 +02:00
6982971796 Bug fix: Volume descriptors of Joliet and ISO 9660:1999 beared non-zero
Effective Date, involuntarily restricting the early end of their lifetime.
Thanks to Vladimir Serbinenko.
2012-05-22 16:46:17 +02:00
3c7c534ded Bug fix: File Structure Version field of ISO 9660:1999 Enhanced Volume
Descriptor was 1 instead of 2. Thanks to Vladimir Serbinenko.
2012-05-20 20:37:25 +02:00
ff95a84130 Bug fix: Symbol iso_fs_global_id was missing in libisofs.ver.
Thanks to: http://upstream-tracker.org/versions/libisofs.html
2012-04-28 08:51:50 +02:00
f384961808 Bug fix: Memory corruption when reading bootable image that was truncated
before the storage location of the boot catalog
2012-04-19 09:29:31 +02:00
81dd6ce55a Version leap to 1.2.3 2012-04-02 19:12:39 +02:00
125789feef Version leap to 1.2.2 2012-04-02 19:00:27 +02:00
37efffcf26 Removed obsolete development comments 2012-04-02 11:36:16 +02:00
8a2fa9fe2e New API call iso_write_opts_set_allow_7bit_ascii(). 2012-03-22 11:18:44 +01:00
1247edff95 Reacted on warnings of cppcheck. 2012-03-21 20:28:15 +01:00
a2fe1a4100 Corrected flaws of revision 926. 2012-03-14 13:50:46 +01:00
4eb4146474 Improved standards compliance for ISO level 1 names with partly relaxed
constraints.
2012-03-14 09:07:59 +01:00
ce35aefb32 Bug fix: Directory name mapping to ISO level 1 was too liberal if
iso_write_opts_set_allow_dir_id_ext() was enabled.
2012-03-13 09:38:29 +01:00
269e0b19a5 Improved the ISO level 1 mapping of file names which begin by a dot. 2012-03-13 09:20:20 +01:00
0a8bb0e9b8 Made sure that empty relocation directory name leads to root directory. 2012-03-10 11:29:03 +01:00
76f2a5f4d3 New API call iso_write_opts_set_rr_reloc() 2012-03-09 19:59:51 +01:00
e49f9672bc Disabled skipping of ECMA-119 directory /RR_MOVED by name. 2012-03-06 16:18:05 +01:00
37f880797d Small comment change in libisofs/libisofs.h 2012-03-06 15:14:45 +01:00
ebea7c29ef Reporting name of base file with error message for filtered streams 2012-02-11 19:09:40 +01:00
09c49f777a Version leap to 1.2.1 2012-01-27 15:57:45 +01:00
5f76be9d76 Version leap to 1.2.0 2012-01-27 10:59:50 +01:00
6a1bbaa902 Extended influence of iso_write_opts_set_dir_rec_mtime() to Joliet and
ISO 9660:1999.
2012-01-14 15:54:25 +01:00
22fed6bedb Reacted on warning of cppcheck 2011-10-09 18:26:13 +02:00
3433592f69 Version leap to 1.1.7 2011-09-27 14:33:07 +02:00
d787ecbcd9 Version leap to 1.1.6 2011-09-27 14:29:18 +02:00
cb25d4d4e5 Clarified a remark about maximum length of RR name parts in CA. 2011-09-26 18:23:24 +02:00
afdef92343 Moved version number macros higher in libisofs/libisofs.h 2011-09-24 16:38:20 +02:00
2bc7084315 Adaptions and remarks about GNU/Hurd 2011-08-30 19:20:18 +02:00
6d10908a58 Detecting and rejecting multiple entries of user::, group::, other:: in ACL text 2011-08-24 09:23:02 +02:00
2ba54fafe7 New optional tolerance towards failure to restore "default" ACLS on FreeBSD. 2011-08-23 12:40:09 +02:00
ca63dac7e3 Enabled recording and restoring of extattr on FreeBSD.
Gave up unconditional ACL support in favor of configure control.
2011-08-22 17:10:13 +02:00
f885da8087 Avoided to restore xattr of namespace "isofs" if non-"user" restoring is
enabled.
2011-08-22 15:57:16 +02:00
8438db02cf Avoided to call calloc() for 0 bytes when reading Linux xattr. 2011-08-22 12:37:11 +02:00
ce19db5e19 Bug fix: On Solaris: False out-of-memory errors when writing images. 2011-08-19 12:40:45 +02:00
aeb5258ae2 Removed rogue comma from FreeBSD ACL adapter 2011-08-18 16:06:33 +02:00
f10c2d7779 New API call iso_local_attr_support() 2011-08-18 15:07:31 +02:00
82bfcf429a Bug fix: No ACLs were recorded on FreeBSD. 2011-08-18 10:29:34 +02:00
8fb8c01a0f Corrected a theoretical flaw in a code path which is not yet used. 2011-08-18 10:28:41 +02:00
73910e2f3c Bug fix: ACL entries of groups and of user id 0 were not properly recorded
and cannot be restored.
2011-08-18 10:26:09 +02:00
9c5fc21679 Small change in a comment 2011-08-18 10:24:47 +02:00
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
6892c734e2 Bug fix: The function for restoring ACLs and xattr returned error on
FreeBSD, even if no xattr were to be restored.
2011-08-09 19:00:03 +02:00
66f6937c17 Clarified stream version prescription and made internal stream data
instances static.
2011-08-09 14:59:19 +02:00
baa5b7cd42 Added missing symbol serial_id to libisofs.ver 2011-08-09 14:58:46 +02:00
ecdb3aeb1d Version leap to 1.1.5 2011-08-08 13:58:43 +02:00
745a878884 Version leap to 1.1.4 2011-08-08 09:35:46 +02:00
6ae8386c23 Bug fix: The function for restoring ACLs and xattr returned error on systems
other than Linux and FreeBSD, even if nothing was to be restored.
2011-08-08 08:25:18 +02:00
b90e613246 Reacted on warnings of cppcheck 2011-07-11 12:44:12 +02:00
bbc3caf86b Reacted on warnings of cppcheck 2011-07-11 12:43:12 +02:00
b086d53274 Reacted on warnings of cppcheck 2011-07-11 12:41:30 +02:00
17b36623a6 Version leap to 1.1.3 2011-07-08 14:42:09 +02:00
286648574d Version leap to 1.1.2 2011-07-08 10:28:12 +02:00
541b41b6a1 Clarified a comment about retrieving content of boot catalog. 2011-07-07 14:11:30 +02:00
91a8be5262 Silenced a warning of cppcheck about possible null pointer dereference. 2011-07-06 12:31:37 +02:00
91e99703b4 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 18:54:11 +02:00
dd7dac3397 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:07:35 +02:00
43d4833dd6 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:06:16 +02:00
dd1629b5ca Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:04:05 +02:00
bc8138ce78 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 16:00:29 +02:00
2d568c1dbb Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:56:26 +02:00
842b62d111 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:50:52 +02:00
4f3357e3ec Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:39:38 +02:00
9ffe91c372 Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:37:55 +02:00
7e2add413a Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:35:43 +02:00
004aefd0b7 New API call iso_image_get_bootcat() 2011-07-03 21:02:19 +02:00
00955ba85c Version leap to 1.1.1 2011-06-18 19:22:11 +02:00
4a79812d15 Version leap to 1.1.0 2011-06-18 14:23:02 +02:00
35cfb756be Bug fix: Padding as of iso_write_opts_set_tail_blocks() was added only
after cylinder alignment as of iso_write_opts_set_system_area()
         and thus spoiled this alignment.
2011-06-15 17:09:48 +02:00
2835fccfa4 Replaced some large local variables by other means in libisofs/util.c 2011-06-12 12:46:52 +02:00
31c7f68990 Replaced some large local variables by other means in libisofs/system_area.c 2011-06-12 12:28:38 +02:00
4e0ca258de Replaced some large local variables by other means in libisofs/stream.c 2011-06-12 09:59:53 +02:00
9653854462 Replaced some large local variables by other means in libisofs/rockridge.c 2011-06-12 09:51:08 +02:00
6e95f8bbcb Replaced some large local variables by other means in libisofs/messages.c 2011-06-11 22:23:44 +02:00
ce3aa0d5c7 Replaced some large local variables by other means in libisofs/md5.c 2011-06-11 19:23:32 +02:00
d5bfc552c4 Replaced some large local variables by other means in libisofs/joliet.c 2011-06-11 16:33:57 +02:00
bad54a5967 Replaced some large local variables by other means in libisofs/iso1999.c 2011-06-11 13:42:55 +02:00
49b0a89bfe Replaced some large local variables by other means in libisofs/fs_image.c 2011-06-11 12:40:33 +02:00
265df5fbe3 Replaced some large local variables by other means in libisofs/filesrc.c 2011-06-11 11:08:20 +02:00
f089bcf66a Replaced some large local variables by other means in libisofs/ecma119.c 2011-06-10 14:55:57 +02:00
062e5f0bf0 Changed error code of libisofs/util.h from -1 to ISO_OUT_OF_MEM 2011-06-10 14:55:34 +02:00
d932bfcdea Replaced some large local variables by other means in libisofs/builder.c 2011-06-09 16:51:00 +02:00
3ef67cb49d Replaced some large local variables by other means in libisofs/aaip_0_2.c 2011-06-09 14:27:41 +02:00
f08ae22dbe Macros LIBISO_ALLOC_MEM, LIBISO_FREE_MEM for replaceing local variables 2011-06-09 14:23:21 +02:00
023e413624 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for
libisofs/aaip-os-freebsd.c
2011-06-02 10:28:52 +02:00
d361186bca Made callers of iso_file_source_get_path() aware that NULL might be returned. 2011-06-01 11:37:30 +02:00
e7d9559d16 Avoiding to produce NM field for "." and ".." entries if Rock Ridge
version 1.10 is chosen by iso_write_opts_set_rrip_version_1_10()
2011-06-01 11:34:45 +02:00
94eecbb123 Reacted on static code checker warning reported by George Danchev 2011-05-22 20:23:48 +02:00
2b8d47ddd8 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util_rbtree.c 2011-05-21 23:21:14 +02:00
e839b7b368 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util.c 2011-05-21 23:20:44 +02:00
1334027a83 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for tree.c 2011-05-21 23:19:34 +02:00
8d3a0a6a9e Reacted on -Wextra -Wno-unused-parameter warnings of gcc for system_area.c 2011-05-21 23:19:06 +02:00
7b7ea41f12 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for stream.c 2011-05-21 23:18:35 +02:00
bb5886094e Reacted on -Wextra -Wno-unused-parameter warnings of gcc for rockridge_read.c 2011-05-21 23:18:00 +02:00
b076ce9b44 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for rockridge.c 2011-05-21 23:17:38 +02:00
05f26898f3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for node.c 2011-05-21 23:16:35 +02:00
a698f0ee22 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for messages.c 2011-05-21 23:16:10 +02:00
e69854b35f Reacted on -Wextra -Wno-unused-parameter warnings of gcc for md5.c 2011-05-21 23:15:48 +02:00
228995c148 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for make_isohybrid_mbr.c 2011-05-21 23:15:19 +02:00
071e14f9b0 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for joliet.c 2011-05-21 23:14:49 +02:00
b08d6271ab Reacted on -Wextra -Wno-unused-parameter warnings of gcc for iso1999.c 2011-05-21 23:14:16 +02:00
431d31fff6 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_local.c 2011-05-21 23:13:40 +02:00
a37571c6c5 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for fs_image.c 2011-05-21 23:13:16 +02:00
6e98006640 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for filters/zisofs.c 2011-05-21 23:12:29 +02:00
d264e818c3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for filters/gzip.c 2011-05-21 23:11:48 +02:00
d0f740facf Reacted on -Wextra -Wno-unused-parameter warnings of gcc for eltorito.c 2011-05-21 23:11:18 +02:00
944b5a6152 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for ecma119_tree.c 2011-05-21 23:10:21 +02:00
b51232fef4 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for ecma119.c 2011-05-21 23:09:44 +02:00
99f037e210 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for buffer.c 2011-05-21 23:08:53 +02:00
c794a48a06 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for aaip_0_2.c 2011-05-21 23:08:14 +02:00
47d599e8c3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for aaip-os-linux.c 2011-05-21 23:05:17 +02:00
0a87e838df Mentioned the need to define uint32_t when including libisofs.h 2011-05-19 15:43:44 +02:00
6d68abc707 Version leap to 1.0.9 2011-05-12 18:59:38 +02:00
e80dd0735b Version leap to 1.0.8 2011-05-12 18:55:58 +02:00
1d723f0834 Corrected an inappropriate variable type when setting xattr or ACL. 2011-05-12 16:22:02 +02:00
1a4b2a2584 Bug fix: SIGSEGV if the path given by iso_image_add_mips_boot_file()
does not exist in the image at image production time.
2011-05-09 15:32:27 +02:00
4eb2a7199c Bug fix: iso_write_opts_set_system_area() with system area types
1=MIPS Big Endian and 2=MIPS Little Endian caused SIGSEGV.
2011-05-09 15:12:52 +02:00
6d5e68fd01 Clarified two comments. 2011-05-06 13:32:06 +02:00
fed8b23017 Returning proper error code on memory shortage with iso_node_lookup_attr(). 2011-05-06 13:30:37 +02:00
e3329a98a9 Corrected previous revision which freed memory too generously 2011-05-01 22:49:34 +02:00
49efbdad76 Closed tiny memory leak detected by valgrind. 2011-05-01 16:44:20 +02:00
9538a5d57b Performing collision test before FileSource creation in iso_tree_add_new_node() 2011-04-28 20:24:17 +02:00
81608815ae Closed a memory leak which happened in case of memory shortage. 2011-04-11 20:49:03 +02:00
ae5ab4a08f Closed a memory leak of 32 kB per loaded ISO image. 2011-04-11 20:47:34 +02:00
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
9210a57500 Version leap to 1.0.7 2011-04-09 11:11:36 +02:00
8a752b50fa Version leap to 1.0.6 2011-04-08 19:47:18 +02:00
73c9c7f244 Removed inactive debugging code 2011-04-08 18:56:08 +02:00
0b9f03bb23 Fixed a typo in comments 2011-04-05 09:20:25 +02:00
d1c3a017e3 Cleaned up use of PATH_MAX (local filesystem) and LIBISOFS_NODE_PATH_MAX
(ISO filesystem).
2011-04-03 11:02:15 +02:00
b200feceed Requiring libjte version 1.0.0 (if libjte is to be linked at all). 2011-04-02 16:30:23 +02:00
c0bdf4d3b5 Reacted on warning about theoretical memory leak. 2011-03-28 20:43:13 +02:00
71efc996e3 New error code ISO_RR_PATH_TOO_LONG. 2011-03-28 15:00:44 +02:00
61383dea2d New error codes ISO_RR_NAME_TOO_LONG and ISO_RR_NAME_RESERVED for
occasions which previously returned ISO_WRONG_ARG_VALUE.
2011-03-26 20:54:20 +01:00
270cd1cad5 Closed a memory leak found by valgrind. 2011-03-26 19:23:51 +01:00
559e9b564d New API call iso_write_opts_set_joliet_long_names() 2011-03-26 15:38:08 +01:00
ba67523278 Version leap to 1.0.5 2011-03-10 13:43:13 +01:00
f09964cf51 Version leap to 1.0.4 2011-03-10 09:22:57 +01:00
655d86b97a Bug fix: Compilation failed if --disable-zlib was configured 2011-03-09 21:24:47 +01:00
f2f780115b New no_md5 value 2 for API call iso_read_opts_set_no_md5() 2011-03-08 19:37:52 +01:00
b6be8457f7 Fixed a memory hog introduced with rev 775. 2011-03-07 11:11:58 +01:00
1238c19494 Changed message about cylinder alignment. 2011-03-04 15:14:11 +01:00
2caf527f67 Refusign cylinder alignment if it is impossible to do it exactly. 2011-03-04 11:24:36 +01:00
43eae7502b New option bits 8 and 9 with iso_write_opts_set_system_area(). 2011-03-03 19:14:40 +01:00
e035146e01 Bug fix: isohybrid image size was not aligned to cylinder boundary.
Now the cylinder size gets adjusted if the image does not fit into 1024 cyl.
2011-03-01 18:31:59 +01:00
de3e21629f Corrected little flaws detected by George Danchev with cpp. 2011-02-24 20:02:56 +01:00
d79a3fcec4 Incresed mismatch test severity to FATAL again. 2011-02-23 20:16:59 +01:00
de079cec42 Version leap to 1.0.3 2011-02-23 20:14:10 +01:00
b33d06eb0c Version leap to 1.0.2 2011-02-23 13:01:56 +01:00
dfdaa2902a Reduced size mismtach test severity to WARNING.
This shall avoid the risk of false positives as long as the test is new.
2011-02-23 12:11:57 +01:00
a118127e9c Re-enabled use of system provide function timegm(), if available. 2011-02-21 13:46:46 +01:00
1f24b39879 Corrected sequence of IsoNode xinfo list after cloning. 2011-02-21 12:35:50 +01:00
16863755be Installed a check for miscalculated ECMA-119 tree size. 2011-02-20 12:10:26 +01:00
b25ac0f52d Avoided to give directories the same PX inode number.
(Solaris believes in them.)
2011-02-18 18:59:00 +01:00
5c59295e72 Bug fix: With a probability of 2 to 5 percent, AAIP could spoil the image
by miscalculating the number of root directory's CE blocks.
This lead to fatal offset of all further data by one block.
All sub directories and all data file content is affected.
Quite obvious to see. The problem existed since March 2009.
AAIP is used for recording of ACL and xattr. The problem gets enabled by call
iso_write_opts_set_aaip(opts, 1).
2011-02-18 17:39:21 +01:00
85893bf58b Removed warning not to use iso_tree_clone(). 2011-02-15 15:24:31 +01:00
722327e4b8 Overwriting eventually existing cloner of iso_node_xinfo_func with
iso_node_xinfo_make_clonable().
2011-02-12 14:48:31 +01:00
ab0a981814 Added capability to merge directories of cloned tree with existing
target tree.
2011-02-12 13:52:17 +01:00
38483d894e Added missing iso_filesystem_ref() for cloned node from local filesystem. 2011-02-01 22:16:05 +01:00
1082e628d1 New API calls iso_tree_clone(), iso_stream_clone.
New IsoFileSourceIface version 2 with method clone_src().
New IsoStreamIface version 4 with method clone_stream().
New public function prototype iso_node_xinfo_cloner.
New API calls iso_node_xinfo_make_clonable(), iso_node_xinfo_get_cloner().
New public iso_node_xinfo_cloner instance aaip_xinfo_cloner().
New API calls iso_node_get_next_xinfo(), iso_node_remove_all_xinfo().
New API call iso_node_remove_tree().
2011-02-01 19:16:45 +01:00
74c68224c7 Changed name of freshly introduce API call iso_write_opts_set_high_empty_address
to iso_write_opts_set_old_empty, reverted the meaning and the default.
2011-01-26 19:38:50 +01:00
200697898d New API call iso_write_opts_set_high_empty_address(). 2011-01-26 14:24:18 +01:00
a3eeda3d23 Yet incomplete implementation of IsoNode cloning.
(Commited to avoid tangling with upcomming 
 iso_write_opts_set_no_dummy_block_adr())
2011-01-25 10:50:37 +01:00
92073c45ef Bug fix: Volume Descriptor Set Terminator contained non-zero bytes in
the reserved field (ECMA-119 8.3.4). The bytes stem from an uninitialized
local variable.
2011-01-24 15:03:09 +01:00
81cded618d Better hiding of a defunct #ifndef 2011-01-18 17:50:26 +01:00
84c0bd37ff Avoiding <stdint.h> if not available. Trying to use <inttypes.h> in that case. 2011-01-18 16:18:09 +01:00
4e60feaeab Avoiding the use of setenv() and unsetenv() which are not available
on Solaris 9.
2011-01-18 15:26:19 +01:00
d6e150a10e Version leap to 1.0.1 2011-01-16 13:35:07 +01:00
35ceac65f7 Version leap to 1.0.0 2011-01-16 13:29:39 +01:00
45ffdef845 Closed loophole for undefined variable with new call
iso_write_opts_set_untranslated_name_len()
2011-01-16 13:28:07 +01:00
a69f45e8cd Made provisory test for directory record overflow permanent 2011-01-16 11:10:08 +01:00
68c3ae522e Added iso_memory_stream_new to list of public symbols. 2011-01-01 15:07:10 +01:00
8e2748f23b New API call iso_memory_stream_new(). (Was formely a private acll.) 2011-01-01 14:55:26 +01:00
f923a79929 New API call iso_write_opts_set_allow_dir_id_ext() 2010-12-25 08:11:19 +01:00
362b15f4d5 Bug fix: ECMA-119 directory names were truncated to 8 characters if
lowercase characters or full ASCII are allowed.
2010-12-24 20:31:24 +01:00
2649045dfe New API call iso_write_opts_set_untranslated_name_len() 2010-12-22 14:21:00 +01:00
113358daea Version leap to 0.6.41 2010-12-10 12:42:43 +01:00
6927fd35e8 Version leap to 0.6.40 2010-12-10 11:27:46 +01:00
b2fde289b1 Removed old change timestamp 2010-12-10 11:15:42 +01:00
dcc6ffd184 Avoiding to start writer thread if iso_write_opts_set_will_cancel() is set to 1. 2010-12-06 17:05:35 +01:00
27e69c38ab New error reply code ISO_DISPLACE_ROLLOVER for external data sources with
address displacement.
2010-11-30 09:47:22 +01:00
f4b2bfc0d6 Better messages if boot image or boot catalog directory are missing. 2010-11-25 17:01:40 +01:00
5482d5d7b4 Improvements about the block address of empty data files 2010-11-25 14:40:44 +01:00
b2997dcc46 New API call iso_write_opts_set_will_cancel() 2010-11-24 11:00:21 +01:00
48ae8acbd6 Better handling of El Torito boot images with identical block address
at image load time.
2010-11-24 10:06:19 +01:00
a488f8fb14 New API call iso_write_opts_set_disc_label(),
new system area type 3 = SUN Disk Label
2010-11-05 15:34:42 +01:00
8ad92a08ea Fixed a typo in a warning message. 2010-10-27 07:57:38 +02:00
35c043a0f9 Version leap to 0.6.39 2010-10-23 16:31:47 +02:00
fce35ac718 Version leap to 0.6.38 2010-10-23 15:28:02 +02:00
caf90e35f5 Fixed session oversize bug with emulated multi-session.
Introduced by revision 721.
2010-10-19 12:45:26 +02:00
1f486fd78b Coordinated appending of partition images with situations other than
isohybrid MBR production or partition offset.
2010-10-19 10:14:26 +02:00
b58d1e28ef New API call iso_write_opts_set_partition_img(). 2010-10-18 16:56:00 +02:00
ebb5937568 Removed obsolete development macro case. 2010-10-16 19:05:46 +02:00
ef444fb29c Removed remaining questions about MIPS Big Endian. Now rounding up the count
of cylinders.
Described MBR DOS-style partition table format.
2010-10-16 11:24:52 +02:00
1ccbaa302c United macro Xorriso_jte_standalonE with macro Xorriso_standalonE 2010-10-15 14:24:31 +02:00
0d35100eb0 New system area type 2 = MIPS Little Endian / DEC Boot Block. 2010-10-15 12:19:53 +02:00
48316af1d9 Made development option Libisofs_mips_boot_file_pathS unconditional. 2010-10-15 09:23:09 +02:00
a75fb9a894 New system area type 2 for Little Endian MIPS DEC boot block. 2010-10-14 22:34:32 +02:00
a0ba4b976c Described El Torito, grub-mkrescue MBR, MIPS Little Endian booting. 2010-10-14 17:26:56 +02:00
870280a018 Small adjustments and bug fix with new MIPS boot facility. 2010-10-13 16:59:18 +02:00
f33df0ef29 New API calls iso_image_add_mips_boot_file(), iso_image_get_mips_boot_files(),
iso_image_give_up_mips_boot().
The preliminary ban has been lifted to combine El Torito and MIPS Big Endian
boot facilities.
The current state of boot record documentation has been added to bzr.
2010-10-12 20:24:17 +02:00
2a087f6f39 Silenced a warning about const or non-const. 2010-10-12 12:23:16 +02:00
b07d3ab0c3 Provisory implementation of MIPS big endian Volume Header production.
For now it is mutually exclusive with El Torito production.
It will always be mutually exclusive with MBR production.
2010-10-12 12:20:27 +02:00
f12df92600 Requiring libjte-0.1.1 if enabled. Prepared for GNU xorriso to include libjte. 2010-10-07 13:43:57 +02:00
8a75d35c46 New API call iso_image_generator_is_running().
Prevented a potential race condition between Ecma119Image disposal by
burn_source and final activities of ISO generator thread.
2010-10-06 17:33:46 +02:00
bb28c69cae Stuffed a memory leak discovered by valgrind. 2010-10-05 19:58:54 +02:00
25068a4de2 Declared that iso_lib_version() and iso_lib_is_compatible() are permitted
before iso_init().
2010-10-04 15:47:09 +02:00
d2094a0d80 Compile time test and run time test for sufficiently recent libjte if enabled. 2010-10-04 14:56:24 +02:00
16dcf4a29c Draining and forwarding possibly enabled libjte message list.
Changed severity of error code ISO_LIBJTE_FILE_FAILED to MISHAP.
2010-10-04 13:18:06 +02:00
69a25c9734 New API call iso_write_opts_set_tail_blocks() for tail padding inside ISO image 2010-10-02 22:57:09 +02:00
a387a8b06a Removed hardcoded libjte test because xorriso now has a -jigdo command. 2010-09-30 09:31:40 +02:00
a9af97733e Allowed NULL as second arg of iso_write_opts_detach_jte(). 2010-09-29 10:08:30 +02:00
c30674095b Updated hardcoded JTE test case so that it produces non-trivial files. 2010-09-28 16:44:25 +02:00
be838b6940 Disabled the hardcoded JTE test which was introduced by previous revision 2010-09-28 12:15:23 +02:00
b0c79a9a1e New API calls iso_write_opts_attach_jte() and iso_write_opts_detach_jte() 2010-09-28 12:12:33 +02:00
8725baa55f Making use of libjte if installed and if not ./configure --disable-libjte 2010-09-27 18:22:05 +02:00
7386596bfa Version leap to 0.6.37 2010-09-15 11:14:12 +02:00
14171bdd3a Version leap to 0.6.36 2010-09-15 10:55:14 +02:00
d37eba5344 Removed outdated development marks 2010-09-15 09:28:05 +02:00
a2758b27e6 Automatic C++ detection by using macro __cplusplus 2010-09-11 19:18:42 +02:00
d5c4af7378 Removed development marks and an obsolete conditional compilation case. 2010-09-11 13:25:51 +02:00
90f37b8183 Introduced macro Libisofs_h_as_cpluspluS to avoid the definitions of
struct iso_file_source and struct iso_stream when libisofs.h is included
in C++ files. (The definitions contain members with name "class".)
2010-09-11 11:50:47 +02:00
1d4f26f325 Adjusted new partition offset feature for multi-session and MD5 tags. 2010-09-10 13:45:37 +02:00
08e442a2ab Removed dummy filter xor_sencrypt because there are real filters now. 2010-09-06 12:19:51 +02:00
017dcb39f2 New API function iso_write_opts_set_part_offset() controls creation of
an MBR with a first partiton table entry that bears non-zero start address.
A second set of volume descriptors and directory tree+tables gets created
which can be used to mount the image at the partition start.
Not yet implemented for second set: ISO 9660:1999, MD5 checksums.
2010-09-05 12:43:48 +02:00
95121e2f9f Forgot to store util_rbtree.c before previous commit. 2010-09-01 19:18:35 +02:00
ba11413a6f Corrected several memory leaks and potential NULL pointer evaluations
in case of memory shortage. All reported by George Danchev.
2010-09-01 10:45:10 +02:00
e1888df5ab Hopefully silenced warnings of doxygen on Debian buildd 2010-08-06 12:49:22 +02:00
b01f017a6d Hiding all non-API symbols from the linker by use of --version-script 2010-07-05 18:20:59 +02:00
b6427d3b2b Version leap to 0.6.35 2010-06-28 21:21:06 +02:00
438024d11b Version leap to 0.6.34 2010-06-28 14:12:33 +02:00
1d6fdf51dc New error code ISO_BOOT_NO_CATALOG 2010-06-23 19:54:51 +02:00
281462802f Reacted on harmless compiler warnings about allegedly uninitialized variables 2010-06-20 15:41:06 +02:00
2b2a86ea2e Moved some functions into the Libisofs_with_zliB case
which caused compiler warnings on OpenSuse Build Service.
2010-06-20 15:08:08 +02:00
c0963596e5 New API call iso_node_get_hidden(). 2010-06-20 09:18:30 +02:00
9be5b241e2 New API call iso_node_set_hidden(),
new IsoHideNodeFlag value LIBISO_HIDE_BUT_WRITE.
2010-06-18 22:03:41 +02:00
fcde936670 Remove a probably outdated test that was always false. 2010-06-04 16:21:14 +02:00
73c6bc49c6 Moved inclusion of config.h to top position.
Solaris complained about redefined _FILE_OFFSET_BITS. See man lfcompile.
2010-05-29 09:34:00 +02:00
5ed507da83 Forgotten inclusion of ../config.h in filters/*.c 2010-05-17 14:35:10 +02:00
ae626b9570 Eventually including autotools generated ../config.h with all source files.
(GNU xorriso plans to use autoheader for a diet of its build messages.)
2010-05-16 10:20:12 +02:00
3528493b92 Removed development macro Libisofs_with_checksumS
and made the affected code unconditional.
2010-05-08 22:24:02 +02:00
9cf460a3b1 Version leap to 0.6.33 2010-05-03 14:44:21 +02:00
84132ec7bf Version leap to 0.6.32 2010-05-03 14:34:36 +02:00
eb23260459 Removed most of the development remarks of 0.6.31 2010-05-01 20:38:01 +02:00
4978424328 Corrected calls of functions iso_lsb(), iso_msb(), iso_bb() which used
integer types other than uint32_t.
2010-04-30 11:36:14 +02:00
e4cf93665a Making an educated guess whether the boot images contain a boot info table.
New API call el_torito_seems_boot_info_table() publishes this guess.
2010-04-29 15:10:18 +02:00
3d9367d52a Closed memory leak about boot catalog node. 2010-04-25 20:27:17 +02:00
03b030c56d New API calls el_torito_get_isolinux_options(), el_torito_get_boot_media_type() 2010-04-25 14:11:45 +02:00
a3fe82100b Fixed a bug introduced with previous revision 655. 2010-04-23 19:00:50 +02:00
02d7a690eb New API calls el_torito_set_id_string(), el_torito_get_id_string(),
el_torito_set_selection_crit(), el_torito_get_selection_crit().
2010-04-23 18:01:27 +02:00
ace0d1ab2e Bug fix of previous revision 653:
SIGSEGV because of dereferencing NULL when writing without boot image.
2010-04-22 23:13:54 +02:00
59d143c1f0 Added support for multiple boot images.
New API calls iso_image_add_boot_image() , iso_image_get_all_boot_imgs(),
el_torito_get_boot_platform_id(), el_torito_get_load_seg(),
el_torito_get_load_size(), el_torito_get_bootable()
2010-04-22 14:04:51 +02:00
da2c0520cc Changed new API call from iso_image_set_boot_platform_id() to
el_torito_set_boot_platform_id().
Introduced new API call iso_image_set_boot_catalog_weight().
2010-04-20 16:23:17 +02:00
517f520570 New API call iso_image_set_boot_platform_id().
Downgraded ISO_WRONG_EL_TORITO and ISO_UNSUPPORTED_EL_TORITO from SORRY
to WARN and implemented the tolerance that is promised by their message
texts.
2010-04-20 11:10:00 +02:00
98d2b4c996 Version leap to 0.6.31 2010-04-17 13:23:49 +02:00
481d425580 Version leap to 0.6.30 2010-04-17 13:18:56 +02:00
99e988d652 Updated genealogy of isohybrid MBR production. 2010-04-17 08:46:45 +02:00
38a7b4a5b1 New API calls iso_read_opts_load_system_area() and iso_image_get_system_area() 2010-04-16 21:49:44 +02:00
1a7ab679cd Extended effect of iso_write_opts_set_pvd_times() parameter uuid to
creation time, to keep it consistent with modification time.
2010-04-14 12:00:43 +02:00
016baf9984 Implemented no_force_dots and separate omit_version_numbers for
Joliet to allow producing the same Joliet names as mkisofs -J.
2010-04-13 10:18:55 +02:00
b089f2e978 New bit1 of iso_write_opts_set_system_area() options.
New inner call make_isolinux_mbr() produces a bootable System Area
from an ISOLINUX mbr/isohdp[fp]x*.bin file and an ISOLINUX
El Torito bootable image (isolinux.bin).
2010-04-10 18:50:59 +02:00
c3d5ab7bc7 New API call iso_write_opts_set_pvd_times(). 2010-04-07 21:03:00 +02:00
f13167335a New API call iso_write_opts_set_system_area() acts like mkisofs option -G 2010-04-06 14:41:36 +02:00
f0f378c38f Adjusted copyright and license statements in single files. 2010-02-14 11:39:34 +01:00
00011036dd Updated license situation of make_isohybrid_mbr.c 2010-02-12 21:57:48 +01:00
55497d3931 Changed comments from "Linux" to "GNU/Linux" where appropriate. 2010-02-12 20:14:15 +01:00
c47f206fe3 Version leap to 0.6.29 2010-02-10 15:45:19 +01:00
386ce0e60a Version leap to 0.6.28 2010-02-10 15:37:56 +01:00
61f2cdd02b Wrapped #endif mark into comment characters. 2010-02-08 15:08:53 +01:00
f87c63da41 One more safety precaution about checksum indice. 2010-02-08 14:54:08 +01:00
afebbe187d Bug fix: Random checksum index could sneak in via boot catalog node
and cause a SIGSEGV if checksumming is enabled.
This and other occurences of malloc() were changed to calloc().
2010-02-08 13:46:45 +01:00
3951df25be Corrected a wrong constant with checksum indice of Iso_File_Src.
It could have caused false checksum negatives in images with billions of files.
2010-02-08 13:04:56 +01:00
4b0f175a89 Reacted on compiler warnings from gzpLinux on kernel 2.6 2010-02-08 10:55:13 +01:00
633a8ada9e Avoiding unnecessary use of pthread_exit() 2010-02-05 14:52:24 +01:00
83ace3b486 Changed leftover text which disallowed GPLv3. 2010-01-27 17:27:32 +01:00
23d3c43022 Removed more occurences of old restriction to GPLv2. 2010-01-27 06:48:59 +01:00
00470cbfea Version leap to 0.6.27 2010-01-20 10:19:50 +01:00
4c1abdf2bd Version leap to 0.6.26 2010-01-20 09:58:07 +01:00
d756551385 Removed outdated defunct code piece 2010-01-19 15:19:24 +01:00
ced02f5903 Bug fix: Invalid checksum tags were preserved when the new session produced
no checksums
2010-01-17 21:08:58 +01:00
819e3218f6 More graceful reaction on filesystems where ACL are not enabled. 2010-01-11 09:57:00 +01:00
da23a8166c Invalidating checksum buffer in case that image generation gets cancled. 2009-12-31 12:47:45 +01:00
cbb376a137 Introduced a default definition for PATH_MAX. 2009-12-31 08:48:51 +01:00
3852621bc0 Clarified that absolute paths to the local filesystem are expected. 2009-12-04 15:56:28 +01:00
0ff4cb34ed Version leap to 0.6.25 2009-10-08 14:47:08 +02:00
d863451771 Version leap to 0.6.24 2009-10-08 14:41:32 +02:00
78308eea24 Removed now unused function util.c:strcopy() 2009-10-08 13:29:27 +02:00
0ab2b8260c Bug fix: short Rock Ridge names got stripped of trailing blanks when loaded
and written again to a follow-up session. Long names could lose inner blanks.
2009-10-07 18:08:27 +02:00
a30bd36a81 Removed the remaining single blanks from empty PVD id strings.
No strcopy() any more in fs_image.c
2009-10-07 17:06:15 +02:00
3814396b08 Added code for repairing "_" in all three PVD id file names. 2009-10-05 21:01:04 +02:00
f88d8a76b0 Avoided to convert empty PVD components copyright_file_id, abstract_file_id, or
bibliographic_file_id to " " and then "_" during multi-session loading and
writing. New util function iso_util_strcopy_untail().
2009-10-05 17:18:20 +02:00
6bc1395e15 Avoided to return NULL by API calls iso_image_get_volset_id(), ...,
iso_image_get_biblio_file_id.
2009-10-05 13:48:18 +02:00
6bf538ff40 Expanded new API call iso_write_opts_set_scdbackup_tag 2009-09-17 16:41:54 +02:00
c992687200 New API call iso_write_opts_set_scdbackup_tag() 2009-08-31 23:09:16 +02:00
d9a11a3b8d Version leap to 0.6.23 2009-08-25 18:08:04 +02:00
2e7d85b85a Version leap to 0.6.22 2009-08-25 14:02:37 +02:00
dfe6d16353 Now transplanting checksum array even in case of aborted write run. 2009-08-25 10:54:50 +02:00
1ad1d02e9f Disabled AAIP debug mode. (IT seems safe enough.) 2009-08-23 20:33:33 +02:00
d0996450c7 Made development macro Libisofs_hardlink_prooF unconditional. 2009-08-22 22:33:04 +02:00
b1c4571a95 Made development macro Libisofs_hardlink_matcheR unconditional
and removed an unused variable.
2009-08-22 22:27:24 +02:00
3f918d1acb New API call iso_file_make_md5() to equip old file nodes with MD5. 2009-08-22 19:38:07 +02:00
cadd77776b Transplanting checksum buffer from Ecma119Image to IsoImage. 2009-08-20 17:08:07 +02:00
72e9c67d05 Closed a tiny memory leak found by valgrind. 2009-08-20 17:06:11 +02:00
62edebad06 Introduced file content stability check with iso_write_opts_set_record_md5(). 2009-08-19 22:26:18 +02:00
363a39af3e Better messages when aborting iso_image_import() due to checksum failure. 2009-08-18 18:38:29 +02:00
8b800094af Verifying checksum tags of superblock and tree if available and enabled.
New API call iso_md5_match().
2009-08-18 17:03:33 +02:00
868005ed0e Introduced checksum tag for relocated 64 kB superblock on overwriteable media. 2009-08-17 17:22:31 +02:00
07a67a59e7 Further enhancements of new API call iso_util_decode_md5_tag(). 2009-08-16 22:03:51 +02:00
955471a064 Augmented checksum tags for superblock and tree by parameter next=
for unambigous linking.
2009-08-16 16:58:41 +02:00
b4e2a60cd9 Introduced checksum tags for superblock and directory tree. 2009-08-16 13:57:42 +02:00
9467f2e644 New API call iso_util_decode_md5_tag(). Augmented checksum tag by self-MD5. 2009-08-14 16:32:10 +02:00
ba66a7896a Avoiding to equip old session nodes with 0-MD5 if the checksum array
was not loaded during own checksum mismatch.
2009-08-13 23:34:55 +02:00
74198afa04 Discarding MD5 array at image load time if its own checksum does not match. 2009-08-13 21:41:30 +02:00
40c39af271 Described libisofs MD5 recording and implemented checksum array checksum
and stream detectable session checksum tag.
2009-08-13 17:19:58 +02:00
ecf2ca044e Prevented that non-MD5 nodes from old image get an MD5 in appended session. 2009-08-11 21:08:15 +02:00
fd124c82d2 New API for MD5 production: iso_md5_start(), iso_md5_compute(),
iso_md5_clone(), iso_md5_end()
2009-08-11 12:07:32 +02:00
429b4cd21c New API calls iso_write_opts_set_record_md5(), iso_read_opts_set_no_md5() 2009-08-10 21:23:30 +02:00
b5f4a66c59 Initial implementation of MD5 checksums for session and single data files.
To be activated by macro Libisofs_with_checksumS.
New AAIP attributes "isfs.ca" and "isofs.cx".
New API calls iso_image_get_session_md5() and iso_file_get_md5().
2009-08-10 13:56:06 +02:00
4b5a5658a6 Improved alignment of ./configure --help texts
and avoided compiler warnings about unused variables with --disable-libacl
2009-07-03 20:11:01 +02:00
9c2bf0197b Introduced own automacro LIBBURNIA_CHECK_ICONV to handle iconv() peculiarities 2009-07-01 13:16:29 +02:00
e52b5e7f2a Provisory remedy for missing compile option -liconv
with GNU libiconv on FreeBSD.
2009-06-30 13:41:34 +02:00
0e14549521 Version leap to 0.6.21 2009-05-31 16:15:57 +02:00
1d44d931d0 Version leap to 0.6.20 2009-05-30 21:24:50 +02:00
5d5a0cbfd4 Removed change timestamps of 0.6.19 2009-05-30 18:00:21 +02:00
4353a35c59 Removed some development remarks 2009-05-30 16:36:54 +02:00
2f48297d25 Removed loud warning not to activate Libisofs_hardlink_matcheR 2009-05-28 13:25:21 +02:00
dfcb815480 Removed experimental code about inode number generation from LBA.
Obsoleted macros Libisofs_ino_from_lbA Libisofs_patch_ticket_144.
2009-05-26 18:47:23 +02:00
f370829717 Removed old code for AAIP 1.0 production.
Obsoleted macro Libisofs_aaip_2_0.
2009-05-26 18:41:51 +02:00