Commit Graph

935 Commits

Author SHA1 Message Date
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
ef96f3588c Made use of iconv wrapper function unconditionally.
Obsoleted macro Libisofs_with_iso_iconV.
2009-05-26 18:23:59 +02:00
e8fc149423 Made centralized call of setlocale() unconditional.
Obsoleted macro Libisofs_setlocale_in_iniT.
2009-05-26 18:13:15 +02:00
e12d409b80 Made sure that IsoStream from old image are equivalent only if their
data extents have same LBAs and sizes.
2009-05-24 18:22:02 +02:00
b34fd35e62 Fixed bugs in iso_node_cmp_flag() introduced with revision 559
and clarified constraints for stream comparison functions in libisofs.h
2009-05-18 15:33:36 +02:00
714ee67472 New API call iso_node_cmp_ino()
and a bug fix about IsoSpecial and IsoSymlink in iso_node_cmp_flag()
2009-05-16 18:50:23 +02:00
8c4682ae92 IsoStream version 3 with cmp_ino(),
new API call iso_stream_cmp_ino() for proper comparison of filtered streams
2009-05-12 09:29:06 +02:00
5b073a2f29 New API call iso_write_opts_set_hardlinks() controls hardlink matching,
new API call iso_write_opts_set_rrip_1_10_px_ino() controls RRIP-1.10 PX size.
2009-05-09 20:45:14 +02:00
c6f1101e9d Fixed a severe inode number mash-up from revision 554
and a minor bug introduced with revision 547 (for ticket 147).
2009-05-06 16:18:45 +02:00
f8d3bca20a Registering fs,dev,ino of nodes which stem from outside the imported image
and using fs,dev,ino of IsoSymlink and IsoSpecial.
2009-05-05 22:03:44 +02:00
46a947b602 Created means to inquire ECMA119_SYMLINK and ECMA119_SPECIAL
for their original fs,dev,ino
2009-05-03 19:21:21 +02:00
56796ff55f Introduced hardlink unification at image generation time.
For now it works only with data files or with files from the imported image.
2009-05-03 17:08:29 +02:00
1cbae01f12 Outsourced stream comparison from iso_file_src_cmp() to iso_stream_cmp_ino() 2009-05-03 08:42:45 +02:00
da4634a593 Removed a redundant test expression 2009-05-02 19:57:39 +02:00
f18d5157dc Caused image root to memorize its eventual PX inode number. 2009-05-01 16:18:59 +02:00
1195614881 Removed a redundant line of code 2009-05-01 15:02:30 +02:00
1218e6e32d New API call iso_read_opts_set_new_inos() 2009-05-01 15:00:43 +02:00
95381ce258 Made directory inodes persistent during multi-session.
The reason is to produce a continued ino history for eventual incremental
backups from ISO images.
2009-05-01 12:49:37 +02:00
19fd87ef7b Small adjustments in new code after review. 2009-04-29 12:52:32 +02:00
d20da80767 Transfering inode numbers from PX entries to IsoNode during image import
and using these numbers in PX entries during next image generation.
This also answers the concerns about PX without ino in RRIP 1.12
and PX with ino in RRIP 1.10 images produced by mkisofs.
2009-04-28 22:40:15 +02:00
5009d1038d Made early preparations for implementation of hard link persistence 2009-04-26 12:57:17 +02:00
1ae2a39d1d Registered stream types "gzip" and "pizg" 2009-04-24 08:45:03 +02:00
70af4872c9 Clarification of iso_stream_get_source_path() result 2009-04-19 07:10:22 +02:00
71d491ed37 Version leap to 0.6.19 2009-04-17 14:35:30 +02:00
ece42746ec Version leap to 0.6.18 2009-04-15 20:50:34 +02:00
3f90111052 Removed change timestamps of 0.6.17 2009-04-15 16:50:44 +02:00
d87e5721db Removed some development remarks
and implemented skipping of zisofs headers larger than 16 bytes.
2009-04-15 13:22:20 +02:00
00802a1934 New API functions iso_file_add_gzip_filter() and iso_gzip_get_refcounts(). 2009-04-14 22:26:00 +02:00
c2f502b9a8 Silenced a compiler warning with zisofs filter 2009-04-14 11:48:41 +02:00
1f2fd259ae New API call int iso_node_zf_by_magic() for marking pre-compressed data
file nodes which were originally produced by program mkzftree.
2009-04-13 20:51:38 +02:00
9a873ed693 Fixed a bug with non-appending multi-session and zisofs decompression. 2009-04-12 16:21:46 +02:00
ec672ab903 Making sure that ZF fields get appropriately carried on with multi-session
even if osiz filters have been removed.
2009-04-12 13:13:04 +02:00
99ddd5c116 New API functions iso_zisofs_set_params(), iso_zisofs_get_params() 2009-04-11 19:10:37 +02:00
63ddfc1c94 Global reference counters for both zisofs filter types and
new API function iso_zisofs_get_refcounts()
2009-04-11 15:25:40 +02:00
6886777ea0 Installing a zisofs uncompression filter on file from ISO image which bear
a ZF entry. Storing ZF entries during image write if that filter is found
directly on a fsrc stream from the loaded image and content does not get
copied.
2009-04-11 14:15:34 +02:00
77591e4546 Using faster compression level
and fixed a bug with uncompression if the last block is all zero.
2009-04-11 07:49:20 +02:00
540df15ec9 Writing ZF entries if filters and image generation mode indicate so. 2009-04-10 22:38:16 +02:00
ce7a5c810f Implemented a zisofs uncompression filter. 2009-04-10 12:16:41 +02:00
a809a87eef New API call iso_file_add_zisofs_filter() (needs -lz and <zlib.h>).
This does not produce ZF entries yet but filtered file content already
suits mkzftree -uF
2009-04-09 16:18:50 +02:00
1b5328d619 Corrected a remnant "AA" in AAIP specs. 2009-04-07 18:11:30 +02:00
d565ae87f4 Removed dangerous test code of Libisofs_file_src_cmp_non_zerO. 2009-04-07 12:21:35 +02:00
98a6db7f7f Made comparison of file sizes in iso_file_src_cmp() unconditional. 2009-04-07 12:17:52 +02:00
8a0be8ca19 Corrected test of Libisofs_setlocale_in_iniT. 2009-04-07 12:13:22 +02:00
dd1cde0379 Made portability improvement Libisofs_avoid_using_allocA unconditional. 2009-04-07 12:07:48 +02:00
d8d2709de9 Made bug fix Libisofs_rrip_1_10_er_bugfiX unconditional 2009-04-07 11:52:03 +02:00
854a3b8088 Made bug fix Libisofs_external_filters_selecT unconditional 2009-04-07 11:45:17 +02:00
e8f8876ee6 New API function iso_stream_get_source_path() tries to obtain a source
path depending on the stream class.
2009-04-06 14:19:49 +02:00
f709a95fda Some documentation polishing in libisofs.h 2009-04-06 12:25:55 +02:00
d98081f173 (Forgot to store libisofs.h before rev 514) 2009-04-06 09:56:26 +02:00
6389bbbf58 Changed freshly introduced iso_file_get_external_filter()
to iso_stream_get_external_filter().
2009-04-06 09:52:21 +02:00
b27bcc7022 Experiment about select() versus non-blocking i/o. select() lost. 2009-04-05 14:48:03 +02:00
f2b7872fc6 Fixed a bug about detection of failure inside iso_file_add_external_filter() 2009-04-05 12:29:37 +02:00
da125e8f6b Changed sequence of fork and stream opening in extf_stream_class.open().
So the child does not inherit the pipe inlets of underlying filters
which would stay open and prevent those underlying filter children
from seeing EOF at their input.
2009-04-05 09:56:12 +02:00
198f6536bc New API call iso_node_lookup_attr()
and new xattr "isofs.st" for image start timestamp.
2009-04-03 15:34:23 +02:00
437713cd8e Moved storage location of suffix from xorriso into IsoExternalFilterCommand 2009-04-02 18:07:27 +02:00
0a265d9d4f Changed IsoExternalFilterCommand.behavior bit0.
The filter does not get installed if input size is 0.
This resembles more the other behavior bits.
2009-04-02 09:14:21 +02:00
806ea7b82e New component IsoExternalFilterCommand.name 2009-04-01 17:53:41 +02:00
e7853df2f4 Changed some documentation references from AAIP-1.0 to AAIP-2.0. 2009-03-31 13:00:33 +02:00
ece52dc070 Fixed a false success return value with iso_aa_lookup_attr(). 2009-03-31 12:16:19 +02:00
21de3e2087 Switched from AAIP-1.0 with field "AA" to AAIP-2.0 with field "AL"
because ancient Apple ISO 9660 already used "AA".
Old AAIP-1.0 enhanced images can still be read and luckily their AAIP fields
can be distinguished from eventual Apple AA fields.
2009-03-31 11:40:58 +02:00
d28351c5a4 Adjustment of minimal size for a IsoExternalFilterCommand.behavior bit2 filter 2009-03-29 18:45:00 +02:00
2534be5b5d Implemented IsoExternalFilterCommand.behavior bits 1 and 2
which control revocation due to insufficient size reduction.
2009-03-29 14:37:26 +02:00
681d092118 New IsoStream_Iface.version 2 with method .get_input_stream(),
new API function iso_stream_get_input_stream(),
new API function iso_file_remove_filter(),
iso_file_get_old_image_sections() now refers to the most original stream
of a file.
2009-03-28 19:37:44 +01:00
8b0920df53 Fixed a bug which prevented final waiting and caused lots of zombies 2009-03-27 21:25:44 +01:00
e759bd5240 mall adjustment in API description 2009-03-27 18:15:18 +01:00
1a307cb790 Introduced IsoExternalFilterCommand.behavior and implemented
optional shortcut with files of size 0.
2009-03-27 16:40:07 +01:00
41f75ea21f Fixed a SIGSEGV in iso_file_get_old_image_sections() with a
IsoFile from the old session which has not FSrcStreamData 
attached to its IsoStream.
2009-03-27 14:43:43 +01:00
6cf484442c Fixed a gridlock of external filtering in case that the
filter program is slow with processing.
2009-03-27 13:44:29 +01:00
691887fd2c New API function iso_file_add_external_filter()
with public parameter class IsoExternalFilterCommand
allows to use child processes as external content filter for IsoFile objects.
2009-03-26 17:34:38 +01:00
6f9db3d8c1 Introduced short notations for AAIP namespaces "trusted." and "security." 2009-03-22 11:15:05 +01:00
8eff065b5f Fixed wrong use of acl_free() 2009-03-21 22:59:06 +01:00
5f2bde776b Closed memory leaks opened with rev 487. 2009-03-21 11:09:14 +01:00
0402325ec2 New API call iso_read_opts_auto_input_charset() allows to obtain
the image tree character set name from root xattr "isofs.cs".
2009-03-20 17:48:42 +01:00
da2619c42a New API function iso_init_with_flag().
Moved setup of locale from various places to util.c:iso_init_locale().
It is now called by the iso_init*() functions only.
2009-03-19 12:56:25 +01:00
183ed6cc5a Made read_aaip_AA() safe against eventual Apple ISO AA fields 2009-03-18 10:27:28 +01:00
50edfbea51 Avoided use of function alloca() by macro Libisofs_avoid_using_allocA
and incremented version to 0.6.17
2009-03-17 21:25:43 +01:00
a6090a6273 Version leap to 0.6.16 2009-03-10 16:45:37 +01:00
a87c28da95 Made sorting order under Libisofs_file_src_cmp_sizE identical to
old sorting order. Just in case it matters.
(Is there any reason for the inverse order of dev_id ?)
2009-03-10 15:34:09 +01:00
4d0063f7e2 Bug fix: ECMA-119 ".." pointed always to the same block as ".".
Bug fix: iso_write_opts_set_rrip_version_1_10() caused wrong size of
         root record CE,
