Commit Graph

104 Commits

Author SHA1 Message Date
Thomas Schmitt 580b154773 Adapted iso_node_merge_xattr to handling of all namespaces 2017-10-31 13:33:53 +01:00
Thomas Schmitt 34e35865fe Silenced harmless compiler warning -Wimplicit-fallthrough 2017-09-15 22:29:02 +02:00
Thomas Schmitt 188e36178b Reacted on some of the complaints of codespell 2016-07-22 16:03:51 +02:00
Thomas Schmitt 02a972a2d7 Closed a memory leak during retrieval of xattr. 2015-10-15 17:32:58 +02:00
Thomas Schmitt 79e6312397 Refactored error handling while encoding AAIP information.
Again Coverity CID 12564.
2015-10-15 08:38:56 +02:00
Thomas Schmitt fa5e27458a Removed surplus test which was always true. Coverity CID 12539. 2015-10-11 11:02:54 +02:00
Thomas Schmitt 78d2c02ad8 Closed memory leak with error in iso_file_make_md5(). Coverity CID 12573. 2015-10-09 20:35:15 +02:00
Thomas Schmitt 8f76b59541 Closed nasty memory leak with new API call iso_image_dir_get_node().
Coverity CID 12568.
2015-10-09 15:40:24 +02:00
Thomas Schmitt e35cb88328 Made sure that iso_file_get_old_image_sections() returns non-NULL only
if section_count > 0. Made sure that callers in libisofs expect all possible
outcome as announced by API description.
2015-10-09 12:03:14 +02:00
Thomas Schmitt 83fb614462 Closed memory leak in (improbable) case of error when attaching AAIP
attributes to IsoNode. Coverity CID 12564.
2015-10-09 11:03:38 +02:00
Thomas Schmitt 72ef369a40 Let loaded image adjust truncate length regardless whether larger or
smaller than the current truncate length.
2015-09-27 18:03:18 +02:00
Thomas Schmitt 218e26c974 Bug fix: iso_node_get_name() of root node returned NULL pointer rather than
an empty string
2015-09-27 12:30:24 +02:00
Thomas Schmitt 395128ef5f New AAIP variable isofs.nt records name truncation parameters. 2015-09-25 19:07:53 +02:00
Thomas Schmitt 7a3560035a Rectified handling of oversized filenames by new API calls:
iso_image_set_truncate_mode, iso_image_get_truncate_mode,
iso_truncate_leaf_name, iso_image_set_node_name, iso_image_tree_clone,
iso_image_add_new_dir, iso_image_add_new_file, iso_image_add_new_special,
iso_image_add_new_symlink, iso_image_dir_get_node, iso_image_path_to_node,
2015-09-17 13:59:05 +02:00
Thomas Schmitt dfd74d3d04 Bug fix: iso_file_get_old_image_lba() returned 0 in case of valid lba. 2014-04-23 16:22:37 +02:00
Thomas Schmitt d23462657b Installed debugging code for error ISO_RR_NAME_RESERVED 2014-02-16 14:40:28 +01:00
Thomas Schmitt 1338f29d62 Added a comment to node.c 2013-12-12 09:25:40 +01:00
Thomas Schmitt b95e1bb85c Giving sort weight 2 as default to El Torito boot images. 2013-09-07 21:37:27 +02:00
Thomas Schmitt 3f29d70aba Preserving MD5s of files from old session until the end of the new
write run. If the write run fails, the old MD5s get restored.
2013-08-20 11:48:24 +02:00
Thomas Schmitt 7001121a3f New flag bit with iso_node_set_attrs() to protect namespace "isofs" 2012-07-12 18:16:38 +02:00
Thomas Schmitt 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
Thomas Schmitt 6d10908a58 Detecting and rejecting multiple entries of user::, group::, other:: in ACL text 2011-08-24 09:23:02 +02:00
Thomas Schmitt 7e2add413a Reacted on warnings of -Wunused-but-set-variable 2011-07-04 15:35:43 +02:00
Thomas Schmitt 004aefd0b7 New API call iso_image_get_bootcat() 2011-07-03 21:02:19 +02:00
Thomas Schmitt 05f26898f3 Reacted on -Wextra -Wno-unused-parameter warnings of gcc for node.c 2011-05-21 23:16:35 +02:00
Thomas Schmitt fed8b23017 Returning proper error code on memory shortage with iso_node_lookup_attr(). 2011-05-06 13:30:37 +02:00
Thomas Schmitt 71efc996e3 New error code ISO_RR_PATH_TOO_LONG. 2011-03-28 15:00:44 +02:00
Thomas Schmitt 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
Thomas Schmitt 1f24b39879 Corrected sequence of IsoNode xinfo list after cloning. 2011-02-21 12:35:50 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt c0963596e5 New API call iso_node_get_hidden(). 2010-06-20 09:18:30 +02:00
Thomas Schmitt 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
Thomas Schmitt 3528493b92 Removed development macro Libisofs_with_checksumS
and made the affected code unconditional.
2010-05-08 22:24:02 +02:00
Thomas Schmitt 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
Thomas Schmitt 4b0f175a89 Reacted on compiler warnings from gzpLinux on kernel 2.6 2010-02-08 10:55:13 +01:00
Thomas Schmitt 23d3c43022 Removed more occurences of old restriction to GPLv2. 2010-01-27 06:48:59 +01:00
Thomas Schmitt cbb376a137 Introduced a default definition for PATH_MAX. 2009-12-31 08:48:51 +01:00
Thomas Schmitt b1c4571a95 Made development macro Libisofs_hardlink_matcheR unconditional
and removed an unused variable.
2009-08-22 22:27:24 +02:00
Thomas Schmitt 3f918d1acb New API call iso_file_make_md5() to equip old file nodes with MD5. 2009-08-22 19:38:07 +02:00
Thomas Schmitt ecf2ca044e Prevented that non-MD5 nodes from old image get an MD5 in appended session. 2009-08-11 21:08:15 +02:00
Thomas Schmitt 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
Thomas Schmitt 5d5a0cbfd4 Removed change timestamps of 0.6.19 2009-05-30 18:00:21 +02:00
Thomas Schmitt 4353a35c59 Removed some development remarks 2009-05-30 16:36:54 +02:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 46a947b602 Created means to inquire ECMA119_SYMLINK and ECMA119_SPECIAL
for their original fs,dev,ino
2009-05-03 19:21:21 +02:00
Thomas Schmitt 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