History log of /haiku/src/add-ons/kernel/file_systems/udf/Utils.h
Revision Date Author Comments
# c530d46c 09-Oct-2012 Jérôme Duval <jerome.duval@gmail.com>

UDF: support for metadata partition (feature from 2.50)

* added Icb::FindBlock() to find block in extents.
* MetadataPartition uses extents descriptors found in the metadatafile
to lookup blocks on a physical partition
* uses struct timespec instead of time_t
* added init_entities() to call C++ structures constructors. This is
called at module initialization, C++ constructors are currently not called when
a kernel module is loaded.
* tested with a sample bluray ISO.


# 20d84995 20-Sep-2009 Rene Gollent <anevilyak@gmail.com>

Various changes to get this mostly compiling, with the exception of a template issue I don't yet completely understand.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33213 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 70081c0d 09-Aug-2008 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Clean up continues
* Removing _IMPEXP_KERNEL macro along with the COMPILE_FOR_R5 macro
* Also removing Udf namespace


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26884 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 245aecda 21-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

Got rid of vnode_id and mount_id, replaced with ino_t and dev_t.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21485 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d4d702e 31-Aug-2006 Jérôme Duval <korli@users.berlios.de>

fix build for R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18726 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e0c7a1e 10-Jul-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Add COMPILE_FOR_R5 wrappers with extern "C" declarations for when
we compile the R5 add-on, since we're using the Haiku fsproto.h, and the
linker doesn't like it when the fsproto.h declarations are extern "C"'d.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 638d6f03 12-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Since fsproto.h is now C++ safe, it must be correctly included.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7928 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cf79bd2 04-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Moved block_for_offset() from Utils to UdfBuilder.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 533f9c6b 01-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added block_for_offset()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5860 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8528b6dc 04-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added Udf::calculate_crc().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5569 a95241bf-73f2-0310-859d-f6bbb57e9c96


# af44f8e6 03-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added bool_to_string() and check_size_error().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f79d99c8 02-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- DiskStructures.{h,cpp} -> UdfStructures.{h,cpp}
- Added Udf::get_block_shift()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5529 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1379caca 24-Nov-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Removed "udf_" prefix from udf on-disk data structures, as they already
live in the Udf:: namespace, and I'll be referencing them fully qualified in
makeudfimage and don't feel like typing udf twice each time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5474 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb8ce469 05-Aug-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added make_time(), which converts a udf_timestamp() to a time_t.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4231 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24ec5f43 10-Jul-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Udf utility functions
- Added vnode_id to udf_long_address (and vice-versa) conversion functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3938 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c530d46cca3cb9bde36e243e634796eb2e17a23a 09-Oct-2012 Jérôme Duval <jerome.duval@gmail.com>

UDF: support for metadata partition (feature from 2.50)

* added Icb::FindBlock() to find block in extents.
* MetadataPartition uses extents descriptors found in the metadatafile
to lookup blocks on a physical partition
* uses struct timespec instead of time_t
* added init_entities() to call C++ structures constructors. This is
called at module initialization, C++ constructors are currently not called when
a kernel module is loaded.
* tested with a sample bluray ISO.


# 20d84995300bd9c3c5fd62bf8ba599aa7c7e0de9 20-Sep-2009 Rene Gollent <anevilyak@gmail.com>

Various changes to get this mostly compiling, with the exception of a template issue I don't yet completely understand.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33213 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 70081c0dfc7afa77955d195f7022f6e52b04616d 09-Aug-2008 Salvatore Benedetto <salvatore.benedetto@gmail.com>

* Clean up continues
* Removing _IMPEXP_KERNEL macro along with the COMPILE_FOR_R5 macro
* Also removing Udf namespace


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26884 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 245aecda8ac43fc2c0c0bac6a7e4016efa9b71e1 21-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

Got rid of vnode_id and mount_id, replaced with ino_t and dev_t.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21485 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7d4d702e05668402b956fac51c3beb8e4e4361cd 31-Aug-2006 Jérôme Duval <korli@users.berlios.de>

fix build for R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18726 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e0c7a1e3755578af83cc797aacce98ebec9ce0d 10-Jul-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Add COMPILE_FOR_R5 wrappers with extern "C" declarations for when
we compile the R5 add-on, since we're using the Haiku fsproto.h, and the
linker doesn't like it when the fsproto.h declarations are extern "C"'d.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8367 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 638d6f03301db8932839569ca9b6b6c357dda2eb 12-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Since fsproto.h is now C++ safe, it must be correctly included.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7928 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2cf79bd296b83f9be66c0f6fef3840c55f7ce759 04-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Moved block_for_offset() from Utils to UdfBuilder.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5896 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 533f9c6b62d6d182f23b445d07fb75aa441cbc92 01-Jan-2004 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added block_for_offset()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5860 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8528b6dc195330a48bd1e328e57cffeffa034f78 04-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added Udf::calculate_crc().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5569 a95241bf-73f2-0310-859d-f6bbb57e9c96


# af44f8e6596bb81b7d471c9fb6a8c6e3596858a4 03-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added bool_to_string() and check_size_error().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5548 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f79d99c80dc5f18a0a59b9caaff3d73b7ca9570a 02-Dec-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

- DiskStructures.{h,cpp} -> UdfStructures.{h,cpp}
- Added Udf::get_block_shift()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5529 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1379caca11ed925f1b61435601cfd323d57a19d9 24-Nov-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Removed "udf_" prefix from udf on-disk data structures, as they already
live in the Udf:: namespace, and I'll be referencing them fully qualified in
makeudfimage and don't feel like typing udf twice each time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5474 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fb8ce4691044808a2d039e5c99ea68679cfce2b0 05-Aug-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added make_time(), which converts a udf_timestamp() to a time_t.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4231 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 24ec5f43779c698b269f6fe6e60e1b9d0eee377b 10-Jul-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Udf utility functions
- Added vnode_id to udf_long_address (and vice-versa) conversion functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3938 a95241bf-73f2-0310-859d-f6bbb57e9c96