Stability enhancement: util.c:str2ascii() got a fallback for the case
                       that charset "WCHAR_T" is not available,
Debugging wrapper around iconv*() calls,
Experiments about inode numbers in fs_image,
Experiment to insert obsolete RR entries.
(Sorry for the obfuscation. Most is due to a hard ride on Solaris.
 See macros at the end of libisofs/libisofs.h)
2009-03-10 14:32:05 +01:00
4f468171ad Experiments about inode number generation for nodes out of the loaded
image.
2009-03-07 08:28:35 +01:00
8d8dcb9c93 Changed severity of ISO_FILENAME_WRONG_CHARSET from HINT to WARNING.
Keeping old error code as ISO_FILENAME_WRONG_CHARSET_OLD.
2009-03-03 16:47:53 +01:00
e1460aa9a6 Version leap to 0.6.15 and
new API call iso_write_opts_get_data_start()
2009-02-28 23:22:31 +01:00
4daf626493 Made root node write and read own AA entries. 2009-02-24 17:50:53 +01:00
f52c1aeb77 Version leap to 0.6.14 2009-02-19 17:02:29 +01:00
97d885fc9a Made AAIP 1.0 official, mentioned it in aaip source files,
and claimed copyright and GPLv2 on aaip source files.
2009-02-19 09:36:22 +01:00
0e0ecc1d00 Made code branch of Libisofs_with_aaiP unconditional
and removed change marks by (co-)copyright claims.
2009-02-18 23:01:14 +01:00
c1ba7d93d9 Removed dependencies of libburn where possible and removed
the remaining demo/iso_grow.c from Makefile.am.
2009-02-18 10:29:26 +01:00
e17a8c718f Fixed a memory leak underneath iso_node_get_attrs() 2009-02-17 15:40:00 +01:00
fb2309ea16 Moved iso_local_*() API functions from node.c to fs_local.c 2009-02-16 08:29:21 +01:00
e45f41fb44 Removed obsolete macro Libisofs_with_aaiP_retro and its unsuitable
code branches.
"AAIP_0100" gets issued if macro Libisofs_aaip_1_0 is defined.
2009-02-14 12:10:02 +01:00
0ada61b15e Gave up macro Libisofs_new_nm_sl_cE and the old computation of NM, SL, AA size. 2009-02-14 11:14:27 +01:00
c789c23119 Removed clearly obsolete code branches. 2009-02-14 11:05:33 +01:00
49821f6962 Made preservation of ACL in iso_node_set_attrs() more efficient 2009-02-13 20:05:42 +01:00
22e45ed489 Preserving non-userspace xattr if all userspace shall be overwritten. 2009-02-13 18:45:53 +01:00
1b3f5186e7 Revoked AAIP prescription to map reserved name start bytes into "user."
name space. (It made trouble with cyclic conversions.)
2009-02-11 08:30:37 +01:00
620547ac0a Recognizing future AAIP signature "AAIP_0100" 2009-02-10 21:02:58 +01:00
699866f984 Introduced into AAIP a short notation for name spaces "system.", "user.",
and "isofs.".
2009-02-10 20:36:34 +01:00
2633aab967 Fixed memory hog in read_aaip_AA().
todo: Find the reason why node xinfo is not freed when the image is discarded.
This helped the hog to survive undetected since January 14.
2009-02-09 17:46:35 +01:00
b09dcd5246 Fixed a bug about setting "default" ACL on Linux directories. 2009-02-09 11:17:33 +01:00
b1f8161006 Correct group permission bits with iso_read_opts_set_no_aaip(,1)
and node import from image with ACLs.
2009-02-08 12:45:15 +01:00
d7f691d6df Correct group permission bits with -acl off and import of disk file with ACL.
New API function iso_local_get_perms_wo_acl().
2009-02-07 21:00:43 +01:00
b5fd981482 Changing S_IRWXG from "mask::" to "group::" settings when
a non-trivial ACL gets erased. New API call iso_node_get_perms_wo_acl()
allows to obtain st_mode prediction for ACL removal.
Still to do: handle ACL stripping with st_mode import from local filesystem
and st_mode import from ISO image.
2009-02-07 09:48:30 +01:00
c974365b16 Extended the capabilities of iso_node_set_attrs() and
mentioned the new error codes in the error text generator
2009-02-06 11:41:24 +01:00
64a9b79224 Some comment changes which were not stored before the previous commit 2009-02-04 20:16:32 +01:00
e8267b71d1 Took into respect that ACL operations always happen on link targets
while xattr can happen on the link itself.
2009-02-04 19:53:00 +01:00
1add3e32c5 Revoked the iconv dummy of previous revision
Solution was:
  export CPPFLAGS="-I/usr/local/include"
  export LDFLAGS="-L/usr/local/lib -liconv"
  ./configure
