History log of /haiku/src/servers/registrar/ClipboardHandler.cpp
Revision Date Author Comments
# b367d3a7 02-Sep-2014 Adrien Destugues <pulkomandy@gmail.com>

registrar ClipboardHandler: Style fixes.


# 42315414 30-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

* Implemented atomic commit support to the clipboard as described by #1187.
* Cleanup.


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


# 758b1d0e 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



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


# d8247d2b 17-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Changes due to moving RegistrarDefs stuff into the BPrivate namespace.


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


# 58b5124e 12-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Replace ClipboardTree by Clipboard, a class just representing a clipboard.
The clipboards are managed in a simple string->Clipboard map.


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


# 132c664b 11-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added TODO. The implementation should be revised. BClipboard::{Local,System}Count() is broken and I can see why. Instead of just fixing that a reimiplementation is probably best.


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


# 6cdadea7 09-Nov-2002 shadow303 <shadow303@nowhere.fake>

Added missing instances of "case"


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


# e4840f5b 02-Nov-2002 DarkWyrm <darkwyrm@gmail.com>

Checkin for Gabe Yoder


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


# b010ca67 21-Oct-2002 DarkWyrm <darkwyrm@gmail.com>

Checkin for Gabe Yoder


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


# c09fb4b9 28-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added doxygen comments.


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


# 4b8a7115 21-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a registrar skeleton.


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


# b367d3a77c82d510f1ba2795e4c5b4e58b54809f 02-Sep-2014 Adrien Destugues <pulkomandy@gmail.com>

registrar ClipboardHandler: Style fixes.


# 4231541414fdc493dc8e97d76e3c3d76def82a32 30-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

* Implemented atomic commit support to the clipboard as described by #1187.
* Cleanup.


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


# 758b1d0e05fe1042cce6e00d194a147802d4f9be 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



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


# d8247d2bd96c27450ba2a298ef6dacd05c6ac604 17-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Changes due to moving RegistrarDefs stuff into the BPrivate namespace.


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


# 58b5124e460ceb932763751bc5305566bb24473f 12-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Replace ClipboardTree by Clipboard, a class just representing a clipboard.
The clipboards are managed in a simple string->Clipboard map.


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


# 132c664be7d43bc2121fb076c85208a19d2f6d9c 11-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added TODO. The implementation should be revised. BClipboard::{Local,System}Count() is broken and I can see why. Instead of just fixing that a reimiplementation is probably best.


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


# 6cdadea727b75c173b754d30c75371b416811b98 09-Nov-2002 shadow303 <shadow303@nowhere.fake>

Added missing instances of "case"


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


# e4840f5bd2af6ad68330af32f9d27e0e81148382 02-Nov-2002 DarkWyrm <darkwyrm@gmail.com>

Checkin for Gabe Yoder


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


# b010ca67201c6b96d2136d4feca376bb9afe9a57 21-Oct-2002 DarkWyrm <darkwyrm@gmail.com>

Checkin for Gabe Yoder


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


# c09fb4b9716af9fe514087b57f5a3a08f9040530 28-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added doxygen comments.


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


# 4b8a71155aa54849431a5d3fa9e76b9c8a3a0308 21-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a registrar skeleton.


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