summaryrefslogtreecommitdiffstats
path: root/src/notification_proxy.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-11common: Update thread.c/.h to match the one from libusbmuxdGravatar Nikias Bassen1-3/+3
2015-01-28Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-5/+5
2015-01-13thread: Introduce thread_new and thread_free to cover handle leaks on WIN32Gravatar Martin Szulecki1-1/+4
2015-01-12Fix overlong blocking in np_client_free()Gravatar Christophe Fergeau1-3/+7
When using ideviceinstaller, np_client_free() would block for several minutes when ideviceinstaller cleans up after installing the application. This happens because the function is blocking on thread_join(), waiting for the notification watcher thread to finish. It only ends when np_get_notification() returns a negative value after getting a timeout, which takes several minutes. However, the thread loop will also exit early if client->parent gets NULL (the loop is iterated every 500ms), so this commit ensures client->parent gets set to NULL early in np_client_free() so that thread_join() does not block for a long time. Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2014-11-11notification_proxy: Send Shutdown command in np_client_free() instead of ↵Gravatar Nikias Bassen1-33/+34
np_post_notification()
2014-10-26Remove obsolete prefix from debug messages in internal locking helpersGravatar Martin Szulecki1-2/+2
2014-10-03Avoid exporting non-public symbolsGravatar Martin Szulecki1-7/+7
2014-03-27Moved Doxygen comments from source files to public headers.Gravatar Aaron Burghardt1-83/+0
Conflicts: include/libimobiledevice/afc.h
2014-03-20Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()"Gravatar Martin Szulecki1-5/+5
2013-11-10property_list_service: Rename RECEIVE_TIMEOUT error for more clarityGravatar Martin Szulecki1-1/+1
2013-10-09Remove duplicate newline from debug messages as one is added automaticallyGravatar Martin Szulecki1-2/+2
2013-09-19notification_proxy: handle error conditions in notification polling threadGravatar Nikias Bassen1-4/+14
2013-08-05Implement *_start_service() helper to simplify creation of service clientsGravatar Martin Szulecki1-0/+20
2013-04-25common: Move debug and userpref code into libinternalcommonGravatar Martin Szulecki1-1/+1
2013-04-25installation_proxy: Silence compiler warnings about thread_t pointer assignmentsGravatar Martin Szulecki1-2/+2
2013-03-20use new internal common code for thread, mutex, and socket operationsGravatar Nikias Bassen1-42/+7
2013-03-14global: make sure to check service before checking service->port to prevent ↵Gravatar Nikias Bassen1-5/+3
crashes
2013-02-26Refactor port number use into service descriptor to enable SSL for servicesGravatar Martin Szulecki1-3/+3
This is a major change which breaks API but is required in order to support SSL communication for services as used by network connections.
2012-03-19[Win32] src/notification_proxy.c: add sleep() definitionGravatar Nikias Bassen1-0/+4
2012-03-19WIN32: use windows threads and mutexes instead of pthread_*Gravatar Nikias Bassen1-1/+35
2012-03-18Remove gthread dependency and use pthreads insteadGravatar Nikias Bassen1-17/+10
2011-05-27notification_proxy: use free() instead of g_free()Gravatar Nikias Bassen1-1/+3
2010-11-28notification_proxy: read ProxyDeath message after posting notificationGravatar Nikias Bassen1-0/+21
This prevents ugly error messages appearing in the device's syslog.
2010-03-24Remove unused and fix some includesGravatar Nikias Bassen1-2/+0
2010-03-16Unify NP callback userdata parameter to user_data for consistencyGravatar Martin Szulecki1-6/+6
2010-03-16Rename the *_int to *_private for better semantic and fix public typedefsGravatar Martin Szulecki1-1/+1
This changes the typedef logic slightly for the public headers in order for doxygen to correctly pickup and enable the client struct documentation.
2010-03-08Add user data parameter to notification callback functionGravatar Nikias Bassen1-2/+6
[#114 state:resolved]
2010-03-08notification_proxy: docs updatedGravatar Nikias Bassen1-12/+20
2010-01-29Global renames due to project rename to libimobiledeviceGravatar Nikias Bassen1-3/+3
2010-01-13Rename service implementation sources to lowercase for consistencyGravatar Martin Szulecki1-0/+392