summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-09-30client: added mutex around client_list accessGravatar Nikias Bassen1-1/+17
2013-09-30device: suppress two compiler warnings with appropriate castsGravatar Nikias Bassen1-3/+3
2013-09-30utils: make FOREACH macro _iter variable uniqueGravatar Nikias Bassen1-4/+8
2013-09-26actually install udev rules fileGravatar Nikias Bassen1-0/+3
2013-09-26udev: lower rules numbering to make sure we start as early as possibleGravatar Nikias Bassen2-1/+1
To prevent the trust dialog from appearing on iOS7 devices we need to make sure that no PTP access is happening before usbmuxd starts. So we start as early as possible so the device will be in trusted host state.
2013-09-24preflight: don't wait for trust if device is at setup screenGravatar Nikias Bassen1-1/+6
2013-09-24preflight: handle invalid pair records properlyGravatar Nikias Bassen1-3/+17
2013-09-22main: enclose libimobiledevice related code in #ifdefsGravatar Nikias Bassen1-0/+6
2013-09-19preflight: Trigger new trust dialog if user denied pairing beforeGravatar Martin Szulecki1-0/+8
This changes allows to replug a device to trigger a new trust dialog if the user did deny the pairing before.
2013-09-19preflight: Use userpref_get_system_buid() instead of hardcoded pathGravatar Martin Szulecki3-5/+7
2013-09-19preflight: Add missing definition for userpref_device_record_get_host_id()Gravatar Martin Szulecki1-0/+2
2013-09-19preflight: Allow pre iOS 6 devices to become visible if pairing failsGravatar Martin Szulecki1-6/+11
This allows any client to react and handle pairing errors which includes password protected devices and alike.
2013-09-19preflight: Fix some comments to comply to C89Gravatar Martin Szulecki1-4/+4
2013-09-19Bump version to 1.0.9Gravatar Martin Szulecki1-1/+1
2013-09-19make sure usbmuxd -x does not terminate when unpaired devices are still presentGravatar Nikias Bassen4-9/+9
2013-09-19added preflight worker implementation to handle initial device pairingGravatar Nikias Bassen8-11/+365
2013-09-18install usbmuxd to $prefix/sbin, not $prefix/binGravatar Nikias Bassen1-1/+1
2013-09-17added missing usbmuxd-proto.hGravatar Nikias Bassen1-0/+96
2013-09-17silence several compiler warningsGravatar Nikias Bassen6-10/+16
2013-09-17remove libusbmuxd sources and adapt source tree to use autotoolsGravatar Nikias Bassen46-3470/+232
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-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