#
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>
|
#
5dd66afb |
|
09-Dec-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
headers: Remove some extra semicolons. Spotted by Clang.
|
#
cee04e80 |
|
08-Feb-2010 |
Artur Wyszynski <aljen-mlists@o2.pl> |
Fixed various errors/warnings reported by cppcheck: * memory leaks * resource leaks * added const's to getters * removed a few reundant conditions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0127fb77 |
|
12-Aug-2007 |
Michael Lotz <mmlr@mlotz.ch> |
* Respect endiannes for item lengths inside swapped BMessages * Also swap the flattened size when creating the read buffer * Define specialized byte_swap()s for unsigned types too so that type_code and the like get swapped correctly This should fix bug #1371. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb9b1980 |
|
03-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed gcc 4(.1.2) build problems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20320 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ca69de45 |
|
13-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Applied Michael's patch for MessageUtils.h - this is supposed to fix some crashing bugs with R5 message format conversion. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16762 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2bf8fb3a |
|
11-Mar-2006 |
Michael Lotz <mmlr@mlotz.ch> |
Putting Message4 into place to become the new BMessage implementation. Will cleanup USING_MESSAGE4 now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16709 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16ba0dc5 |
|
11-Mar-2006 |
Michael Lotz <mmlr@mlotz.ch> |
Removing old BMessage implementation. Message4 will replace it in the next commit. This will allow to fix message related problems like drag and drop and scripting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16708 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ceb1e51 |
|
20-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
* reverted Adi's premature changes to BWindow and restored _DetermineTarget() and task_looper() again. * removed BMessenger::fPreferred - whenever you had to specify "usePreferred" separately, you don't have to do that anymore - use B_PREFERRED_TOKEN instead. * fixed BTokenSpace::GetToken() semantics: it will no longer touch the "object" argument in case of failure. * Introduced a BWindow::_DistributeMessage() that will be part of the event dispatcher counterpart to the app_server (the other will be _DetermineTarget()). * Made it easier to use Michael's Message4 implementation: just add the following line to your UserBuildConfig: AppendToConfigVar DEFINES : HAIKU_TOP src : USING_MESSAGE4 : global ; * Introduced ServerWindow::HandlerMessenger() and FocusMessenger() - the first will target the client handler, while the other will target the preferred handler of the client looper (usually the view having focus). * Fixed dano message unflattening in the Message4 code. * Changed BMessage::PrintToStream() to no longer use macros in the Message4 implementation. * I hope that's all - it's a huge change, but it's all connected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15046 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f8953fc7 |
|
28-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Allow that const data can be supplied to TChecksumHelper::Cache(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11114 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
|
#
02043d35 |
|
07-Sep-2004 |
ejakowatz <ejakowatz@nowhere.fake> |
Added calc_padding() convenience function for calculating how much padding to add to a buffer in order for it to fall on a specified byte boundary. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8889 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
80e96696 |
|
23-May-2003 |
ejakowatz <ejakowatz@nowhere.fake> |
Little tweaks and fixes too numerous to count, but mostly involved with adding entry_refs and BMessages. Lots of stuff for specifiers and also for sending replies (with thanks to Mike Nordell). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b1055b4c |
|
19-Mar-2003 |
ejakowatz <ejakowatz@nowhere.fake> |
This is all the code for the backing store for BMessage (BMessageBody & BMessageField) for the "template madness" version. Also included is BDataBuffer which is a little reference counting raw data container. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2955 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cee04e8074ec61fd8c6dac3539c5b821c3618888 |
|
08-Feb-2010 |
Artur Wyszynski <aljen-mlists@o2.pl> |
Fixed various errors/warnings reported by cppcheck: * memory leaks * resource leaks * added const's to getters * removed a few reundant conditions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0127fb779de856b9b9ee833ad7b29990167e89cd |
|
12-Aug-2007 |
Michael Lotz <mmlr@mlotz.ch> |
* Respect endiannes for item lengths inside swapped BMessages * Also swap the flattened size when creating the read buffer * Define specialized byte_swap()s for unsigned types too so that type_code and the like get swapped correctly This should fix bug #1371. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb9b19800b63d6384fe0937791cb8dd087373e13 |
|
03-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed gcc 4(.1.2) build problems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20320 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ca69de45a8f587cf327bc210f8568e20a295a0c3 |
|
13-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Applied Michael's patch for MessageUtils.h - this is supposed to fix some crashing bugs with R5 message format conversion. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16762 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2bf8fb3a96fb88396d466474b6c66888168376f7 |
|
11-Mar-2006 |
Michael Lotz <mmlr@mlotz.ch> |
Putting Message4 into place to become the new BMessage implementation. Will cleanup USING_MESSAGE4 now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16709 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16ba0dc5ca98127d39c627ae8888ea61d907efc8 |
|
11-Mar-2006 |
Michael Lotz <mmlr@mlotz.ch> |
Removing old BMessage implementation. Message4 will replace it in the next commit. This will allow to fix message related problems like drag and drop and scripting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16708 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ceb1e519c0447147b1d8b54a324bb7fedd3a606 |
|
20-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
* reverted Adi's premature changes to BWindow and restored _DetermineTarget() and task_looper() again. * removed BMessenger::fPreferred - whenever you had to specify "usePreferred" separately, you don't have to do that anymore - use B_PREFERRED_TOKEN instead. * fixed BTokenSpace::GetToken() semantics: it will no longer touch the "object" argument in case of failure. * Introduced a BWindow::_DistributeMessage() that will be part of the event dispatcher counterpart to the app_server (the other will be _DetermineTarget()). * Made it easier to use Michael's Message4 implementation: just add the following line to your UserBuildConfig: AppendToConfigVar DEFINES : HAIKU_TOP src : USING_MESSAGE4 : global ; * Introduced ServerWindow::HandlerMessenger() and FocusMessenger() - the first will target the client handler, while the other will target the preferred handler of the client looper (usually the view having focus). * Fixed dano message unflattening in the Message4 code. * Changed BMessage::PrintToStream() to no longer use macros in the Message4 implementation. * I hope that's all - it's a huge change, but it's all connected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15046 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f8953fc7892d4dd66d6dfeef73badd38c7afff93 |
|
28-Jan-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Allow that const data can be supplied to TChecksumHelper::Cache(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11114 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
|
#
02043d35db79b85ebc1a1a90ba0dfb20901d9d3b |
|
07-Sep-2004 |
ejakowatz <ejakowatz@nowhere.fake> |
Added calc_padding() convenience function for calculating how much padding to add to a buffer in order for it to fall on a specified byte boundary. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8889 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
80e966963f0265e159d6f964ecb4de54ee1dd678 |
|
23-May-2003 |
ejakowatz <ejakowatz@nowhere.fake> |
Little tweaks and fixes too numerous to count, but mostly involved with adding entry_refs and BMessages. Lots of stuff for specifiers and also for sending replies (with thanks to Mike Nordell). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3295 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b1055b4c2d670294fda455547a84928d9ba18eaa |
|
19-Mar-2003 |
ejakowatz <ejakowatz@nowhere.fake> |
This is all the code for the backing store for BMessage (BMessageBody & BMessageField) for the "template madness" version. Also included is BDataBuffer which is a little reference counting raw data container. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2955 a95241bf-73f2-0310-859d-f6bbb57e9c96
|