Commit Graph

7 Commits

Author SHA1 Message Date
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 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 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