Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-08 | usb: Store the whole device descriptor in struct usb_device | Alexis Ballier | 1 | -4/+3 | |
2017-12-28 | client: Plug memory leak | Rudolf Tammekivi | 1 | -0/+1 | |
2017-10-29 | conf: Report an error if writing to config file fails | Nikias Bassen | 1 | -3/+8 | |
2017-10-29 | Better error handling when saving pair records | Frederik Carlier | 2 | -12/+34 | |
plist_write_to_filename and buffer_write_to_filename now return 0 if the actual write operation failed (e.g. because access is denied to the file), and set errno if required. | |||||
2017-07-17 | utils: Use autoconf to check for availability of clock_gettime() | Nikias Bassen | 1 | -1/+1 | |
2016-01-28 | Try to autodetect ppoll(2) instead of hardcoding the list of platforms ↵ | Jan Beich | 1 | -1/+1 | |
lacking it thus using fallback. | |||||
2016-01-28 | device: Plug small memory leak | Nikias Bassen | 1 | -0/+1 | |
2016-01-28 | Fix debug message printing the wrong timeout value | Nikias Bassen | 1 | -1/+1 | |
2016-01-28 | Add a static clock_gettime() substitute for OS X. | Aaron Burghardt | 1 | -0/+33 | |
2015-07-31 | internal_get_value: fix over-free of node returned by plist_dict_get_item. | Aaron Burghardt | 1 | -1/+0 | |
2015-07-31 | send_system_buid: fix leak of buid string returned by config_get_system_buid. | Aaron Burghardt | 1 | -0/+1 | |
2014-12-02 | preflight: Remove obsoleted extern function declarations | Nikias Bassen | 1 | -3/+0 | |
2014-12-02 | usb: Implement device discovery using libusb hotplug events | Nikias Bassen | 1 | -202/+268 | |
2014-12-02 | Rename usb-linux.c to more suitable usb.c | Nikias Bassen | 2 | -2/+2 | |
2014-11-12 | Use non-blocking sockets for client communication | Nikias Bassen | 2 | -1/+31 | |
This approach is better than using blocking sockets and select() since there's no guarantee that send() doesn't block. Plus we're using poll() anyway so send() and recv() will only be called if the socket is actually ready for writing/reading. | |||||
2014-11-12 | Revert "client: Make sure fd is writable before calling send() to avoid ↵ | Nikias Bassen | 1 | -18/+1 | |
blocking" This reverts commit 23ecea077d8f22d9da5cae50df3e2ff3406fee90. | |||||
2014-11-11 | client: Make sure fd is writable before calling send() to avoid blocking | Nikias Bassen | 1 | -1/+18 | |
2014-11-11 | Get USB speed for device and use it for device attached client message | Martin Szulecki | 5 | -2/+34 | |
2014-11-11 | client: Remove invalid line feed from log message | Nikias Bassen | 1 | -1/+1 | |
2014-11-11 | client: Log pid of connecting clients (if supported) | Nikias Bassen | 1 | -0/+16 | |
2014-11-11 | Use new get_tick_count() to avoid timing issues on packets | Martin Szulecki | 4 | -9/+24 | |
2014-10-17 | Make sure usbmuxd-proto.h file is added to distribution | Martin Szulecki | 1 | -1/+1 | |
2014-10-16 | Only conditionally compile bits of udev and systemd support | Martin Szulecki | 1 | -1/+21 | |
2014-10-14 | Fix support for more than one device with systemd by extending usbmuxd usage | Martin Szulecki | 1 | -15/+41 | |
Upon connecting a new device, usbmuxd was not notified to scan for it if systemd was used as the activation method. This change introduces the "--disable-hotplug" and "--enable-exit" options to have a finer control over usbmuxd's signaling behavior. The convenience option "--systemd" complements the "--udev" option and setups the right settings for systemd. | |||||
2014-10-14 | Fix broken "--user" option which didn't accept an argument | Martin Szulecki | 1 | -1/+1 | |
2014-10-14 | Slightly clean up CFLAGS in Makefile.am | Martin Szulecki | 1 | -4/+5 | |
2014-10-06 | Update and slightly cleanup copyright headers | Martin Szulecki | 16 | -307/+291 | |
2014-09-19 | Flush input buffer for a client connection when calling connection_teardown(). | Satoshi Ohgoh | 1 | -0/+16 | |
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org> | |||||
2014-09-13 | Properly rename header guards according to C++ standard | Nikias Bassen | 8 | -18/+18 | |
2014-05-27 | Use protocol version 2 by default | Nikias Bassen | 1 | -1/+1 | |
2014-05-27 | device: Add protocol version 2 support | Nikias Bassen | 1 | -12/+83 | |
2014-05-27 | client: Fix crash that occured when receiving client command from old client | Martin Szulecki | 1 | -0/+5 | |
2014-05-27 | Fix detection of new "-V" version argument | Martin Szulecki | 1 | -1/+1 | |
2014-05-07 | Fix connection abort if device buffer is full | Peter Wu | 1 | -3/+4 | |
When trying to upload a IPSW filesystem to an iPad, the process would randomly stop somewhere at 3% or 10%. It is possible that the receive buffer of the iPad is full. To prevent erroring out because size == conn->sendable == 0, skip reading from the client. There is a similar case where the clients is ready to accept data, but the device has no data to send. Apply a similar fix there. Hopefully the device is fast enough to reply in the next main loop iteration, otherwise the CPU usage of usbmux will spike because the client socket is ready while there is no data to process... | |||||
2014-05-06 | utils: Add missing plist_read_from_filename() helper | Nikias Bassen | 1 | -0/+25 | |
2014-04-16 | preflight: Unset preflight callback data when no longer needed to prevent ↵ | Nikias Bassen | 1 | -0/+2 | |
segfault | |||||
2014-03-27 | Add "--version" option to print version number and exit, useful for bug reports | Martin Szulecki | 1 | -0/+5 | |
2014-03-27 | Update command usage output to match best practice and other tools | Martin Szulecki | 1 | -10/+11 | |
2014-03-24 | usb-linux: massive read perf improvement with 3 parallel transfers | Mikkel Kamstrup Erlandsen | 1 | -34/+73 | |
By maintaining 3 parallel usb trasfers when reading we get 2-3x more throughput when reading. Without this the usb port is mostly just idling. I get 23mb/s on my system compared to a clean Apple stack that gives me 17mb/s. 3 was chosen because it is simple to hard code, gives very good performance, and have very little impact on out resource consumption. | |||||
2014-03-24 | usb-linux: add some explanatory comments to usb-linux.c | Mikkel Kamstrup Erlandsen | 1 | -0/+5 | |
2014-03-24 | device/utils: move mstime64() into utils since it is generally useful | Mikkel Kamstrup Erlandsen | 3 | -10/+16 | |
2014-03-24 | device: fix potential integer overflow in mstime64() on 32 bit systems | Mikkel Kamstrup Erlandsen | 1 | -1/+4 | |
2014-03-24 | device: more aggresively send ACKs when receiving TCP data | Mikkel Kamstrup Erlandsen | 1 | -49/+66 | |
Before this it seemed that we only ever sent ACK when timing out... Looks like a perf double when reading. | |||||
2014-03-24 | client: add a bunch of comments and function docs | Mikkel Kamstrup Erlandsen | 2 | -1/+90 | |
2014-03-24 | Use plist_dict_set_item() instead of deprecated plist_dict_insert_item() | Martin Szulecki | 2 | -18/+18 | |
2014-03-13 | device: suppress 'error reading from client (0)' which is not actually an error | Nikias Bassen | 1 | -1/+3 | |
2014-02-15 | preflight: create preflight worker as detached thread and handle errors | Nikias Bassen | 1 | -1/+12 | |
2014-01-10 | client: fix realloc in send_pkt() that made the buffer smaller instead of larger | Nikias Bassen | 1 | -4/+10 | |
2014-01-09 | device: reduce locking time inside device_get_list() and device_get_count() | Nikias Bassen | 1 | -5/+14 | |
2014-01-09 | utils: add new collection_copy() function | Nikias Bassen | 2 | -0/+9 | |