History log of /haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/UnpackingAttributeCookie.cpp
Revision Date Author Comments
# 03aed3a3 08-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Attribute index support for non-special attributes

* Add AttributeIndex class.
* Each attribute does now have an attribute index cookie. The new
attribute index service methods Node::IndexAttribute() and
IndexCookieForAttribute() create+set/retrieve the cookie. The cookie
is actually the attribute index's tree node.
* Add OldNodeAttribute::IndexCookieForAttribute() so the cookie is
available when the node changes.


# c4c9e06c 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Support for auto-generated package node attributes

* Add utility class AutoPackageAttributes and AttributeCookie subclass
AutoPackageAttributeCookie.
* UnpackingAttributeCookie::Open() does now try to create a
AutoPackageAttributeCookie, when it doesn't find the attribute in the
PackageNode.
* Adjust UnpackingAttributeDirectoryCookie to also list auto-generated
attributes.

Currently the only supported attribute is "SYS:PACKAGE", which is the
file name of the package containing the node.


# fdde6105 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Added default cookie Close() implementation

Added trivial implementation for AttributeCookie::Close() and
AttributeDirectoryCookie::Close() and removed the identical Close()
implementations in derived classes.


# 1708e569 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Cleanup


# 882b03ab 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Kernel interface abstraction for attribute access

* Introduce interface AttributeCookie and currently only implementation
UnpackingAttributeCookie. This is an interface for reading/stat()ing
an attribute.
* Add abstract virtual Node::OpenAttribute() method that returns an
AttributeCookie and implemented it for derived classes.
* In the kernel interface attribute hooks use AttributeCookie now. The
attribute directory hooks are unchanged.


# 03aed3a3146e5e989b327eba191e41a1d4bf3dfc 08-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Attribute index support for non-special attributes

* Add AttributeIndex class.
* Each attribute does now have an attribute index cookie. The new
attribute index service methods Node::IndexAttribute() and
IndexCookieForAttribute() create+set/retrieve the cookie. The cookie
is actually the attribute index's tree node.
* Add OldNodeAttribute::IndexCookieForAttribute() so the cookie is
available when the node changes.


# c4c9e06c88d03c20bcf84b4e627ce4a4fb15d22f 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Support for auto-generated package node attributes

* Add utility class AutoPackageAttributes and AttributeCookie subclass
AutoPackageAttributeCookie.
* UnpackingAttributeCookie::Open() does now try to create a
AutoPackageAttributeCookie, when it doesn't find the attribute in the
PackageNode.
* Adjust UnpackingAttributeDirectoryCookie to also list auto-generated
attributes.

Currently the only supported attribute is "SYS:PACKAGE", which is the
file name of the package containing the node.


# fdde6105e94c2d2eef019b54a5a0e3dc2ee40c1b 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Added default cookie Close() implementation

Added trivial implementation for AttributeCookie::Close() and
AttributeDirectoryCookie::Close() and removed the identical Close()
implementations in derived classes.


# 1708e56993676b0b6710aac259d2fa2ea93005b3 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Cleanup


# 882b03aba9f028dc99fd79499f3e20b52a91a485 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Kernel interface abstraction for attribute access

* Introduce interface AttributeCookie and currently only implementation
UnpackingAttributeCookie. This is an interface for reading/stat()ing
an attribute.
* Add abstract virtual Node::OpenAttribute() method that returns an
AttributeCookie and implemented it for derived classes.
* In the kernel interface attribute hooks use AttributeCookie now. The
attribute directory hooks are unchanged.