Commit Graph

220 Commits

Author SHA1 Message Date
Vreixo Formoso a076ae9df2 Simplify function to recursively add a directory. 2008-01-20 16:56:41 +01:00
Vreixo Formoso a86d6219ba Update TODO list. 2008-01-19 17:49:01 +01:00
Vreixo Formoso 1f1160d3d1 Removed unneeded header fs_image.h. 2008-01-19 17:47:46 +01:00
Vreixo Formoso 1a767722c6 Expose IsoFilesystem and IsoFileSource. 2008-01-19 17:41:01 +01:00
Vreixo Formoso 0e87bf8792 Add type field to IsoFilesystem. Minor documentation. 2008-01-19 17:17:50 +01:00
Vreixo Formoso 0c1ea8cc7e Add open() and close() operations to IsoFilesystem. 2008-01-19 16:56:46 +01:00
Vreixo Formoso 52d1e911ac Add TODOs to TODO file. Remove // comments that cause compiler warning. 2008-01-19 16:12:08 +01:00
Vreixo Formoso 3361e941a6 Replace div_up() and round_up() functions with macros. 2008-01-19 13:45:56 +01:00
Vreixo Formoso df5aa263ec Replace per Image messenger with a global one, and use image id instead. 2008-01-19 02:48:12 +01:00
Vreixo Formoso 88eea232aa Update libiso_msgs with new Thomas changes. 2008-01-19 01:04:19 +01:00
Vreixo Formoso 57025a614d Support for reading ISO-9660:1999 images. 2008-01-17 00:15:42 +01:00
Vreixo Formoso c57a5196a3 Prevent HINT when found SP and ER entries in "." entry of root node. 2008-01-16 22:09:29 +01:00
Vreixo Formoso 5ed68d20e9 Add support for ISO-9660:1999. 2008-01-16 21:51:41 +01:00
Vreixo Formoso 46507e68aa Fix little bug. 2008-01-16 20:28:24 +01:00
Vreixo Formoso cd27776154 Replace joliet_dir_info with a pointer, to reduce memory usage. 2008-01-16 20:16:08 +01:00
Vreixo Formoso 5fe04ccfb2 Add option to ignore special files. 2008-01-15 17:23:34 +01:00
Vreixo Formoso 9a66c6cd33 Enhance support for relaxe ISO constraints. 2008-01-15 00:21:07 +01:00
Vreixo Formoso 9ad9b10c67 Joliet also need directory sizes to be a multiple of block size. 2008-01-14 23:51:16 +01:00
Vreixo Formoso 9ebc4a1eef Add some more control to the ring buffer. 2008-01-14 21:13:53 +01:00
Vreixo Formoso 8bc1cf90a9 Fix important bug in mangle_single_dir. 2008-01-14 17:15:28 +01:00
Vreixo Formoso 910a63f28a Fix little bug related with dir length calculation. 2008-01-14 01:33:36 +01:00
Vreixo Formoso a58bc8a25a Add extended information to IsoNode. Still not exposed nor compiled. 2008-01-13 17:59:53 +01:00
Vreixo Formoso a1bcc73198 Support for relaxed filenames on ISO-9660 images. 2008-01-13 01:06:56 +01:00
Vreixo Formoso fbf590c8a2 Add function for relaxed filenames to directories. 2008-01-13 00:35:58 +01:00
Vreixo Formoso c3582226f3 Function to generate relaxed ISO filenames. 2008-01-12 22:16:38 +01:00
Vreixo Formoso 4da469a3bf Addapt recursive addition function to new replace enum. 2008-01-12 21:08:25 +01:00
Vreixo Formoso f118b0a48d Encapsulate insertion of nodes in node.c. Define replace behavior. 2008-01-12 18:03:59 +01:00
Vreixo Formoso 25f4402147 Prevent memory leak in case of failure. 2008-01-12 17:32:16 +01:00
Vreixo Formoso 8115ba6c24 Fix link problem by removing all inline functions defined in .h files. 2008-01-12 03:54:53 +01:00
Vreixo Formoso c00d84f0f2 Improve mangling algorithm, by using a hash table for name search. 2008-01-12 02:43:07 +01:00
Vreixo Formoso 4b3a86185f Fix some bugs in hash table implementation. 2008-01-12 02:42:27 +01:00
Vreixo Formoso b4d76f7925 Add a hash table implementation. 2008-01-12 02:07:16 +01:00
Vreixo Formoso b29e2a7db2 Improve filesystem implementation to deal with local files.
Instead of storing the path of each file, we store the name plus a ref 
to the parent. That way, we safe around 5-10% of memory.
2008-01-11 19:48:52 +01:00
Vreixo Formoso 953da9ff8f Support for patching isolinux images. 2008-01-11 17:09:31 +01:00
Vreixo Formoso 807c43b20e Implementation of a IsoStream to read from a memory buffer. 2008-01-11 16:42:18 +01:00
Vreixo Formoso cd8943105c Functions to access volume information from an IsoImageFilesystem. 2008-01-11 16:19:50 +01:00
Vreixo Formoso f27f2449f9 Support for reading El-Torito info from previous images. 2008-01-11 15:43:39 +01:00
Vreixo Formoso 53c2215ab3 Add function to get the parent of a given node. 2008-01-10 22:10:11 +01:00
Vreixo Formoso 0d06e24cd5 Add support for El-Torito. 2008-01-10 19:41:08 +01:00
Vreixo Formoso 4f029437e2 Handling of El-Torito boot catalog at low level. 2008-01-10 18:53:39 +01:00
Vreixo Formoso 2ad6f5f667 Change IsoStream get_id definition, to always provide a valid id.
Streams are a better place to handle source content identification, when
the IsoFilesystem is unable to provide a valid identification.
2008-01-10 17:56:39 +01:00
Vreixo Formoso 47bdbd76b5 Add El-Torito estructures to an IsoImage, and APIs for manage it. 2008-01-10 17:22:53 +01:00
Vreixo Formoso 51df8c6284 Fix bug introduced when adding Joliet that causes libisofs to hang.
It causes an attempt to read an extra block from ring buffer to overwrite 
buffer, which causes libisofs to hang. The problem is that Volume Descriptor
Set terminator should not be read from buffer, but generated instead.
2008-01-09 18:57:47 +01:00
Vreixo Formoso ad65cc4d45 Add API to get the size of a file node. 2008-01-09 15:35:59 +01:00
Vreixo Formoso ba681a2601 Pad SVD attributes with " " to ensure Joliet compliance. 2008-01-08 22:16:55 +01:00
Vreixo Formoso 41472e66b7 Pad volume attributes with " " to ensure ECMA-119 compliance. 2008-01-08 21:58:36 +01:00
Vreixo Formoso 2464455fea Guard against bad link destinations. 2008-01-08 20:05:01 +01:00
Vreixo Formoso 1459801134 Ensure names of public tree IsoNodes are valid POSIX names. 2008-01-08 19:47:33 +01:00
Vreixo Formoso aec6c8ce69 Support for reading Joliet extensions. 2008-01-08 19:34:01 +01:00
Vreixo Formoso 747bed11b8 Bug fix: Joliet writer should be only created when Joliet is enabled. 2008-01-08 19:33:17 +01:00