Commit Graph

23 Commits

Author SHA1 Message Date
Vreixo Formoso c3582226f3 Function to generate relaxed ISO filenames. 2008-01-12 22:16:38 +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 aec6c8ce69 Support for reading Joliet extensions. 2008-01-08 19:34:01 +01:00
Vreixo Formoso 5475502dc8 Different function for generate dir and files names for Joliet.
The "." is not mandatory on dirs.
2008-01-08 16:07:50 +01:00
Vreixo Formoso f73b53133b Correctly handle Big Endian UCS strings on both BE and LE machines. 2008-01-08 15:51:42 +01:00
Vreixo Formoso 6d276ac0f6 Write Joliet Supplementary Volume Descriptor. 2008-01-06 18:45:32 +01:00
Vreixo Formoso 355d28292f Util functions for Joliet name manipulation. 2008-01-06 17:02:16 +01:00
Vreixo Formoso d8cb56ecf3 Start implementation of IsoFilesystem for reading ISO images. 2007-12-30 21:39:17 +01:00
Vreixo Formoso 702bd0f288 Isolate non-standard eaccess usage in a util function.
That will be replaced soon with our own implementation, based on POSIX 
standard functions.
2007-12-30 18:07:01 +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 6c7c54af93 Fix bug in strconv, take care about the end of string NULL character. 2007-12-28 00:18:49 +01:00
Vreixo Formoso c3ded11773 Util function to convert string charset. 2007-12-27 21:11:29 +01:00
Vreixo Formoso dd97f67ee4 Add functions to read timestamps from ISO images. 2007-12-27 00:29:12 +01:00
Vreixo Formoso aae230a321 Add util functions to deal with ISO types. 2007-12-27 00:19:09 +01:00
Vreixo Formoso 9ec475a900 Change iso name conversion functions back to old style. 2007-12-22 20:49:30 +01:00
Vreixo Formoso 9e9c077c6e Minimize charset conversion errors, ignoring when we can't do better.
If a file name is encoded in a different encoding than default input, current
implementation make image generation to be cancelled. As this can happen quite
frequent, due to files from discs or Windows partitions incorrectly mounted,
the best we can do is just ignore this, replacing the wrong character with a
'_'.
2007-12-22 19:44:02 +01:00
Vreixo Formoso 2f383215ff Implement Writer for file contents.
Some aspects, such as better reporting of file bigger or smaller than 
expected is needed, but all situations are handled propertly.
2007-12-20 22:17:18 +01:00
Vreixo Formoso 2dc15ab164 Add some util functions, mostly copied from old libisofs. 2007-12-18 21:51:33 +01:00
Vreixo Formoso c03d4d9b33 Implementation of name mangling algorithm.
This has to ensure that file names are unique among all files in an iso 
directory. Current implementation can be improved by using a hash table 
to keep the names, instead of iterate over all children. An alternative 
method, keeping children sorted all the time, thus allowing binary 
search, has been considered but discarded.                          

Current implementation support up to 9,999,999 equal files per 
directory.
2007-12-16 17:32:05 +01:00
Vreixo Formoso 8f7222609e Add support for generating ISO identifiers from ASCII strings. 2007-12-14 22:13:00 +01:00
Vreixo Formoso 315f1a1717 Support for charset conversion from any encoding to ASCII. 2007-12-14 21:42:55 +01:00
Vreixo Formoso 115da82c9e First util functions, with corresponding unit test. 2007-12-13 21:02:36 +01:00