2009-02-03 21:39:54 +01:00
4c13522783 Some adpations to FreeBSD
and a temporary dummy of iconv (which is not installed on the test box)
2009-02-03 16:13:08 +01:00
8d459c7f77 Fixed unterminated comment. 2009-02-02 21:33:22 +01:00
1eb8029e60 Some enhancements about xattr API. 2009-02-02 21:10:21 +01:00
4950f869cb Giving access to AAIP xattr by new API functions iso_node_get_attrs() and
iso_node_set_attrs. Giving access to local filesystem xattr by new API
functions iso_local_get_attrs(), iso_local_set_attrs().
2009-02-02 11:49:28 +01:00
84c100c2f5 Gave up adjustability of Signature Word "AA" in specs and implementation. 2009-01-30 18:58:11 +01:00
b600757649 Changed iso_node_set_acl_text() and iso_node_set_acl_text() so they
process both eventual ACLs of a node in one call.
2009-01-30 15:37:48 +01:00
313c4ff20f Silenced a warning of FreeBSD about shifting 32-bit dev_t by 32 bit.
Silenced warnings of FreeBSD about unused variables.
2009-01-29 21:54:24 +01:00
b824db94dc Clarified role of aaip_xinfo_func in libisofs API 2009-01-29 11:24:20 +01:00
9f60c75f08 Introduced generic ACL-EA-system adapter aaip-os-dummy.c
which steps in at compile time if neither __FreeBSD__ nor __linux is defined.
2009-01-29 10:52:08 +01:00
6dee6e4c20 More bug fixes about "default" ACL.
Made aaip_xinfo_func() available unconditionally.
2009-01-28 12:37:59 +01:00
b53ef57ac6 New API call iso_local_get_acl_text()
and bug fixes about "default" ACL
2009-01-27 21:19:49 +01:00
0b4792bc0c Mentioned the need for 64 bit file i/o 2009-01-27 12:19:10 +01:00
2cc74562fb Changed aaip API to allow fabrication of missing mandatory ACL entries
from st_mode
2009-01-27 09:50:55 +01:00
4ed2269570 Writing ES fields with RRIP and AAIP fields when ER of AAIP is written.
Also provided API call iso_write_opts_set_aaip_susp_1_10() which prevents
writing AAIP ER and consequentially of ES fields.
2009-01-26 15:12:57 +01:00
7dfec561d9 Avoided to store deleted ACL as attribute with empty value 2009-01-25 10:49:07 +01:00
dc26d8eefc Updating st_mode permission bits in iso_node_set_acl_text() 2009-01-24 17:45:22 +01:00
bd9b49714f Let configure detect availability of libacl and of Linux listxattr call
and aaip-os work around eventual missing functionality
2009-01-23 18:28:51 +01:00
aae339fe49 voiding to store empty ACL for all directories withou ACL 2009-01-23 13:17:22 +01:00
c801fa60f7 Incremented version to 0.6.13 and .so age to 9. 2009-01-23 09:43:52 +01:00
c8495481ca Controlling import and export of ACL, EA, AAIP 2009-01-23 09:32:32 +01:00
65e5b00171 Disabled loading of AAIP from ISO images by default
and provided new API function iso_read_opts_set_no_aaip()
2009-01-21 16:03:59 +01:00
bb69e14b08 Better messages of non-AAIP aware libisofs about AAIP enhanced images 2009-01-21 14:25:08 +01:00
a5aedd51a4 Re-enabled compilation without Libisofs_with_aaiP
but prepared messages of that code for existence of AA and ER of AAIP
2009-01-21 14:08:10 +01:00
1150ee32a4 New API call iso_node_set_acl_text()
and automatic update of ACL entries by iso_node_set_permissions()
2009-01-21 13:29:10 +01:00
d4ce4a7f88 Forgot to store node.c before committing 425. 2009-01-19 10:52:40 +01:00
6659ec1566 Correcting my statement in the previous commit:
There is defined correspondence between ACL and st_mode in Linux man 5 acl.
It is complicated and libisofs will have to ensure integrity of ACL
manipulations and st_mode manipulations. (It will not check integrity when
loading ACLs and st_mode from filesystems.)
2009-01-19 10:48:34 +01:00
6ad6d3c219 Gave up deleting of single ACL entries if they match st_mode.
Only totally trivial ACLs are discarded as a whole.
This seems necessary because the relation between st_mode and ACL
is not clearly defined in man 5 acl.
2009-01-19 09:50:29 +01:00
24fadd7649 New API function iso_local_set_acl_text() 2009-01-18 22:36:06 +01:00
723d23321a Handling ACL entries which match the POSIX permissions 2009-01-18 18:39:06 +01:00
ece6eca9a5 Avoided memory overflow with Aaip_encode_debuG 2009-01-17 20:25:00 +01:00
20adf50275 New API function iso_node_get_acl_text
Fixes for problems with CE usage and reading of multiple AA fields
2009-01-17 16:06:05 +01:00
c6f4370e71 Fixed a memory hog about submitting multiple fields in aaip_add_AA() 2009-01-16 13:38:02 +01:00
d01b3cc6cc Implemented generation of AA strings from local filesystem
and upgraded IsoFileSourceIface lfs_class to version 1
2009-01-16 13:24:30 +01:00
9dc56426c0 New API call iso_file_source_get_aa_string()
and IsoFileSource_Iface.version == 1 with ifs_class
Now libisofs is able to load AA strings from images and to store them again.
2009-01-15 21:58:48 +01:00
de99f93640 Implemented reading of AA fields to struct image_fs_data.aa_string
and defined IsoFileSource_Iface version 1 with access function .get_aa_string()
2009-01-15 17:43:58 +01:00
3c91c2f333 Implemented reading of AA field string from iso_node_get_xinfo().
(No AA strings get submitted as xinfo yet.)
2009-01-14 15:49:02 +01:00
3294dd5e94 Introduced AAIP code. Now linking with libacl.
(Todo: handle system dependy of -lacl in configure.ac)
2009-01-14 12:11:47 +01:00
e8f1dfb8e5 Silenced warning about multiple ER fields. Enabled recognizing of AAIP-ER.
Vreixo needs to explain TODO #00016 in fs_image.c
2009-01-13 20:44:36 +01:00
19661b0c05 Testing the ER field which announces AAIP. 2009-01-13 20:25:12 +01:00
1267052c03 Accounting for the size of AA fields in rrip_calc_len() 2009-01-13 18:35:14 +01:00
f7a47baa22 Experiment with dummy AA fields.
Looks good when writing. But when reading there are
problems with the directory size which is not aligned
to 2048.
2009-01-13 14:02:27 +01:00
cc9de1507f Described license situation of make_isohybrid_mbr.c 2008-11-25 17:11:52 +01:00
6b273ef79a Added a missing change for RRIP-1.10 option to rrip_calc_len() 2008-11-25 17:07:24 +01:00
a8c7d1b0e6 Removed surplus line from rrip_add_PN().
It was introduced with the FreeBSD port.
2008-11-25 16:53:36 +01:00
7990e01a57 More apostrophes removed from messages 2008-11-25 16:49:10 +01:00
23e2647920 Described need to pad isohybrid to full MB.
Removed compiler warning about isohybrid FIXME.
2008-11-25 16:32:55 +01:00
412ad2fcdb Version switch to 0.6.12 , libisofs-6.8.0.so 2008-11-25 15:39:40 +01:00
14dd988f0f New API function iso_write_opts_set_dir_rec_mtime() to store the mtime
of the source files in their ECMA-119 Directory Records
2008-11-25 15:31:33 +01:00
698fdec290 New API function iso_write_opts_set_rrip_version_1_10() allows to
write old fashioned RRIP-1.10 rather than RRIP-1.12.
2008-11-25 15:19:53 +01:00
28e8936b4f Bug fix ticket 144: File size damage by non-unique inode numbers of
pre-RRIP 1.12 images

