History log of /haiku-fatelf/src/kits/app/AppMisc.cpp
Revision Date Author Comments
# 6c40fc5d 21-Jan-2012 czeidler <haiku@clemens-zeidler.de>

Reconnect BApplication and trigger reconnect of all BWindows in an application.
* handle bitmap reconnect request in the app server


# 4bb026ea 14-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Missing header.


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


# ec1bcf62 01-Dec-2009 Axel Dörfler <axeld@pinc-software.de>

* Added private methods get_app_server_port() (that stores the server port,
and doesn't have to find it every time), and create_desktop_connection() that
is now used from BApplication::_ConnectToServer() as well as the DesktopLink.
* Move PortLink::SetTo() into base class ServerLink.
* Eliminated duplicated member fReplyPort in DesktopLink.
* Cleanup.


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


# 240a2c89 30-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed no longer needed gInitializationLock.


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


# 4b9cf09f 29-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Got rid of is_running_on_haiku(). It was used for the test environment,
but wouldn't work when running it on Haiku anyway. At any rate, it was
relatively expensive (uname()) and used already in the libbe
initialization.
* Got rid of the non-Haiku support of main_thread_for().


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


# 67c578e7 10-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added global lock that can be used for lazy initializations.


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


# 88df8322 25-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Optimized current_team() - it now uses a static variable to hold the team ID.


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


# 5edcfe96 03-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Cleanup!


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


# cd05d511 14-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Introduced generalized versions of get_app_path() and get_app_ref() returning the path/ref for an arbitrary team.

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


# c39d6b97 07-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced is_app_showing_modal_window(). Not implemented yet. Maybe
someone with app server insight wants to do that. :-)
* Simplified main_thread_for() for Haiku.


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


# 9171d496 16-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added function is_running_on_haiku(), which returns at runtime whether we're running under Haiku.


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


# 83969b95 04-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

B_PATH_NAME_LENGTH + 1 -> B_PATH_NAME_LENGTH.


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


# 121f83dd 12-Oct-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved the miscellaneous app kit functions into the BPrivate namespace and added the function current_team() which returns the ID of the current team.


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


# 41b5558a 19-Aug-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added explanative comment to get_app_path() and fixed the error return value of main_thread_for().


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


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

Moved some reusable code from BApplication to this shiny new place.


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


# 6c40fc5dfcd03d69d585754505e6b17287a42082 21-Jan-2012 czeidler <haiku@clemens-zeidler.de>

Reconnect BApplication and trigger reconnect of all BWindows in an application.
* handle bitmap reconnect request in the app server


# 4bb026ea4b7b97a757d6139b8a10d56107f9ba00 14-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Missing header.


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


# ec1bcf6243a5d41c449c9914e2c26485d8ce943c 01-Dec-2009 Axel Dörfler <axeld@pinc-software.de>

* Added private methods get_app_server_port() (that stores the server port,
and doesn't have to find it every time), and create_desktop_connection() that
is now used from BApplication::_ConnectToServer() as well as the DesktopLink.
* Move PortLink::SetTo() into base class ServerLink.
* Eliminated duplicated member fReplyPort in DesktopLink.
* Cleanup.


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


# 240a2c89e8156a383e42f5242bf2fae863096cff 30-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed no longer needed gInitializationLock.


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


# 4b9cf09f14ca4d93f9063d4b824758ce1ea599c0 29-Nov-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Got rid of is_running_on_haiku(). It was used for the test environment,
but wouldn't work when running it on Haiku anyway. At any rate, it was
relatively expensive (uname()) and used already in the libbe
initialization.
* Got rid of the non-Haiku support of main_thread_for().


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


# 67c578e73f123ecb32bf97f62c9bd300638d4f91 10-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Added global lock that can be used for lazy initializations.


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


# 88df8322a9670721743a057e6bb008365ae21f71 25-Jan-2007 Axel Dörfler <axeld@pinc-software.de>

Optimized current_team() - it now uses a static variable to hold the team ID.


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


# 5edcfe961946df304cc90d04f304c8e2fbc5b4a6 03-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Cleanup!


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


# cd05d511e6e4fe89a77b71463c4d79bd9e723e1e 14-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Introduced generalized versions of get_app_path() and get_app_ref() returning the path/ref for an arbitrary team.

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


# c39d6b973737cfca32ebfab90734a184d532d37a 07-Jul-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced is_app_showing_modal_window(). Not implemented yet. Maybe
someone with app server insight wants to do that. :-)
* Simplified main_thread_for() for Haiku.


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


# 9171d496e2123f98d252352ecb8b09c166fa5515 16-Jan-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Added function is_running_on_haiku(), which returns at runtime whether we're running under Haiku.


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


# 83969b958149c8448fccf7d7cdc9a921bb4b1c21 04-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

B_PATH_NAME_LENGTH + 1 -> B_PATH_NAME_LENGTH.


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


# 121f83dd58597966c53f2e63635d9cd7713fa0b2 12-Oct-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved the miscellaneous app kit functions into the BPrivate namespace and added the function current_team() which returns the ID of the current team.


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


# 41b5558a3cbac71ff27f7812aa4085773daa9daa 19-Aug-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Added explanative comment to get_app_path() and fixed the error return value of main_thread_for().


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


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

Moved some reusable code from BApplication to this shiny new place.


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