summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-04-08bump so version to reflect api changev1.0.8Gravatar Nikias Bassen1-1/+1
2012-04-08replace uuid by udid, which is the correct term for itGravatar Nikias Bassen3-18/+18
2012-04-07udev: Set owner to usbmux on device node to make it useable for usbmux userGravatar Martin S1-2/+2
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-23Licensed common/utils.c and common/utils.h under LGPLGravatar Nikias Bassen2-12/+14
The legal copyright holders, Hector Martin and Nikias Bassen, both agreed to change the license of these files to LGPL so using libusbmuxd won't violate the GPL anymore for using code from these files.
2012-01-17Merge branch 'master' of http://git.sukimashita.com/usbmuxdGravatar Nikias Bassen1-1/+3
2012-01-17libusbmuxd: free device info after removing it from collectionGravatar Nikias Bassen1-0/+3
2012-01-14Fix detection for Apple TV 2 due to small interface detection bugGravatar Martin Szulecki1-1/+3
2012-01-12Fix possible buffer overflow (thanks Rigan)Gravatar Nikias Bassen1-1/+1
2011-03-15Bump PID range for iPad 2, iPhone 5 and their variantsv1.0.7Gravatar Martin S2-4/+4
2011-03-15Handle devices with swapped endpoint descriptorsGravatar Hector Martin1-8/+15
Reported by Adam Iglewski on an iPhone 2G running 1.1.4
2011-01-08libusbmuxd/iproxy: use windows threads instead of pthread for win32 buildGravatar Nikias Bassen3-2/+57
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 Bassen2-0/+16
2010-11-26libusbmuxd: implement inotify supportGravatar Bastien Nocera1-10/+86
2010-09-28Fix potential issue with USB transactions >=32k multiples of 16kv1.0.6Gravatar Hector Martin1-1/+1
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-21Also bump the PID range in usb.h. Duh.Gravatar Hector Martin1-1/+1
2010-09-19Fixes for building libusbmuxd on OS XGravatar John Maguire3-3/+5
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-09-19Bump udev rules to 0-9a-f, should last for a few device iterationsGravatar Hector Martin1-2/+2
2010-07-01Add extern "C" to libusbmuxd headersv1.0.5Gravatar Hector Martin2-0/+16
2010-07-01Disable fdlist_* in utils for libusbmuxdGravatar Hector Martin2-0/+4
Should help Windows builds (no poll.h)
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-17Fix segfault when device initialization failsGravatar Hector Martin1-0/+1
2010-06-17Remove spurious newline in messageGravatar Hector Martin1-1/+1
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-13Abort processing for some client errors (instead of crashing)Gravatar Hector Martin1-0/+3
Missing 'return' statements caused the code to keep running on a deallocated client, which would cause the server to crash.
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 Martin2-0/+2
2010-06-12These patches get usbmuxd compiling/working on FreeBSD. With minor changes, ↵Gravatar Jacob Myers4-6/+16
it could work on other BSD's also.
2010-06-12Some README updates and fixesGravatar Hector Martin1-4/+3
2010-05-27Added missing FindPLIST.cmake fileGravatar Nikias Bassen1-0/+31
2010-05-26libusbmuxd: use winsock API for win32Gravatar Nikias Bassen5-4/+49
2010-05-26Add protocol version 1 (plist based) support using libplistGravatar Nikias Bassen6-28/+402
2010-05-26usbmuxd: rename notify_device to notify_device_add; added notify_device_removeGravatar Nikias Bassen1-4/+9
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-26Refuse to build usbmuxd on win32 as libusb-1.0 is not availableGravatar Nikias Bassen1-0/+7
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