Commit Graph

37 Commits

Author SHA1 Message Date
Vreixo Formoso
1070fe4cc6 Several improves in error codes.
- Code severity and priority in error codes.
- Added ERROR severity, suitable for function failures.
- Review libisofs errors and its severity.
2008-01-20 22:28:27 +01:00
Vreixo Formoso
0e87bf8792 Add type field to IsoFilesystem. Minor documentation. 2008-01-19 17:17:50 +01:00
Vreixo Formoso
52d1e911ac Add TODOs to TODO file. Remove // comments that cause compiler warning. 2008-01-19 16:12:08 +01:00
Vreixo Formoso
a58bc8a25a Add extended information to IsoNode. Still not exposed nor compiled. 2008-01-13 17:59:53 +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
53c2215ab3 Add function to get the parent of a given node. 2008-01-10 22:10:11 +01:00
Vreixo Formoso
ad65cc4d45 Add API to get the size of a file node. 2008-01-09 15:35: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
f9ee153a97 More unit test to check correct RR entries generation for symlinks. 2007-12-30 17:01:51 +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
5f6b5fd930 Guard against wrong POSIX filenames in node. 2007-12-26 16:34:07 +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
f2e3a2c9fc Guard against empty names. 2007-12-20 16:09:29 +01:00
Vreixo Formoso
5b93cb4cdc Fix bug, root refcount must be initialized to 1. 2007-12-18 10:54:09 +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
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
c93fa154d5 Getters and setters for time attributes on IsoNode. 2007-12-06 22:52:01 +01:00
Vreixo Formoso
5abb569e0c Keep children sorted when renaming a node. 2007-12-06 16:18:51 +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
06db9a3c73 Free destination on IsoSymlinks. 2007-12-06 02:13:01 +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
6616eae76b Unref Stream when freeing a IsoFile. 2007-12-03 21:53:20 +01:00
Vreixo Formoso
f2deae8503 Set parent of a root node to point to itself.
This way we can ensure a root node is not added to another dir.
2007-12-02 19:08:51 +01:00
Vreixo Formoso
c587c79220 Ensure parent is set to NULL on children of a deleted directory. 2007-12-02 19:02:56 +01:00
Vreixo Formoso
0c03ad051b Add function to create a new root. 2007-12-02 18:54:55 +01:00
Vreixo Formoso
5fa2490a48 Take and remove functions based on iterator. 2007-12-02 17:17:04 +01:00
Vreixo Formoso
78fba4c14f Add unit test for dir iteration. Implementation of iso_dir_iter_free(). 2007-12-02 16:39:58 +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