summaryrefslogtreecommitdiffstats
path: root/libusbmuxd
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-10-31Link libusbmuxd with pthread (fix underlinking)Gravatar Christophe Fergeau1-1/+2
2009-10-28Use lib64 on 64-bit systemsGravatar Hector Martin1-2/+2
2009-10-25Add missing license headers and make them consistentGravatar Hector Martin5-0/+115
2009-09-23Add usbmuxd_device_list_free functionGravatar Martin Szulecki2-0/+17
2009-09-08Protocol definition updated.Gravatar Nikias Bassen2-10/+61
renamed: usbmuxd_scan() -> usbmuxd_get_device_list() new: usbmuxd_get_device_by_uuid()
2009-09-08Fix compile under Darwin with more includes, also silences some warnings.Gravatar Nikias Bassen1-0/+2
2009-09-05Silence 64-bit compiler warnings.Gravatar Nikias Bassen1-2/+2
2009-08-26Corrected .so versioning.Gravatar Nikias Bassen1-1/+1
2009-08-26Add version information.Gravatar Nikias Bassen1-0/+2
2009-08-26Renamed 'enum usbmuxd_device_event' to 'enum usbmuxd_event_type'.Gravatar Nikias Bassen2-2/+2
2009-08-26Add stdint.h include in usbmuxd.hGravatar Nikias Bassen1-0/+1
2009-08-26Allow passing user_data to the callback function.Gravatar Nikias Bassen2-11/+11
2009-08-25libusbmuxd: build .so instead of .aGravatar Nikias Bassen1-1/+1