Commit Graph

28 Commits

Author SHA1 Message Date
Vreixo Formoso 5fe04ccfb2 Add option to ignore special files. 2008-01-15 17:23:34 +01:00
Vreixo Formoso 4da469a3bf Addapt recursive addition function to new replace enum. 2008-01-12 21:08:25 +01:00
Vreixo Formoso f118b0a48d Encapsulate insertion of nodes in node.c. Define replace behavior. 2008-01-12 18:03:59 +01:00
Vreixo Formoso 2464455fea Guard against bad link destinations. 2008-01-08 20:05:01 +01:00
Vreixo Formoso 1459801134 Ensure names of public tree IsoNodes are valid POSIX names. 2008-01-08 19:47:33 +01:00
Vreixo Formoso 22c73dc343 Add image contents recursively and volume attributes. 2008-01-03 20:04:08 +01:00
Vreixo Formoso baf7f14b11 Change get_path() definition in IsoFileSource. 2007-12-31 16:27:08 +01:00
Vreixo Formoso e18f5d8898 Change message functions signature. 2007-12-30 22:04:41 +01:00
Vreixo Formoso a2645cbf40 Expose several tree options, to control recursive dir addition. 2007-12-29 17:15:24 +01:00
Vreixo Formoso 501275279d Change recOpts in Image, it can be part of the Image struct, not a ptr. 2007-12-29 16:49:04 +01:00
Vreixo Formoso 71cd3ccb89 Check access to file contents before adding it to public iso tree. 2007-12-29 16:34:17 +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 a161f4249c Improve IsoFileSource interface implementation. 2007-12-20 20:47:39 +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 0a340c53d5 Fix bug in open() function for local file srcs, to deal with symlinks. 2007-12-15 17:12:21 +01:00
Vreixo Formoso 60d68df84c Expose iso_node_set_hidden(), to let a node be hidden in RR/ISO or Joliet tree. 2007-12-13 20:27:58 +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 008871cfd8 Additon of nodes based on Builder. Pass Image as a parameter to builder methods. 2007-12-09 18:47:29 +01:00
Vreixo Formoso b03fbf0ee0 Implement function to get node from path on image. Little unit test too. 2007-12-08 01:39:31 +01:00
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.
2007-12-07 03:02:46 +01:00
Vreixo Formoso 7f9c5c9065 Unit test for tree functions. Little fixes. 2007-12-06 22:45:16 +01:00
Vreixo Formoso 5df6b2c3d2 Fix bug in tree functions. 2007-12-06 16:44:52 +01:00
Vreixo Formoso b2d41de603 Allow adding of special files to iso tree node. 2007-12-06 02:43:24 +01:00
Vreixo Formoso 007be29c6d Fix little bug: ensure number of children is incremented when adding a
new node to a dir.
2007-12-06 02:38:19 +01:00
Vreixo Formoso f62c34776f Begin implementation of tree operations. 2007-12-06 02:11:05 +01:00
Vreixo Formoso 6c090c9a7b Added more files, mainly beginning of filesystem sources implementation. 2007-11-24 16:58:36 +01:00
Vreixo Formoso 9ee4e39899 Added build files and first code stub. 2007-11-24 13:14:45 +01:00