Commit Graph

53 Commits

Author SHA1 Message Date
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
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
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
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
186c2f2ff7 Add Thomas function needed to make isohybrid bootable images. 2008-10-18 16:50:20 +02:00
Vreixo Formoso
d534a96c83 Apply patch by "eostapets" fixing a linking bug. 2008-03-06 16:13:15 +01:00
Vreixo Formoso
cb47296913 Preliminary support for find nodes. 2008-03-03 22:02:10 +01:00
Vreixo Formoso
0dad87f035 Filters definition. Example XOR_encrypt filter. 2008-02-24 18:20:23 +01:00
Vreixo Formoso
9c73b108f7 Fix bug to include buffer-h in dist tarball. 2008-02-22 15:57:57 +01:00
Vreixo Formoso
626b8cc091 Added unit test for memory stream. 2008-02-10 00:27:28 +01:00
Mario Danic
227ef418d0 Made migration to -1 pc file 2008-01-31 22:07:12 +01:00
Vreixo Formoso
89bd156918 Don't try to install docs if they have not been generated. 2008-01-31 17:07:31 +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
d432879d83 Build API docs with doxygen. Add Tutorial to distribution tarball. 2008-01-29 21:30:52 +01:00
Vreixo Formoso
f2c8712b40 Make error.h header public. 2008-01-28 23:48:03 +01:00
Vreixo Formoso
307a98815e src renamed to libisofs. 2008-01-26 22:18:07 +01:00
Vreixo Formoso
1f1160d3d1 Removed unneeded header fs_image.h. 2008-01-19 17:47:46 +01:00
Vreixo Formoso
5ed68d20e9 Add support for ISO-9660:1999. 2008-01-16 21:51:41 +01:00
Vreixo Formoso
b4d76f7925 Add a hash table implementation. 2008-01-12 02:07:16 +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
17e9955f93 Begin Joliet support. Creation of Joliet writer and Joliet tree. 2008-01-06 17:38:31 +01:00
Vreixo Formoso
7af02cddd9 Support for image growing. 2008-01-05 02:03:22 +01:00
Vreixo Formoso
ee78419935 Add support for appendable multisession images. 2008-01-04 23:54:31 +01:00
Vreixo Formoso
932ce6ac70 Support for image modify. 2008-01-04 00:15:48 +01:00
Vreixo Formoso
22c73dc343 Add image contents recursively and volume attributes. 2008-01-03 20:04:08 +01:00
Vreixo Formoso
b8e44a936a Little test app that extracts contents of a file from image. 2008-01-03 13:28:51 +01:00
Vreixo Formoso
263770ab4f Read Volume Descriptors and identify RR extensions, if any. 2007-12-31 03:36:48 +01:00
Vreixo Formoso
d8cb56ecf3 Start implementation of IsoFilesystem for reading ISO images. 2007-12-30 21:39:17 +01:00
Vreixo Formoso
48e243d5da Define interface for IsoDataSource to access existent images. 2007-12-30 17:47:44 +01:00
Vreixo Formoso
54038ec54b Functions to add RR/SUSP entries. Fix little bugs. 2007-12-25 17:53:17 +01:00
Vreixo Formoso
d48c553f40 Implement function to compute the size needed for RR field. 2007-12-24 04:31:15 +01:00
Vreixo Formoso
94e687d9d3 Add a ring buffer implementation.
This is intented to replace the pipe between the writer and reader 
threads. That way we can have a much better control of cancelation 
situations. Still to be optimized.
2007-12-23 02:24:21 +01:00
Vreixo Formoso
de3c4e4962 Little demo program to test image generation. 2007-12-22 17:09:49 +01:00
Vreixo Formoso
e6bd1586d6 Replace glibc tsearch() with a custom red-black tree implementation.
The library supplied tree estructure is not enought for our needs, due to its
limited API. Thus, we have implemented a suitable red-black tree.
2007-12-20 00:25:25 +01:00
Vreixo Formoso
c8715941e6 Define some functions and responsabilities for image generation.
Still very preliminary work.
2007-12-16 19:10:47 +01:00
Vreixo Formoso
40b27dbacc Initial support for low level ECMA-119 tree.
This only adds the tree creation functions, no sorting and name mangling 
yet. Only plain ECMA-119 supported for now, nor RR, relaxed 
restrictions, etc..

This also adds a little test program.
2007-12-15 16:55:44 +01:00
Vreixo Formoso
7b241176fb Init implementation of IsoFileSrc.
Ecma119Image, defined for first time in this commit, is the context for image 
written. It keeps the low level objects needed during image written.

IsoFileSrc is the low level object that takes care about the info needed to
write file contents to image. It takes care about reading from Stream in 2K
block chunks. To prevent the same file be written twice to image, we keep in
Ecma119Image a search tree, indexed by the triple key (fs, device, inode) that
uniquelly identifies a source.
2007-12-15 13:13:49 +01:00
Vreixo Formoso
115da82c9e First util functions, with corresponding unit test. 2007-12-13 21:02:36 +01:00
Vreixo Formoso
d10ed353e2 Implement function to recursively add a dir to an iso tree.
This commit also to the following changes:
- create_node() on builder never frees the IsoFileSource, it is responsability 
  of the caller to free it.
- Recursive addition options added to IsoImage (not exposed to public API yet)
- create_node() takes care about follow_symlinks
- Added little demo program to test it.
2007-12-11 22:47:04 +01:00
Vreixo Formoso
7d417e9fa6 Added a mocked filesystem to simulate a real filesystem in tests. 2007-12-07 17:29:27 +01:00
Vreixo Formoso
7f9c5c9065 Unit test for tree functions. Little fixes. 2007-12-06 22:45:16 +01:00
Vreixo Formoso
f62c34776f Begin implementation of tree operations. 2007-12-06 02:11:05 +01:00
Vreixo Formoso
14f4aa7d07 Init builder implementation. 2007-12-04 22:33:40 +01:00
Vreixo Formoso
8edc9f2639 Implementation of IsoStream for IsoFileSources. 2007-12-02 22:04:26 +01:00
Vreixo Formoso
0ba8a7a85e Add message queue facilities. Each IsoImage will have its own msg queue. 2007-12-02 20:11:44 +01:00
Vreixo Formoso
d916b60172 Add getters and setters for image properties, together with unit tests. 2007-12-02 19:49:11 +01:00
Vreixo Formoso
c83bac7d9e Add IsoImage, equivalent to old libisofs volume and volset.
IsoImage will be a context for image creation and modification.
2007-12-02 19:10:30 +01:00
Vreixo Formoso
3c7f1285d6 Add default skel for unit tests. Move test programs to demo. 2007-11-29 22:06:56 +01:00
Vreixo Formoso
db533b2d99 Add a little program to test reading from a file using IsoFileSource. 2007-11-26 21:31:54 +01:00
Vreixo Formoso
1478904aaf Implement get_name in FileSource, and add a little test program. 2007-11-26 21:16:38 +01:00