Commit Graph

36 Commits

Author SHA1 Message Date
Vreixo Formoso 48e243d5da Define interface for IsoDataSource to access existent images. 2007-12-30 17:47:44 +01:00
Vreixo Formoso a2645cbf40 Expose several tree options, to control recursive dir addition. 2007-12-29 17:15:24 +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 9a90afcf69 Support for setting an output charset for RR NM entries.
It will default to input charset (i.e. the locale charset for now). 
Names will be stored internally in that locale charset. Note that input 
charset musn't be changed by user. Instead, we can provide an input 
charset property to IsoFilesystem implementations.
2007-12-28 00:20:02 +01:00
Vreixo Formoso a8636eaa60 Support for setting default modes for files and dirs. 2007-12-27 18:10:14 +01:00
Vreixo Formoso 941e2022e8 Expose RockRidge option. 2007-12-27 10:43:06 +01:00
Vreixo Formoso 9de0be2602 Guard in public API agains bad names or link destinations. 2007-12-24 04:20:29 +01:00
Vreixo Formoso 002a832ac3 Minor changes. 2007-12-23 02:58:54 +01:00
Vreixo Formoso 35ef22cdd7 Implement ECMA-119 burn_source and writer thread handling.
At this time, nglibisofs is able to output an image!! Note that communication
between writer and read thread is done via a pipe. That will be replaced by a
ring buffer in the near future.
2007-12-22 17:09:28 +01:00
Vreixo Formoso 257b08bfcf Code to compute position of directory records and path tables. 2007-12-18 00:20:03 +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 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 b03fbf0ee0 Implement function to get node from path on image. Little unit test too. 2007-12-08 01:39:31 +01:00
Vreixo Formoso f04ddb4435 Add getter and setter for sort_weight. 2007-12-07 22:36:26 +01:00
Vreixo Formoso 70b9b87150 Expose iso_node_get_type(). 2007-12-07 22:25: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 c93fa154d5 Getters and setters for time attributes on IsoNode. 2007-12-06 22:52:01 +01:00
Vreixo Formoso dad43d9ede Add some unit tests related to IsoNode. 2007-12-06 16:19:14 +01:00
Vreixo Formoso b2d41de603 Allow adding of special files to iso tree node. 2007-12-06 02:43:24 +01:00
Vreixo Formoso d4deb4866f Take care about duplicate node names in iso_node_set_name(). 2007-12-06 02:22:11 +01:00
Vreixo Formoso f62c34776f Begin implementation of tree operations. 2007-12-06 02:11:05 +01:00
Vreixo Formoso 8e7fe9b5a5 Add replace flag to iso_dir_add_node(). 2007-12-05 22:37:57 +01:00
Vreixo Formoso 14f4aa7d07 Init builder implementation. 2007-12-04 22:33:40 +01:00
Vreixo Formoso 0ba8a7a85e Add message queue facilities. Each IsoImage will have its own msg queue. 2007-12-02 20:11:44 +01:00
Vreixo Formoso d916b60172 Add getters and setters for image properties, together with unit tests. 2007-12-02 19:49:11 +01:00
Vreixo Formoso c83bac7d9e Add IsoImage, equivalent to old libisofs volume and volset.
IsoImage will be a context for image creation and modification.
2007-12-02 19:10:30 +01:00
Vreixo Formoso 79c37ff193 Little changes. 2007-12-02 17:59:36 +01:00
Vreixo Formoso 5fa2490a48 Take and remove functions based on iterator. 2007-12-02 17:17:04 +01:00
Vreixo Formoso 5ec93b50f4 Add functions to remove nodes from a dir. Handle deletion of dirs
propertly.
2007-12-01 02:43:37 +01:00
Vreixo Formoso 051538b5c2 Add functions to iterate over directory children. 2007-12-01 02:22:00 +01:00
Vreixo Formoso e068fd1cf6 Getter for number of children in a dir. 2007-12-01 01:45:35 +01:00
Vreixo Formoso a4f283fac6 Functions to add and get a node inside a dir. 2007-12-01 01:42:21 +01:00
Vreixo Formoso efff783602 Added getters/setters from IsoNode permissions and owners. 2007-11-27 20:41:09 +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