Replaced the extent-LBA based inode number by a static 32 bit counter.
I deem it safe because if the numbers repeat within a single image
reading, then we are doomed anyway. I banned inode number 0 just in
case it has a meaning.

TODO: what if ER says IEEE_1282 but the PX field has only 36 bytes ?
2008-11-25 14:34:47 +01:00
0026c93cd4 Emphasized in the API docs the fact that
iso_image_create_burn_source() starts image generation.
Mentioned the FreeBSD timezone bug with API docs of
iso_write_opts_set_always_gmt().
2008-11-25 13:26:34 +01:00
fcf22cffe7 Small changes for the FreeBSD port. 2008-11-25 12:49:44 +01:00
ed1041a069 Bug fix for ticket 145: ISOLINUX boot image does not get patched properly
Delayed the computation of El Torito until
all other computation methods were called.
This ensures that the LBA of isolinux.bin is
already computed when the patching gets defined.
The position of the El Torito writer in the list
was not changed. The call sequence of the write
methods was not changed.
2008-11-25 12:23:25 +01:00
eccaac09cc New API functions iso_set_local_charset() and iso_get_local_charset() 2008-11-25 12:13:51 +01:00
88ef351e74 Removed apostrophe from some error messages and
dangerous text display from character set conversion
error messages.
2008-11-25 12:05:03 +01:00
Vreixo Formoso
cb3a879baf Fix bug in make_isohybrid_mbr(). 2008-10-19 16:09:23 +02:00
Vreixo Formoso
7e97a45b20 Support for writing MBR in the system area, to make hybrid boot images.
With the specified isolinux option, a MBR is written to the system area, and this 
allows the image to boot from either CD/DVD or USB sticks.

