summaryrefslogtreecommitdiffstats
path: root/libusbmuxd
AgeCommit message (Collapse)AuthorFilesLines
2013-09-17remove libusbmuxd sources and adapt source tree to use autotoolsGravatar Nikias Bassen6-1748/+0
libusbmuxd has been split off and is now managed in a separate repository. By the time of this commit, the repository is: git clone http://git.sukimashita.com/libusbmuxd.git
2013-07-30libusbmuxd: use 104 for EBADMSG in win32 and only define it if it's not ↵Gravatar Nikias Bassen1-1/+3
defined already.
2013-07-30libusbmuxd: use 134 for EPROTO in win32 and only define it if it's not ↵Gravatar Nikias Bassen1-1/+3
defined already. Thanks saurik for pointing this out.
2013-07-13libusbmuxd: fix memory leak in device_monitor_cleanup()Gravatar Nikias Bassen1-0/+4
2013-07-12libusbmuxd: fix memory leak when receiving plist packetsGravatar Aaron Burghardt1-0/+3
2012-07-11libusbmuxd: Add function to allow dis-/enabling inotify support (Linux only)Gravatar Nikias Bassen2-0/+22
2012-05-11libusbmuxd: silence debug printfs and add libusbmuxd_set_debug_level()Gravatar Nikias Bassen2-35/+42
2012-05-05libusbmuxd: use mutex to handle concurrency issuesGravatar Nikias Bassen1-0/+15
2012-04-18win32: fix missing parameter for device_monitor_cleanup callGravatar Nikias Bassen1-1/+1
2012-04-08replace uuid by udid, which is the correct term for itGravatar Nikias Bassen2-17/+17
2012-04-07libusbmuxd: Do not close inotify watch descriptor like a file descriptorGravatar Martin S1-5/+5
This caused stdout (fd 1) to be closed in certain situations which does not happen any longer.
2012-04-07libusbmuxd: use pthread_cancel to make usbmuxd_unsubscribe work properlyGravatar Nikias Bassen1-5/+17
This actually only affects inotify-enabled builds. Since the faulty SIGINT pthread 'killing' was replaced with a proper solution, this fix is required for the situation where usbmuxd isn't initially running or was terminated; in these cases libusbmuxd was hanging inside a read() system call (waiting for an inotify event) causing pthread_join in usbmuxd_unsubscribe() to wait infinitely.
2012-04-07libusbmuxd: only fall back to polling if inotify setup failsGravatar Nikias Bassen1-3/+3
2012-04-06libusbmuxd: make ffff* restore mode udid uniqueGravatar Nikias Bassen1-0/+8
Devices in restore mode may have an all-f UDID if a previous restore procedure wasn't completed successfully. To be able to differentiate multiple of these devices we add the usbmuxd device handle to make the UDID unique.
2012-04-05libusbmuxd: fix usbmuxd_unsubscribe() by using shutdown() instead of SIGINTGravatar Nikias Bassen3-5/+18
2012-03-31libusbmuxd: handle remove messages in usbmuxd_get_device_listGravatar Nikias Bassen1-26/+49
2012-02-07libusbmuxd: only print unexpected msg warning when hdr.length > 0Gravatar Nikias Bassen1-1/+1
2012-01-17libusbmuxd: free device info after removing it from collectionGravatar Nikias Bassen1-0/+3
2012-01-12Fix possible buffer overflow (thanks Rigan)Gravatar Nikias Bassen1-1/+1
2011-01-08libusbmuxd/iproxy: use windows threads instead of pthread for win32 buildGravatar Nikias Bassen2-1/+26
2010-11-27libusbmuxd: allow building without inotify supportGravatar Nikias Bassen1-0/+4
2010-11-26libusbmuxd: Fix detection of already running usbmuxd (inotify)Gravatar Bastien Nocera1-1/+5
2010-11-26Add inotify cmake detectionGravatar Nikias Bassen1-0/+5
2010-11-26libusbmuxd: implement inotify supportGravatar Bastien Nocera1-10/+86
2010-09-26Make sure install_name_tool on OSX picks up library install pathGravatar Martin Szulecki1-0/+4
This allows dylib to correctly find libusbmuxd and fixes linking on OSX.
2010-09-25Use Winsock's closesocket() function instead of close() on Windows.Gravatar David Sansome3-17/+27
2010-09-19Fixes for building libusbmuxd on OS XGravatar John Maguire1-0/+1
Adds include_directories(${OPT_INCLUDES}) for when libplist isn't in the default include directories. Uses /bin/echo instead of sh's echo as "echo -n" does not work on OS X's sh.
2010-07-01Add extern "C" to libusbmuxd headersv1.0.5Gravatar Hector Martin2-0/+16
2010-06-25Don't export gethostbyname() use on non-WindowsGravatar Bastien Nocera2-0/+4
This triggers warnings in the Red Hat test suite about IPv6 support. The easiest is to not compile that code, which will end up unused on Linux or MacOS X anyway.
2010-06-13Fix cygwin buildsGravatar Cerrato Renaud3-2/+3
- libusbmuxd/CMakeLists.txt : there was a neglect into install rules, for DLL, RUNTIME was missing. - libusbmuxd.c : added __CYGWIN__ conditionnal compilation checks to force regular socket instead of UNIX sockets on CYGWIN platform.
2010-06-12Send the port number in screwed up endian in the plist (Apple compat)Gravatar Hector Martin1-1/+1
2010-06-12Actually enable the new protocolGravatar Hector Martin1-0/+1
2010-05-26libusbmuxd: use winsock API for win32Gravatar Nikias Bassen3-0/+35
2010-05-26Add protocol version 1 (plist based) support using libplistGravatar Nikias Bassen3-15/+194
2010-05-26libusbmuxd: add send_packet and send_listen/connect_packet functionsGravatar Nikias Bassen1-30/+59
... and use a global tag variable changing with each request
2010-05-26libusbmuxd: add generic receive_packet function and use itGravatar Nikias Bassen1-91/+117
2010-05-26libusbmuxd: use define for the win32 port numberGravatar Nikias Bassen2-1/+5
2010-05-26libusbmuxd: use connect_usbmuxd_socket instead of connect_unix_socketGravatar Nikias Bassen1-1/+1
... inside usbmuxd_get_device_list. This makes sure it works on win32 systems.
2010-05-26Use more common predefined compiler macro to detect win32Gravatar Nikias Bassen1-1/+1
2010-05-26libusbmuxd: win32 does not support unix domain socketsGravatar Nikias Bassen2-0/+4
2010-05-26libusbmuxd: rename FD_* enum values to FDM_* to prevent conflictsGravatar Nikias Bassen2-7/+7
This seems to be a win32 issue only. But this rename doesn't hurt!
2010-04-08libusbmuxd: close connection after enumerating devicesGravatar Nikias Bassen1-0/+3
2010-04-08libusbmuxd: suppress compiler warningGravatar Nikias Bassen1-2/+2
2010-04-08libusbmuxd: support shorter device info record messagesGravatar Nikias Bassen1-1/+1
This adds support for older original usbmuxd implementations shipped with iTunes.
2010-02-07Clean up CMakeLists (inspired by Gentoo patch)Gravatar Hector Martin1-2/+4
2010-01-25Remove libusbmuxd debug again that slipped byGravatar Hector Martin1-1/+0
2010-01-24Clean up libusbmuxd warningsGravatar Hector Martin1-3/+1
2010-01-24Add missing pthread.h include to libusbmuxdGravatar Hector Martin1-0/+1
2010-01-19Removed debugging printf's and added __func__ to all remaining fprintf'sGravatar Nikias Bassen1-22/+11
2009-11-05Fix: properly remove devices from collection when usbmuxd terminatesv1.0.0Gravatar Nikias Bassen1-2/+1
... instead of freeing the collection itself. This fixes the problem with gvfs Volumes not getting removed when unplugging a device and thus increasing the number of devices listed under 'Places' or the save file dialog in GNOME.