Vreixo Formoso
a076ae9df2
Simplify function to recursively add a directory.
15 years ago
Vreixo Formoso
df5aa263ec
Replace per Image messenger with a global one, and use image id instead.
15 years ago
Vreixo Formoso
5fe04ccfb2
Add option to ignore special files.
15 years ago
Vreixo Formoso
4da469a3bf
Addapt recursive addition function to new replace enum.
15 years ago
Vreixo Formoso
f118b0a48d
Encapsulate insertion of nodes in node.c. Define replace behavior.
15 years ago
Vreixo Formoso
2464455fea
Guard against bad link destinations.
15 years ago
Vreixo Formoso
1459801134
Ensure names of public tree IsoNodes are valid POSIX names.
15 years ago
Vreixo Formoso
22c73dc343
Add image contents recursively and volume attributes.
15 years ago
Vreixo Formoso
baf7f14b11
Change get_path() definition in IsoFileSource.
15 years ago
Vreixo Formoso
e18f5d8898
Change message functions signature.
15 years ago
Vreixo Formoso
a2645cbf40
Expose several tree options, to control recursive dir addition.
15 years ago
Vreixo Formoso
501275279d
Change recOpts in Image, it can be part of the Image struct, not a ptr.
15 years ago
Vreixo Formoso
71cd3ccb89
Check access to file contents before adding it to public iso tree.
15 years ago
Vreixo Formoso
26a04559c7
Some fixes to memory leak bugs.
15 years ago
Vreixo Formoso
4c9d83f051
Define code style formatter for eclipse and apply it to source.
15 years ago
Vreixo Formoso
a161f4249c
Improve IsoFileSource interface implementation.
15 years ago
Vreixo Formoso
159b775d22
Improve message functions to support message formating in printf style.
15 years ago
Vreixo Formoso
0a340c53d5
Fix bug in open() function for local file srcs, to deal with symlinks.
15 years ago
Vreixo Formoso
60d68df84c
Expose iso_node_set_hidden(), to let a node be hidden in RR/ISO or Joliet tree.
15 years ago
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.
15 years ago
Vreixo Formoso
008871cfd8
Additon of nodes based on Builder. Pass Image as a parameter to builder methods.
15 years ago
Vreixo Formoso
b03fbf0ee0
Implement function to get node from path on image. Little unit test too.
15 years ago
Vreixo Formoso
45f4d0a29e
Add function to add an exiting file to the iso tree.
...
Node is created using a builder. Default builder and filesystem is added
to IsoImage. Later we should expose setters for this atts.
15 years ago
Vreixo Formoso
7f9c5c9065
Unit test for tree functions. Little fixes.
15 years ago
Vreixo Formoso
5df6b2c3d2
Fix bug in tree functions.
15 years ago
Vreixo Formoso
b2d41de603
Allow adding of special files to iso tree node.
15 years ago
Vreixo Formoso
007be29c6d
Fix little bug: ensure number of children is incremented when adding a
...
new node to a dir.
15 years ago
Vreixo Formoso
f62c34776f
Begin implementation of tree operations.
15 years ago
Vreixo Formoso
6c090c9a7b
Added more files, mainly beginning of filesystem sources implementation.
15 years ago
Vreixo Formoso
9ee4e39899
Added build files and first code stub.
15 years ago