This is also supported on overwriteable media (note that system area is always
overwritten), but it should not work on multisession media.
2008-10-19 16:03:13 +02:00
Vreixo Formoso
7db39f99b6 Add new API to deal with isolinux options.
This deprecates el_torito_patch_isolinux_image() in favour of the new API, that also
allows the generation of an hybrid boot image.
2008-10-19 16:00:51 +02:00
Vreixo Formoso
186c2f2ff7 Add Thomas function needed to make isohybrid bootable images. 2008-10-18 16:50:20 +02:00
Vreixo Formoso
1a4c5ba679 Increment version to 0.6.11 for next development cycle. 2008-10-18 16:49:21 +02:00
Mario Danic
62315dfc44 I did more! 2008-10-06 08:44:14 +02:00
Vreixo Formoso
89b0e9da68 Patch isolinux image before image writing.
Currently isolinux images are patching on-the-fly during image writing, and
that can be a problem on multisession images, as we may be reading the
old image after begining the burning of the new session. That is not supported
in several media and lead to burning failure. Fixed by caching the patched
image on memory.
2008-09-29 22:33:26 +02:00
Vreixo Formoso
65252934de Fix SIGSEGV with El-Torito images. 2008-09-27 12:34:40 +02:00
Vreixo Formoso
60ab97b5f4 Increment version to 0.6.9 for next development cycle. 2008-09-20 21:14:36 +02:00
Mario Danic
b959b150e9 Preparing a release 2008-09-18 07:09:05 +02:00
Vreixo Formoso
68419703d7 Added iso_image_update_sizes() API.
This requires increasing IsoStreamIface version, as we need to add a new 
method on it. API/ABI remains compatible with older version.
2008-09-07 16:32:18 +02:00
Vreixo Formoso
e79ee64a2f Fix bug #140, related to isolinux size, following patch by Christian Ostheimer.
We had assumed isolinux images are always a multiple of 4 bytes. However, 
this does not happens with recent isolinux images.
2008-08-29 20:54:14 +02:00
Vreixo Formoso
33e058a66a Fix bug #139 related to a wrong constant usage on non-emulated boot images. 2008-08-28 16:44:54 +02:00
e91f12972b Switch to 0.6.7, error codes for iso_dat_source.read 2008-08-26 16:09:04 +02:00
Vreixo Formoso
c1a7702f52 Merge level3 branch, adding support for ISO-9660 Level 3. 2008-08-20 02:14:47 +02:00
Vreixo Formoso
37e6752375 Fix documentation related to valid error codes (see ticket #134). 2008-08-20 00:52:33 +02:00
Vreixo Formoso
1ccc532808 Improve messages shown on some errors (fixes ticket #137). 2008-08-20 00:40:20 +02:00
Vreixo Formoso
2de74d04a7 Fix severity of some errors (see ticket #137). 2008-08-20 00:40:11 +02:00
Vreixo Formoso
7a87f47542 Prevent negative priorities on wrong error codes (fixes bug #135). 2008-08-20 00:05:27 +02:00
Vreixo Formoso
690e02a461 Revert Mario workaround to deal with wrong error codes. 2008-08-19 22:28:18 +02:00
Vreixo Formoso
882073f145 Make ISO-9660 Level 3 be the default for Backup Write Profile. 2008-08-19 21:41:42 +02:00
Vreixo Formoso
fb3c3e1a6d Fix important bug. File sections must be computed before dir size. 2008-08-19 20:54:27 +02:00
Vreixo Formoso
ff480b35e9 Control size of extents with #define blocks, to help testing. 2008-08-19 19:44:47 +02:00
Vreixo Formoso
643dbef05c Store RR entries in Directory Record for each File Section.
Linux do not mount correctly images where RR entries are only stored in 
last File Section Directory Entry.
2008-08-19 03:46:41 +02:00
Vreixo Formoso
f9e15054db Correctly compute directoty size on Joliet and ISO-9660:1999 trees. 2008-08-19 03:46:04 +02:00
Vreixo Formoso
ce0949a585 Compute correctly directory size. 2008-08-19 03:31:50 +02:00
Vreixo Formoso
126e60741e Fix tiny memory leak. 2008-08-19 03:03:16 +02:00
Vreixo Formoso
2e99e1aac9 Add support for multisession on Level 3 images. 2008-08-19 02:45:20 +02:00
Vreixo Formoso
3a503a3e85 Implement iso_file_get_old_image_sections() and deprecate old way to obtain image lba. 2008-08-19 02:01:42 +02:00
Vreixo Formoso
87f08d27ac Add support for reading Level 3 images. 2008-08-19 01:08:46 +02:00
Vreixo Formoso
3f6da75e9c Only stored SUSP/RR entries in the directory entry for last extent. 2008-08-18 17:54:03 +02:00
Vreixo Formoso
6ff7699c47 Support for writting ISO Level 3 images.
This allows files greater than 4GB, that are written using multiple 
extents.
2008-08-17 21:59:48 +02:00
Mario Danic
fc46f4ec84 Preparing 0.6.6 release 2008-06-01 14:19:02 +02:00
Mario Danic
2cc8a6d978 Merged Vreixo branch 2008-06-01 10:41:52 +02:00
Vreixo Formoso
ab14c030bc Improve iso_write_opts_set_overwrite_buf() documentation.
Patch submitted by Thomas Schmitt.
2008-05-26 15:47:04 +02:00
Vreixo Formoso
86a3f4de22 Added iso_special_get_dev() API to retrieve devide id for device files. 2008-05-26 15:43:55 +02:00
Vreixo Formoso
558bdde116 Fix bug in read_rr_PN().
This caused device mino/major numbers to be read incorrectly from 
RockRidge PN entry.

Bug reported by Thomas Schmitt.
2008-05-26 10:48:25 +02:00
Vreixo Formoso
1756cf4c92 Fix a bug in iso_tree_path_to_node().
With paths where the last directory component is an existing 
non-directory in the ISO image and the leafname is any name it 
incorrectly returns 1 (node found).

Bug reported by Thomas Schmitt.
2008-05-26 10:46:28 +02:00
Mario Danic
84771aa83b Preparation for 0.6.4 release 2008-04-24 11:22:24 +02:00
Mario Danic
7e617733b1 Implemented safety cap and did merge with vreixo branch 2008-04-22 22:24:00 +02:00
Vreixo Formoso
ccc7b0b58f Fix allocation problem. 2008-04-05 17:08:17 +02:00
Vreixo Formoso
7b0da1ecd6 Add a function to get the path of a node in the IsoImage. 2008-03-17 21:42:44 +01:00
Vreixo Formoso
2374976b6d Make iso_dir_find_children() work recursivelly. 2008-03-17 17:24:42 +01:00
Vreixo Formoso
8b10d3107a Make IsoDirIters take also a ref on the dir they iterate. 2008-03-17 16:02:50 +01:00
Vreixo Formoso
987fa4b323 Improve find iterator, to make has_next() actually work. 2008-03-17 15:50:38 +01:00
Vreixo Formoso
166f1d83bd Expose node extended info. Add unit test for it. 2008-03-15 17:34:58 +01:00
Vreixo Formoso
648941cb15 lseek() needs to be added to the end to ensure ABI compatibility. 2008-03-08 21:48:03 +01:00
Vreixo Formoso
d455f9b540 Add support for cut-out files. 2008-03-08 21:45:19 +01:00
Vreixo Formoso
bad03a9a2b Add lseek() function to IsoFileSource. 2008-03-08 18:34:41 +01:00
Vreixo Formoso
69fe1d6074 Implement iso_tree_add_new_file() to add new files from scratch. 2008-03-08 17:28:40 +01:00
Vreixo Formoso
0c69463c5a Add support for adding a node with a given name. 2008-03-08 01:06:46 +01:00
Vreixo Formoso
ae43626f0b Definitelly fix ticket #127. Iterators now support asynchronous remove. 2008-03-08 00:45:19 +01:00
Vreixo Formoso
edc5ccf90a Added iterator global registry. 2008-03-06 23:59:32 +01:00
Vreixo Formoso
085f6b64a3 Add find condition to logically combine two find conditions. 2008-03-04 01:10:56 +01:00
Vreixo Formoso
d2a92bd0f6 Add find contitions to check for timestamps. 2008-03-04 00:53:25 +01:00
Vreixo Formoso
6b583aa31f Add find conditions to check for mode, gid and uid attributes. 2008-03-04 00:34:17 +01:00
Vreixo Formoso
cb47296913 Preliminary support for find nodes. 2008-03-03 22:02:10 +01:00
Vreixo Formoso
dd02d1d976 Convert IsoDirIter in an interface. 2008-03-03 21:18:54 +01:00
Vreixo Formoso
c75f1a430e Added function to get the lba of an old image file. 2008-03-03 20:42:06 +01:00
Vreixo Formoso
6d633caadb Improved DirIter implementation. 2008-03-02 18:20:19 +01:00
Vreixo Formoso
061dce1ec2 s/openned/opened. Deprecate incorrectly spelled errors. 2008-03-01 17:12:44 +01:00
Vreixo Formoso
31a92bd8bd Ensure filters are only applied to repeatable Streams. 2008-03-01 17:12:27 +01:00
Vreixo Formoso
241a7295ba Ticket #127 also affects iso_dir_iter_take(). Fixed. 2008-03-01 16:16:12 +01:00
Vreixo Formoso
b9331ba5c1 Fix bug in iso_dir_iter_remove(), ticket #127. 2008-03-01 15:57:12 +01:00
Vreixo Formoso
0dad87f035 Filters definition. Example XOR_encrypt filter. 2008-02-24 18:20:23 +01:00
Vreixo Formoso
37f69d5360 Remove IsoStream->get_name(), add version and type fields instead. 2008-02-24 16:58:07 +01:00
Vreixo Formoso
811743a147 Expose IsoStream and getter for IsoFile. API still not stable. 2008-02-23 18:03:12 +01:00
Vreixo Formoso
e5f1cfca40 Merge more Thomas contributions related to ticket #125. 2008-02-23 01:07:30 +01:00
353ed64d77 bundle_A80222_3 2008-02-22 22:43:30 +01:00
Vreixo Formoso
e80ae930ea Merge changes from Thomas (ticket #125). Minor changes on merge. 2008-02-22 21:42:17 +01:00
Vreixo Formoso
5a2ab22b81 Change version number to 0.6.3. 2008-02-22 21:24:20 +01:00
25ab8631e4 bundle_A80222_2 2008-02-22 19:43:09 +01:00
3fa3292564 message enhancements 2nd edition 2008-02-22 19:39:09 +01:00
a98b4eda40 ticket 125 2008-02-22 15:39:35 +01:00
Vreixo Formoso
5c2da2d97e Addition of stdlib.h header, it is reported to be needed. 2008-02-13 17:04:40 +01:00
Vreixo Formoso
397fc48664 Add MISHAP message severity. 2008-02-13 15:13:24 +01:00
Mario Danic
163313a7e2 Fixed stdlib-missing problem 2008-02-10 18:02:40 +01:00
Vreixo Formoso
fe4976497b Warn users when hidden El-Torito boot images are found. 2008-02-09 20:02:57 +01:00
Vreixo Formoso
9a70496d3c Fix serious bugs related with El-Torito. 2008-02-09 19:05:24 +01:00
Vreixo Formoso
02814b0ff7 Added verbose debug option. 2008-02-09 17:15:58 +01:00
Vreixo Formoso
79158554f1 Fixed another bug. 2008-02-09 02:33:15 +01:00
Vreixo Formoso
e6593c9738 Fix new bug introduced when fixing previous bug. 2008-02-08 22:32:33 +01:00
Vreixo Formoso
b501546627 Allow relaxe volume and volset id constraints. 2008-02-08 17:23:09 +01:00
Vreixo Formoso
e57b51a160 Bug fix, read errors are now handled propertly. 2008-02-08 10:31:09 +01:00
Vreixo Formoso
444689d163 Fix severe bug related with hidden el-torito catalog. 2008-02-07 19:10:45 +01:00
Vreixo Formoso
a48ee8b5ee Set version to 0.6.2. 2008-02-07 16:03:35 +01:00
Vreixo Formoso
ae004b1bfc Allow to use NULL as free function for image attached data. 2008-02-07 12:31:09 +01:00
Vreixo Formoso
ec7fc7d1b2 Rename iso_dir_get_nchildren() to iso_dir_get_children_count() 2008-02-06 18:52:26 +01:00
Vreixo Formoso
5088428742 Detect size changes on files. 2008-02-06 18:04:51 +01:00
Vreixo Formoso
293e8ab2fc Caused messages are submited with NOTE severity instead of debug. 2008-02-06 17:40:06 +01:00
Vreixo Formoso
3f84ec1fa3 Changes to error handling.
- API to get error code.
- Errors are submited to message queue by its error code
- Define error codes in libiso_msgs.h
2008-02-05 12:55:29 +01:00
Vreixo Formoso
ffd5727bee Use functions instead of macros to get the prio and severity of errors. 2008-02-04 02:16:12 +01:00
Vreixo Formoso
3510f56966 Better handling of cancelation. Just join thread if image already consumed. 2008-02-04 02:02:00 +01:00
Vreixo Formoso
8930de4026 Improve messages during cancelation. 2008-02-04 01:41:08 +01:00
Vreixo Formoso
99bcef4c53 Ensure propertly cleanup when image writting is canceled. 2008-02-04 01:17:33 +01:00
Vreixo Formoso
42d95c062d Sorting of files on image enabled by default. 2008-02-02 16:23:32 +01:00
Vreixo Formoso
e88b361b5f Make iso_read_image_features private. Add getters for its properties. 2008-02-02 16:05:03 +01:00
Vreixo Formoso
40fa6fc4a6 Set version to 0.6.2 in since tags. 2008-02-02 01:49:07 +01:00
Vreixo Formoso
c717152c88 Added since tag to all functions. 2008-02-01 12:15:44 +01:00
Vreixo Formoso
df8cc55a56 Merged Thomas changes related to version macros. 2008-02-01 10:19:53 +01:00
Vreixo Formoso
2d4ed82048 Documentation improvements. 2008-01-31 21:03:28 +01:00
Vreixo Formoso
1c13429348 Minor code format. 2008-01-31 20:19:30 +01:00
cbe33c9df2 Introduced header version macros into libisofs.h 2008-01-31 19:38:54 +01:00
Vreixo Formoso
88f6ae96b6 Added compilation check macros as proposed by Thomas. 2008-01-31 19:08:45 +01:00
Vreixo Formoso
16cfaf9059 Replace non standard FNM_FILE_NAME with POSIX FNM_PATHNAME. 2008-01-31 17:10:01 +01:00
Vreixo Formoso
99298c10a4 Move error codes to libisofs.h. Remove error.h header. 2008-01-30 23:43:59 +01:00
Vreixo Formoso
b6362a8680 Add wildcard support to excludes. 2008-01-30 21:40:26 +01:00
Vreixo Formoso
a8fe48189c Minor docs improvements. 2008-01-30 13:54:03 +01:00
Vreixo Formoso
e42a583a2f Support for different default permissions for file and dirs on image
import.
2008-01-30 13:21:41 +01:00
Vreixo Formoso
04c6bf39b4 Added little macros to simplify IsoNode type hierarchy handling. 2008-01-30 00:13:18 +01:00
Vreixo Formoso
0beee602b0 Minor docs. 2008-01-29 21:39:47 +01:00
Vreixo Formoso
ff0dd38e9f Add support for excluding arbitrary files when adding a dir recursively. 2008-01-29 20:43:59 +01:00
Vreixo Formoso
69d0503053 Added iso_lib_is_compatible() function. 2008-01-29 20:16:06 +01:00
Vreixo Formoso
6434de535c Users can now attach app specific data to IsoImage. 2008-01-29 00:12:33 +01:00
Vreixo Formoso
b3f4ca1cf7 Add IsoImage context as parameter for return function. 2008-01-28 23:55:55 +01:00
Vreixo Formoso
f2c8712b40 Make error.h header public. 2008-01-28 23:48:03 +01:00
Vreixo Formoso
fcaa0f32bc Little documentation improves. 2008-01-27 23:50:44 +01:00
Vreixo Formoso
39ec815ff1 os_errno is not used by libisofs, and thus is removed from API. 2008-01-27 18:38:55 +01:00
Vreixo Formoso
0869f7d472 Add iso_image_get_msg_id() API. 2008-01-27 18:20:33 +01:00
Vreixo Formoso
de338a2603 Check for non standard eaccess(), use open() otherwise. 2008-01-27 15:53:48 +01:00
Vreixo Formoso
5d9e481dff Check for non standard timegm, and replace it if not available. 2008-01-27 14:41:52 +01:00
Vreixo Formoso
b97121a0e9 Support for optionally store timestamps in GMT. 2008-01-27 14:23:59 +01:00
Vreixo Formoso
9c43f17aea Support mangling of ISO-9660:1999 file names. 2008-01-27 04:26:28 +01:00
Vreixo Formoso
86072d3b3b Update iso_obtain_msgs() to allow retrieving of imgid. 2008-01-27 03:56:37 +01:00
Vreixo Formoso
307a98815e src renamed to libisofs. 2008-01-26 22:18:07 +01:00