Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-04-19 | libusbmuxd: use separate mutex for initialization | Nikias Bassen | 1 | -9/+12 | |
2013-04-19 | libusbmuxd: use common thread and mutex code | Nikias Bassen | 4 | -55/+208 | |
2013-04-18 | libusbmuxd: fix race conition in automatic usbmuxd_init invocation | Nikias Bassen | 1 | -2/+17 | |
2013-02-28 | libusbmuxd: use a monitor to handle device events and use a device list cache | Nikias Bassen | 1 | -24/+74 | |
this greatly improves the lookup speed if a lot of devices are attached. | |||||
2012-07-11 | libusbmuxd: Add function to allow dis-/enabling inotify support (Linux only) | Nikias Bassen | 2 | -0/+22 | |
2012-05-11 | libusbmuxd: silence debug printfs and add libusbmuxd_set_debug_level() | Nikias Bassen | 2 | -35/+42 | |
2012-05-05 | libusbmuxd: use mutex to handle concurrency issues | Nikias Bassen | 1 | -0/+15 | |
2012-04-18 | win32: fix missing parameter for device_monitor_cleanup call | Nikias Bassen | 1 | -1/+1 | |
2012-04-08 | replace uuid by udid, which is the correct term for it | Nikias Bassen | 2 | -17/+17 | |
2012-04-07 | libusbmuxd: Do not close inotify watch descriptor like a file descriptor | Martin S | 1 | -5/+5 | |
This caused stdout (fd 1) to be closed in certain situations which does not happen any longer. | |||||
2012-04-07 | libusbmuxd: use pthread_cancel to make usbmuxd_unsubscribe work properly | Nikias Bassen | 1 | -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-07 | libusbmuxd: only fall back to polling if inotify setup fails | Nikias Bassen | 1 | -3/+3 | |
2012-04-06 | libusbmuxd: make ffff* restore mode udid unique | Nikias Bassen | 1 | -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-05 | libusbmuxd: fix usbmuxd_unsubscribe() by using shutdown() instead of SIGINT | Nikias Bassen | 3 | -5/+18 | |
2012-03-31 | libusbmuxd: handle remove messages in usbmuxd_get_device_list | Nikias Bassen | 1 | -26/+49 | |
2012-02-07 | libusbmuxd: only print unexpected msg warning when hdr.length > 0 | Nikias Bassen | 1 | -1/+1 | |
2012-01-17 | libusbmuxd: free device info after removing it from collection | Nikias Bassen | 1 | -0/+3 | |
2012-01-12 | Fix possible buffer overflow (thanks Rigan) | Nikias Bassen | 1 | -1/+1 | |
2011-01-08 | libusbmuxd/iproxy: use windows threads instead of pthread for win32 build | Nikias Bassen | 2 | -1/+26 | |
2010-11-27 | libusbmuxd: allow building without inotify support | Nikias Bassen | 1 | -0/+4 | |
2010-11-26 | libusbmuxd: Fix detection of already running usbmuxd (inotify) | Bastien Nocera | 1 | -1/+5 | |
2010-11-26 | Add inotify cmake detection | Nikias Bassen | 1 | -0/+5 | |
2010-11-26 | libusbmuxd: implement inotify support | Bastien Nocera | 1 | -10/+86 | |
2010-09-26 | Make sure install_name_tool on OSX picks up library install path | Martin Szulecki | 1 | -0/+4 | |
This allows dylib to correctly find libusbmuxd and fixes linking on OSX. | |||||
2010-09-25 | Use Winsock's closesocket() function instead of close() on Windows. | David Sansome | 3 | -17/+27 | |
2010-09-19 | Fixes for building libusbmuxd on OS X | John Maguire | 1 | -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-01 | Add extern "C" to libusbmuxd headersv1.0.5 | Hector Martin | 2 | -0/+16 | |
2010-06-25 | Don't export gethostbyname() use on non-Windows | Bastien Nocera | 2 | -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-13 | Fix cygwin builds | Cerrato Renaud | 3 | -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-12 | Send the port number in screwed up endian in the plist (Apple compat) | Hector Martin | 1 | -1/+1 | |
2010-06-12 | Actually enable the new protocol | Hector Martin | 1 | -0/+1 | |
2010-05-26 | libusbmuxd: use winsock API for win32 | Nikias Bassen | 3 | -0/+35 | |
2010-05-26 | Add protocol version 1 (plist based) support using libplist | Nikias Bassen | 3 | -15/+194 | |
2010-05-26 | libusbmuxd: add send_packet and send_listen/connect_packet functions | Nikias Bassen | 1 | -30/+59 | |
... and use a global tag variable changing with each request | |||||
2010-05-26 | libusbmuxd: add generic receive_packet function and use it | Nikias Bassen | 1 | -91/+117 | |
2010-05-26 | libusbmuxd: use define for the win32 port number | Nikias Bassen | 2 | -1/+5 | |
2010-05-26 | libusbmuxd: use connect_usbmuxd_socket instead of connect_unix_socket | Nikias Bassen | 1 | -1/+1 | |
... inside usbmuxd_get_device_list. This makes sure it works on win32 systems. | |||||
2010-05-26 | Use more common predefined compiler macro to detect win32 | Nikias Bassen | 1 | -1/+1 | |
2010-05-26 | libusbmuxd: win32 does not support unix domain sockets | Nikias Bassen | 2 | -0/+4 | |
2010-05-26 | libusbmuxd: rename FD_* enum values to FDM_* to prevent conflicts | Nikias Bassen | 2 | -7/+7 | |
This seems to be a win32 issue only. But this rename doesn't hurt! | |||||
2010-04-08 | libusbmuxd: close connection after enumerating devices | Nikias Bassen | 1 | -0/+3 | |
2010-04-08 | libusbmuxd: suppress compiler warning | Nikias Bassen | 1 | -2/+2 | |
2010-04-08 | libusbmuxd: support shorter device info record messages | Nikias Bassen | 1 | -1/+1 | |
This adds support for older original usbmuxd implementations shipped with iTunes. | |||||
2010-02-07 | Clean up CMakeLists (inspired by Gentoo patch) | Hector Martin | 1 | -2/+4 | |
2010-01-25 | Remove libusbmuxd debug again that slipped by | Hector Martin | 1 | -1/+0 | |
2010-01-24 | Clean up libusbmuxd warnings | Hector Martin | 1 | -3/+1 | |
2010-01-24 | Add missing pthread.h include to libusbmuxd | Hector Martin | 1 | -0/+1 | |
2010-01-19 | Removed debugging printf's and added __func__ to all remaining fprintf's | Nikias Bassen | 1 | -22/+11 | |
2009-11-05 | Fix: properly remove devices from collection when usbmuxd terminatesv1.0.0 | Nikias Bassen | 1 | -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-31 | Link libusbmuxd with pthread (fix underlinking) | Christophe Fergeau | 1 | -1/+2 | |