-
9ec475a900
Change iso name conversion functions back to old style.
Vreixo Formoso
2007-12-22 20:49:30 +01:00
-
9e9c077c6e
Minimize charset conversion errors, ignoring when we can't do better.
Vreixo Formoso
2007-12-22 19:44:02 +01:00
-
de3c4e4962
Little demo program to test image generation.
Vreixo Formoso
2007-12-22 17:09:49 +01:00
-
35ef22cdd7
Implement ECMA-119 burn_source and writer thread handling.
Vreixo Formoso
2007-12-22 17:09:28 +01:00
-
2ab23693db
Replace path table size computation by a recursive version.
Vreixo Formoso
2007-12-22 16:02:29 +01:00
-
d07fed1a4c
Add write function. Fix bug in PVD writing and dir. record len computation.
Vreixo Formoso
2007-12-22 14:45:00 +01:00
-
42731f4135
Fix bug in create tree, to propertly handle ignored files.
Vreixo Formoso
2007-12-22 14:32:31 +01:00
-
5cf2980c9c
Append version number to file ids.
Vreixo Formoso
2007-12-21 23:08:21 +01:00
-
2fd3195747
Write the path tables on the ISO structure.
Vreixo Formoso
2007-12-21 22:53:48 +01:00
-
31ee89c47b
Code to write directory structure of the ECMA-119 tree.
Vreixo Formoso
2007-12-21 00:35:43 +01:00
-
46ffb6d33d
Fix implementation of PVD writing.
Vreixo Formoso
2007-12-21 00:05:41 +01:00
-
2f383215ff
Implement Writer for file contents.
Vreixo Formoso
2007-12-20 22:17:18 +01:00
-
449ed65fe9
Improve IsoStream interface implementation.
Vreixo Formoso
2007-12-20 20:58:03 +01:00
-
a161f4249c
Improve IsoFileSource interface implementation.
Vreixo Formoso
2007-12-20 20:47:39 +01:00
-
f2e3a2c9fc
Guard against empty names.
Vreixo Formoso
2007-12-20 16:09:29 +01:00
-
e6bd1586d6
Replace glibc tsearch() with a custom red-black tree implementation.
Vreixo Formoso
2007-12-20 00:25:25 +01:00
-
5eb3a7e038
Implementation of function to write the PVD.
Vreixo Formoso
2007-12-18 21:55:01 +01:00
-
2dc15ab164
Add some util functions, mostly copied from old libisofs.
Vreixo Formoso
2007-12-18 21:51:33 +01:00
-
39bde82ff6
Move size, ino, dev cache from IsoFileSrc to IsoStream.
Vreixo Formoso
2007-12-18 20:46:28 +01:00
-
5b93cb4cdc
Fix bug, root refcount must be initialized to 1.
Vreixo Formoso
2007-12-18 10:54:09 +01:00
-
36894d6a23
Implementation of the write function to use by the Writers.
Vreixo Formoso
2007-12-18 00:37:24 +01:00
-
257b08bfcf
Code to compute position of directory records and path tables.
Vreixo Formoso
2007-12-18 00:20:03 +01:00
-
5e2de57aa9
Initial structure for ECMA-119 writer.
Vreixo Formoso
2007-12-17 23:22:19 +01:00
-
159b775d22
Improve message functions to support message formating in printf style.
Vreixo Formoso
2007-12-17 21:12:51 +01:00
-
f279676b6b
Check file size to ensure file bigger than 4GB are not added to image.
Vreixo Formoso
2007-12-17 20:47:53 +01:00
-
c8715941e6
Define some functions and responsabilities for image generation.
Vreixo Formoso
2007-12-16 19:10:47 +01:00
-
c03d4d9b33
Implementation of name mangling algorithm.
Vreixo Formoso
2007-12-16 17:32:05 +01:00
-
56cdd00638
Sorting of nodes in a dir acording to ECMA-119, 9.3.
Vreixo Formoso
2007-12-15 18:40:33 +01:00
-
411524c330
Handling of iso directory depth restrictions on tree creation time.
Vreixo Formoso
2007-12-15 18:29:40 +01:00
-
0a340c53d5
Fix bug in open() function for local file srcs, to deal with symlinks.
Vreixo Formoso
2007-12-15 17:12:21 +01:00
-
40b27dbacc
Initial support for low level ECMA-119 tree.
Vreixo Formoso
2007-12-15 16:55:44 +01:00
-
aa312cf7d7
Fix bug in IsoFileSrc implementation, related to a wrogn usage of tsearch.
Vreixo Formoso
2007-12-15 16:48:50 +01:00
-
7b241176fb
Init implementation of IsoFileSrc.
Vreixo Formoso
2007-12-15 13:13:49 +01:00
-
dd83f85d09
Support for identification of source Streams.
Vreixo Formoso
2007-12-15 12:51:48 +01:00
-
8f7222609e
Add support for generating ISO identifiers from ASCII strings.
Vreixo Formoso
2007-12-14 22:13:00 +01:00
-
315f1a1717
Support for charset conversion from any encoding to ASCII.
Vreixo Formoso
2007-12-14 21:42:55 +01:00
-
115da82c9e
First util functions, with corresponding unit test.
Vreixo Formoso
2007-12-13 21:02:36 +01:00
-
60d68df84c
Expose iso_node_set_hidden(), to let a node be hidden in RR/ISO or Joliet tree.
Vreixo Formoso
2007-12-13 20:27:58 +01:00
-
d10ed353e2
Implement function to recursively add a dir to an iso tree.
Vreixo Formoso
2007-12-11 22:47:04 +01:00
-
0306bb5daf
Redefine readdir() on IsoFileSource, to skip "." and ".." dirs.
Vreixo Formoso
2007-12-11 22:41:18 +01:00
-
008871cfd8
Additon of nodes based on Builder. Pass Image as a parameter to builder methods.
Vreixo Formoso
2007-12-09 18:47:29 +01:00
-
e28f924913
Ensure local filesystem is deleted when needed.
Vreixo Formoso
2007-12-08 02:49:27 +01:00
-
b03fbf0ee0
Implement function to get node from path on image. Little unit test too.
Vreixo Formoso
2007-12-08 01:39:31 +01:00
-
f04ddb4435
Add getter and setter for sort_weight.
Vreixo Formoso
2007-12-07 22:36:26 +01:00
-
70b9b87150
Expose iso_node_get_type().
Vreixo Formoso
2007-12-07 22:25:31 +01:00
-
27670f8d3a
More tests related with iso tree.
Vreixo Formoso
2007-12-07 22:20:14 +01:00
-
7d417e9fa6
Added a mocked filesystem to simulate a real filesystem in tests.
Vreixo Formoso
2007-12-07 17:29:27 +01:00
-
45f4d0a29e
Add function to add an exiting file to the iso tree.
Vreixo Formoso
2007-12-07 03:02:46 +01:00
-
c93fa154d5
Getters and setters for time attributes on IsoNode.
Vreixo Formoso
2007-12-06 22:52:01 +01:00
-
7f9c5c9065
Unit test for tree functions. Little fixes.
Vreixo Formoso
2007-12-06 22:45:16 +01:00
-
5df6b2c3d2
Fix bug in tree functions.
Vreixo Formoso
2007-12-06 16:44:52 +01:00
-
dad43d9ede
Add some unit tests related to IsoNode.
Vreixo Formoso
2007-12-06 16:19:14 +01:00
-
5abb569e0c
Keep children sorted when renaming a node.
Vreixo Formoso
2007-12-06 16:18:51 +01:00
-
b2d41de603
Allow adding of special files to iso tree node.
Vreixo Formoso
2007-12-06 02:43:24 +01:00
-
007be29c6d
Fix little bug: ensure number of children is incremented when adding a new node to a dir.
Vreixo Formoso
2007-12-06 02:38:19 +01:00
-
d4deb4866f
Take care about duplicate node names in iso_node_set_name().
Vreixo Formoso
2007-12-06 02:22:11 +01:00
-
06db9a3c73
Free destination on IsoSymlinks.
Vreixo Formoso
2007-12-06 02:13:01 +01:00
-
f62c34776f
Begin implementation of tree operations.
Vreixo Formoso
2007-12-06 02:11:05 +01:00
-
8e7fe9b5a5
Add replace flag to iso_dir_add_node().
Vreixo Formoso
2007-12-05 22:37:57 +01:00
-
14f4aa7d07
Init builder implementation.
Vreixo Formoso
2007-12-04 22:33:40 +01:00
-
6616eae76b
Unref Stream when freeing a IsoFile.
Vreixo Formoso
2007-12-03 21:53:20 +01:00
-
8edc9f2639
Implementation of IsoStream for IsoFileSources.
Vreixo Formoso
2007-12-02 22:04:26 +01:00
-
b35e090c1b
Add stat() function to IsoFileSource interface.
Vreixo Formoso
2007-12-02 22:03:29 +01:00
-
0ba8a7a85e
Add message queue facilities. Each IsoImage will have its own msg queue.
Vreixo Formoso
2007-12-02 20:11:44 +01:00
-
d916b60172
Add getters and setters for image properties, together with unit tests.
Vreixo Formoso
2007-12-02 19:49:11 +01:00
-
c83bac7d9e
Add IsoImage, equivalent to old libisofs volume and volset.
Vreixo Formoso
2007-12-02 19:10:30 +01:00
-
f2deae8503
Set parent of a root node to point to itself.
Vreixo Formoso
2007-12-02 19:08:51 +01:00
-
c587c79220
Ensure parent is set to NULL on children of a deleted directory.
Vreixo Formoso
2007-12-02 19:02:56 +01:00
-
0c03ad051b
Add function to create a new root.
Vreixo Formoso
2007-12-02 18:54:55 +01:00
-
79c37ff193
Little changes.
Vreixo Formoso
2007-12-02 17:59:36 +01:00
-
5fa2490a48
Take and remove functions based on iterator.
Vreixo Formoso
2007-12-02 17:17:04 +01:00
-
baa6238579
Unit test for iso_node_take().
Vreixo Formoso
2007-12-02 17:01:12 +01:00
-
78fba4c14f
Add unit test for dir iteration. Implementation of iso_dir_iter_free().
Vreixo Formoso
2007-12-02 16:39:58 +01:00
-
5ec93b50f4
Add functions to remove nodes from a dir. Handle deletion of dirs propertly.
Vreixo Formoso
2007-12-01 02:43:37 +01:00
-
051538b5c2
Add functions to iterate over directory children.
Vreixo Formoso
2007-12-01 02:22:00 +01:00
-
e068fd1cf6
Getter for number of children in a dir.
Vreixo Formoso
2007-12-01 01:45:35 +01:00
-
a4f283fac6
Functions to add and get a node inside a dir.
Vreixo Formoso
2007-12-01 01:42:21 +01:00
-
3c7f1285d6
Add default skel for unit tests. Move test programs to demo.
Vreixo Formoso
2007-11-29 22:06:56 +01:00
-
efff783602
Added getters/setters from IsoNode permissions and owners.
Vreixo Formoso
2007-11-27 20:41:09 +01:00
-
b9152421f3
Define and document IsoStream interface.
Vreixo Formoso
2007-11-27 00:27:57 +01:00
-
100919a5cb
Fix little bug, close() must mark a file as closed!
Vreixo Formoso
2007-11-26 21:46:26 +01:00
-
db533b2d99
Add a little program to test reading from a file using IsoFileSource.
Vreixo Formoso
2007-11-26 21:31:54 +01:00
-
1478904aaf
Implement get_name in FileSource, and add a little test program.
Vreixo Formoso
2007-11-26 21:16:38 +01:00
-
e034f287bf
Implement IsoFilesystem to deal with local filesystem.
Vreixo Formoso
2007-11-25 19:54:13 +01:00
-
1bda81869b
Add IsoFileSource implementation for local filesystem.
Vreixo Formoso
2007-11-25 16:46:21 +01:00
-
6c090c9a7b
Added more files, mainly beginning of filesystem sources implementation.
Vreixo Formoso
2007-11-24 16:58:36 +01:00
-
9ee4e39899
Added build files and first code stub.
Vreixo Formoso
2007-11-24 13:14:45 +01:00
-
4b337281f2
Added eclipse project metainfo.
Vreixo Formoso
2007-11-19 21:36:49 +01:00
-
20a614c8aa
Added project files and source folder.
Vreixo Formoso
2007-11-19 21:36:16 +01:00
-
2a4501644c
Added a class diagram for burn_source design.
Vreixo Formoso
2007-10-15 22:04:30 +02:00
-
a9e8e05833
Use Streams to simplify El-Torito implementation.
Vreixo Formoso
2007-10-14 18:00:02 +02:00
-
3fa5bb9068
Add previous session block to File TreeNode.
Vreixo Formoso
2007-10-14 17:59:30 +02:00
-
a61160c7eb
Update iso_tree diagram to the new Stream idea.
Vreixo Formoso
2007-10-14 17:41:19 +02:00
-
081c936c55
Added UML diagram for Streams.
Vreixo Formoso
2007-10-14 17:31:08 +02:00
-
b3d83e4d1f
Adding SourceFile impl. and model relation between them a filesystem.
Vreixo Formoso
2007-10-14 17:03:15 +02:00
-
285de9b44f
Little changes.
Vreixo Formoso
2007-10-13 20:12:38 +02:00
-
1b1f2f5ad9
Add a sequence diagram for the creation of a TreeNode.
Vreixo Formoso
2007-10-13 20:03:52 +02:00
-
a387e4a619
Annotatte the Builder diagram.
Vreixo Formoso
2007-10-13 19:37:23 +02:00
-
b9e1e7e6c3
Added diagram with initial draft of Builder and Filesystem concepts.
Vreixo Formoso
2007-10-12 18:58:31 +02:00
-
f0f6c51b6a
Added FileSource to TreeNode.
Vreixo Formoso
2007-10-10 19:49:45 +02:00