Commit Graph

314 Commits

Author SHA1 Message Date
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
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 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
Thomas Schmitt 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
Thomas Schmitt 25ab8631e4 bundle_A80222_2 2008-02-22 19:43:09 +01:00
Thomas Schmitt 3fa3292564 message enhancements 2nd edition 2008-02-22 19:39:09 +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 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
Thomas Schmitt 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