History log of /haiku/src/kits/support/ByteOrder.cpp
Revision Date Author Comments
# fe88ae51 29-Aug-2020 John Scipione <jscipione@gmail.com>

AppKit: BMessage Add/Find/Get/Has/ReplaceNodeRef

This allows you to pass node_ref's around like you can entry_ref's.

Added node_ref_flatten(), node_ref_unflatten() and node_ref_swap() to
MessageUtils. These are close cousins to entry_ref_flatten(),
entry_ref_unflatten(), and entry_ref_swap() but for node_ref's.

Added B_NODE_REF_TYPE to TypeConstants.h in the Support Kit.

Added B_NODE_REF_TYPE to Debugger and ByteOrder in Support Kit,
B_NODE_REF_TYPE is treated the same as a B_REF_TYPE (entry_ref).

Add documentation for new NodeRef methods and B_NODE_REF_TYPE.

Change-Id: I32c6ed276bf1a7894a835b9fc9de5a882c35883c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3182
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 049d149c 04-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Handle 64-bit types correctly.


# a156e74a 12-Aug-2007 Michael Lotz <mmlr@mlotz.ch>

* Changed swap_data() to behave like the R5 version
* Added a todo about unsafe access of the buffer
* Removed some types from is_type_swapped() to exactly mirror R5

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


# 5232a619 20-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Fixed build, sorry again - sure, with a commit that big, I just had to mess it up :/


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


# 4b8aafea 25-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

BMessenger has no friends besides Private anymore.


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


# 47550b1e 27-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

swap_data() now checks its argument before it decides if there is anything to
do at all; it will now also return B_BAD_VALUE for types where it doesn't need
to do anything (i.e. 8 bit types).


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


# 2397827a 26-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Implemented swap_data() and is_type_swapped() - tests follow soon.


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


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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


# 049d149cf760ee2c95b5f10032d39a9ade92525b 04-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Handle 64-bit types correctly.


# a156e74ad75d231e928455c48fe3f051dd292708 12-Aug-2007 Michael Lotz <mmlr@mlotz.ch>

* Changed swap_data() to behave like the R5 version
* Added a todo about unsafe access of the buffer
* Removed some types from is_type_swapped() to exactly mirror R5

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


# 5232a619c1cd894960e10a8b5cdf4d5828822388 20-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Fixed build, sorry again - sure, with a commit that big, I just had to mess it up :/


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


# 4b8aafea9fea87431ca453d510fc619fac2a30fc 25-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

BMessenger has no friends besides Private anymore.


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


# 47550b1e724bcbb0358aeac610971216e3b0a1f6 27-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

swap_data() now checks its argument before it decides if there is anything to
do at all; it will now also return B_BAD_VALUE for types where it doesn't need
to do anything (i.e. 8 bit types).


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


# 2397827a6f0f1d34c96e62efbbbe8685c5e25fca 26-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Implemented swap_data() and is_type_swapped() - tests follow soon.


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


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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