Commit Graph

174 Commits

Author SHA1 Message Date
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt a6090a6273 Version leap to 0.6.16 2009-03-10 16:45:37 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 4f468171ad Experiments about inode number generation for nodes out of the loaded
image.
2009-03-07 08:28:35 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt f52c1aeb77 Version leap to 0.6.14 2009-02-19 17:02:29 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt fb2309ea16 Moved iso_local_*() API functions from node.c to fs_local.c 2009-02-16 08:29:21 +01:00
Thomas Schmitt c789c23119 Removed clearly obsolete code branches. 2009-02-14 11:05:33 +01:00
Thomas Schmitt 49821f6962 Made preservation of ACL in iso_node_set_attrs() more efficient 2009-02-13 20:05:42 +01:00
Thomas Schmitt 22e45ed489 Preserving non-userspace xattr if all userspace shall be overwritten. 2009-02-13 18:45:53 +01:00
Thomas Schmitt 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
Thomas Schmitt b09dcd5246 Fixed a bug about setting "default" ACL on Linux directories. 2009-02-09 11:17:33 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 1eb8029e60 Some enhancements about xattr API. 2009-02-02 21:10:21 +01:00
Thomas Schmitt 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
Thomas Schmitt 84c100c2f5 Gave up adjustability of Signature Word "AA" in specs and implementation. 2009-01-30 18:58:11 +01:00
Thomas Schmitt 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
Thomas Schmitt b824db94dc Clarified role of aaip_xinfo_func in libisofs API 2009-01-29 11:24:20 +01:00
Thomas Schmitt 6dee6e4c20 More bug fixes about "default" ACL.
Made aaip_xinfo_func() available unconditionally.
2009-01-28 12:37:59 +01:00
Thomas Schmitt b53ef57ac6 New API call iso_local_get_acl_text()
and bug fixes about "default" ACL
2009-01-27 21:19:49 +01:00
Thomas Schmitt 0b4792bc0c Mentioned the need for 64 bit file i/o 2009-01-27 12:19:10 +01:00
Thomas Schmitt 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
Thomas Schmitt 7dfec561d9 Avoided to store deleted ACL as attribute with empty value 2009-01-25 10:49:07 +01:00
Thomas Schmitt c801fa60f7 Incremented version to 0.6.13 and .so age to 9. 2009-01-23 09:43:52 +01:00
Thomas Schmitt c8495481ca Controlling import and export of ACL, EA, AAIP 2009-01-23 09:32:32 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 24fadd7649 New API function iso_local_set_acl_text() 2009-01-18 22:36:06 +01:00
Thomas Schmitt 723d23321a Handling ACL entries which match the POSIX permissions 2009-01-18 18:39:06 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 23e2647920 Described need to pad isohybrid to full MB.
Removed compiler warning about isohybrid FIXME.
2008-11-25 16:32:55 +01:00
Thomas Schmitt 412ad2fcdb Version switch to 0.6.12 , libisofs-6.8.0.so 2008-11-25 15:39:40 +01:00
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt 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
Thomas Schmitt eccaac09cc New API functions iso_set_local_charset() and iso_get_local_charset() 2008-11-25 12:13:51 +01: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 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 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
Thomas Schmitt 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 2de74d04a7 Fix severity of some errors (see ticket #137). 2008-08-20 00:40:11 +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 ff480b35e9 Control size of extents with #define blocks, to help testing. 2008-08-19 19:44:47 +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 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
Mario Danic 84771aa83b Preparation for 0.6.4 release 2008-04-24 11:22:24 +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 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 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 c75f1a430e Added function to get the lba of an old image file. 2008-03-03 20:42:06 +01:00
Vreixo Formoso 061dce1ec2 s/openned/opened. Deprecate incorrectly spelled errors. 2008-03-01 17:12:44 +01:00
Vreixo Formoso 241a7295ba Ticket #127 also affects iso_dir_iter_take(). Fixed. 2008-03-01 16:16:12 +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 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
Thomas Schmitt 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 b501546627 Allow relaxe volume and volset id constraints. 2008-02-08 17:23:09 +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 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 8930de4026 Improve messages during cancelation. 2008-02-04 01:41:08 +01:00