Commit Graph

33 Commits

Author SHA1 Message Date
Vreixo Formoso
e9e1d28333 Improve demo program, including support for El-Torito. 2008-01-10 19:41:38 +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
7bb4eaf46d Little improves to image reading. 2008-01-08 17:33:06 +01:00
Vreixo Formoso
5d81305042 Expose Joliet. 2008-01-08 16:10:25 +01:00
Vreixo Formoso
c47e5a738d Let NULL input charset in image reading, that defaults to locale one. 2008-01-05 16:01:21 +01:00
Vreixo Formoso
7af02cddd9 Support for image growing. 2008-01-05 02:03:22 +01:00
Vreixo Formoso
e471333b0b Rename function to create burn_source. 2008-01-05 00:42:32 +01:00
Vreixo Formoso
ee78419935 Add support for appendable multisession images. 2008-01-04 23:54:31 +01:00
Vreixo Formoso
5cf3abc075 Set sort_files in iso_modify. It improves performance. 2008-01-04 09:54:41 +01:00
Vreixo Formoso
932ce6ac70 Support for image modify. 2008-01-04 00:15:48 +01:00
Vreixo Formoso
58a7d8e853 First functions and structures for image import. 2008-01-03 19:17:55 +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
b273290415 Little demo program that outputs a read iso image. 2008-01-03 00:19:39 +01:00
Vreixo Formoso
263770ab4f Read Volume Descriptors and identify RR extensions, if any. 2007-12-31 03:36:48 +01:00
Vreixo Formoso
7e66fe43ce Reduce memory usage in low level tree, by storing dir info separately. 2007-12-29 18:30:59 +01:00
Vreixo Formoso
a2645cbf40 Expose several tree options, to control recursive dir addition. 2007-12-29 17:15:24 +01:00
Vreixo Formoso
26a04559c7 Some fixes to memory leak bugs. 2007-12-28 22:45:56 +01:00
Vreixo Formoso
4c9d83f051 Define code style formatter for eclipse and apply it to source. 2007-12-28 22:10:17 +01:00
Vreixo Formoso
9a90afcf69 Support for setting an output charset for RR NM entries.
It will default to input charset (i.e. the locale charset for now). 
Names will be stored internally in that locale charset. Note that input 
charset musn't be changed by user. Instead, we can provide an input 
charset property to IsoFilesystem implementations.
2007-12-28 00:20:02 +01:00
Vreixo Formoso
a8636eaa60 Support for setting default modes for files and dirs. 2007-12-27 18:10:14 +01:00
Vreixo Formoso
941e2022e8 Expose RockRidge option. 2007-12-27 10:43:06 +01:00
Vreixo Formoso
041858360a Handle reallocation of directories. 2007-12-23 17:11:32 +01:00
Vreixo Formoso
ca1385cce1 Begin RR support. Symlinks and Special files added to low level tree. 2007-12-23 16:16:26 +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
a161f4249c Improve IsoFileSource interface implementation. 2007-12-20 20:47:39 +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
5e2de57aa9 Initial structure for ECMA-119 writer. 2007-12-17 23:22:19 +01:00
Vreixo Formoso
159b775d22 Improve message functions to support message formating in printf style. 2007-12-17 21:12:51 +01:00
Vreixo Formoso
56cdd00638 Sorting of nodes in a dir acording to ECMA-119, 9.3. 2007-12-15 18:40:33 +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
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
3c7f1285d6 Add default skel for unit tests. Move test programs to demo. 2007-11-29 22:06:56 +01:00