History log of /haiku/src/kits/app/LinkSender.cpp
Revision Date Author Comments
# 4f85bc9f 28-Feb-2010 Rene Gollent <anevilyak@gmail.com>

Cleanup of previous work: whether or not we're talking to app_server is already determined at time of port assignment. As such we don't need to cache or care about that, but rather just cache the target team instead of looking it up from the port info every time.



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


# 099f9551 28-Feb-2010 Rene Gollent <anevilyak@gmail.com>

Cache the app_server port lazily so we don't have to look it up every time.



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


# 57dc77bb 28-Feb-2010 Rene Gollent <anevilyak@gmail.com>

ServerLink tried to use the transfer_area semantics backwards ; this failed since only the owner of an area can transfer ownership elsewhere. As a result, sending messages which contained large enough amounts of data would fail entirely. This was most readily visible in Tracker, where some files (i.e. text/plain files where Tracker would attach the text content to the BMessage for DnD clipping purposes) would be undraggable due to the drag initiation message never getting successfully processed by app_server.



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


# ee24e75d 30-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* man, i managed to mess up an one liner...



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


# b1287e5d 30-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* the condition should not have change, thanks Stephan for pointing this out :)



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


# 1678a1dd 28-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* if the given buffer size is to big, we will know we handle it in Attach
this should fix LinkSender usage like as in Stroke/ FillPolygon in BView



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


# 4e61552e 27-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* first implementation of passing data via area to app_server
this makes printing of large images work, fixes task #1067



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


# e2fe7e2f 12-May-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed PortQueue since it's not used. Small style (old) changes here
and there.


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


# f46e077c 09-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Changed the meaning of the second parameter in AttachString(): it's now the maximum
length, not the length of the string.
Introduced a maximal string length that may be sent at once.


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


# c7615473 07-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Removed superfluous strcode() and bstrcode() from the code - it wasn't maintained
for ages, and not really that useful, anyway.


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


# 1156138b 01-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Removed unused files like PortMessage.cpp/h and Session.cpp/h.
Renamed LinkMsgReceiver.h and LinkMsgSender.h to LinkReceiver.h and LinkSender.h like
the classes they contain.
Split up PortLink.cpp/h into ServerLink.cpp/h and PortLink.cpp/h.


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


# 18b5424c 24-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Implemented BRoster::ActivateApp().
* Added the respective case statement in AppServer::DispatchMessage().
The code that actually activates the app is still missing.
* Removed the remnants of the old way of notifying the registrar about
what app got activated (the activated client window did that).



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


# 6a27b3b3 14-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed source files for LinkReceiver and LinkSender to match their class names.
Headers will follow.


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


# 4f85bc9f1802ec8689957d3c39a2b92715d51a04 28-Feb-2010 Rene Gollent <anevilyak@gmail.com>

Cleanup of previous work: whether or not we're talking to app_server is already determined at time of port assignment. As such we don't need to cache or care about that, but rather just cache the target team instead of looking it up from the port info every time.



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


# 099f9551c781dcc312acb7eb2231f1d46b4b9048 28-Feb-2010 Rene Gollent <anevilyak@gmail.com>

Cache the app_server port lazily so we don't have to look it up every time.



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


# 57dc77bb15d652788a9acbefd9b958352f861c91 28-Feb-2010 Rene Gollent <anevilyak@gmail.com>

ServerLink tried to use the transfer_area semantics backwards ; this failed since only the owner of an area can transfer ownership elsewhere. As a result, sending messages which contained large enough amounts of data would fail entirely. This was most readily visible in Tracker, where some files (i.e. text/plain files where Tracker would attach the text content to the BMessage for DnD clipping purposes) would be undraggable due to the drag initiation message never getting successfully processed by app_server.



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


# ee24e75d62a9d215eb63b4458180d12aacae27c8 30-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* man, i managed to mess up an one liner...



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


# b1287e5da5315f7512a633c1d27a76cf559f0c24 30-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* the condition should not have change, thanks Stephan for pointing this out :)



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


# 1678a1dd2c99a0d90c9aafb727740006d29b9205 28-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* if the given buffer size is to big, we will know we handle it in Attach
this should fix LinkSender usage like as in Stroke/ FillPolygon in BView



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


# 4e61552ecdd4b5997b7c3e8b5cf9d7afd9e62079 27-Aug-2008 Karsten Heimrich <host.haiku@gmx.de>

* first implementation of passing data via area to app_server
this makes printing of large images work, fixes task #1067



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


# e2fe7e2fe0a9f0ae8e2a1e36960f1b96d23a5202 12-May-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed PortQueue since it's not used. Small style (old) changes here
and there.


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


# f46e077c5f39f87912b1d09cd02d31860f7d6360 09-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Changed the meaning of the second parameter in AttachString(): it's now the maximum
length, not the length of the string.
Introduced a maximal string length that may be sent at once.


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


# c76154732bdc08903a7b7d3232efafcd71075d21 07-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Removed superfluous strcode() and bstrcode() from the code - it wasn't maintained
for ages, and not really that useful, anyway.


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


# 1156138b2f9c9c85e0fe2538a1186d522d978d31 01-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

Removed unused files like PortMessage.cpp/h and Session.cpp/h.
Renamed LinkMsgReceiver.h and LinkMsgSender.h to LinkReceiver.h and LinkSender.h like
the classes they contain.
Split up PortLink.cpp/h into ServerLink.cpp/h and PortLink.cpp/h.


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


# 18b5424c5f12197d3979cf38dc69149c5e98150c 24-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Implemented BRoster::ActivateApp().
* Added the respective case statement in AppServer::DispatchMessage().
The code that actually activates the app is still missing.
* Removed the remnants of the old way of notifying the registrar about
what app got activated (the activated client window did that).



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


# 6a27b3b3630676d9b88b9b72468010f5bbb4fc19 14-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed source files for LinkReceiver and LinkSender to match their class names.
Headers will follow.


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