Commit Graph

9 Commits

Author SHA1 Message Date
Vreixo Formoso
39bde82ff6 Move size, ino, dev cache from IsoFileSrc to IsoStream.
That is a better decission, as it reduces the number of stat() call 
needed, and anyway some Streams will need the size.
2007-12-18 20:46:28 +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
f279676b6b Check file size to ensure file bigger than 4GB are not added to image. 2007-12-17 20:47:53 +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
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
56cdd00638 Sorting of nodes in a dir acording to ECMA-119, 9.3. 2007-12-15 18:40:33 +01:00
Vreixo Formoso
411524c330 Handling of iso directory depth restrictions on tree creation time.
Note that this doesn't involve the RR reparent. It just ignore the files 
that break iso restrictions (see ECMA-119, 6.8.2.1).
2007-12-15 18:29:40 +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