Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-14 | win32: Return WaitForSingleObject error code in usbmuxd_unsubscribe | Nikias Bassen | 1 | -1/+4 | |
Similar to the previous commit, WaitForSingleObject may return an error code. While not sure how to handle this error we return it to the caller of usbmuxd_unsubscribe. | |||||
2016-07-14 | Report pthread_kill/pthread_join errors in usbmuxd_unsubscribe | Christophe Fergeau | 1 | -2/+7 | |
In order to avoid race condition between an usbmuxd_event_cb_t firing in a different thread and usbmuxd_unsubscribe() being called, libusbmuxd users must assume that once usbmuxd_unsubcribe() returns, no more usbmuxd_event_cb_t callbacks will fire, but also that those which were already started when usbmuxd_unsubcribe() is called will have completed. usbmuxd_unsubcribe() tries to guarantee this, but pthread_kill/pthread_join may fail, in which case this guarantee would not hold. This commit makes sure an error is reported to the caller when we get in this situation (though I'm not really sure how the caller could handle it). | |||||
2016-07-14 | Handle 'Paired' message and pass event to client through callback | Nikias Bassen | 1 | -0/+12 | |
2016-07-13 | Log all errors during receive for debugging | BALATON Zoltan | 1 | -11/+7 | |
2016-07-13 | Catch Paired message even if it is ignored now to prevent returning an | BALATON Zoltan | 1 | -2/+18 | |
error to the user on receiving this message. | |||||
2014-10-10 | inotify: Work around race condition by adding a retry loop | Nikias Bassen | 1 | -1/+8 | |
In certain circumstances usbmuxd might not have been started up when the socket file creation event has occured. This causes connect_usbmuxd_socket() to fail and usbmuxd_listen_inotify() is invoked again, but the socket file creation event will not occur anymore. To fix this we retry to connect to usbmuxd after waiting a second in case the first connection attempt failed (with a maximum of 10 retries). | |||||
2014-10-10 | Fix check for file descriptor validity | Nikias Bassen | 1 | -1/+1 | |
2014-10-06 | Update copyright header | Martin Szulecki | 1 | -2/+2 | |
2014-10-06 | Fix undefined pointer operation warning from latest Clang | Martin Szulecki | 1 | -1/+1 | |
Fixes #20, which caused a warning due to "-Wtautological-pointer-compare". | |||||
2014-10-03 | win32: Avoid exporting non-public symbols with declspec dllexport | Nikias Bassen | 1 | -3/+7 | |
2014-10-03 | Use -fvisibility=hidden to avoid exporting non-public symbols | Chow Loong Jin | 1 | -16/+22 | |
2014-10-03 | Move socket and collection functions to a convenience library | Chow Loong Jin | 5 | -633/+3 | |
This avoids the iproxy tool from relying on undocumented library ABI. | |||||
2014-10-03 | Update copyright headers of all source files to match | Martin Szulecki | 5 | -71/+68 | |
2014-09-13 | Properly rename header guards according to C++ standard | Nikias Bassen | 2 | -5/+5 | |
2014-09-11 | Return 0 on success in usbmuxd_read_buid() | Nikias Bassen | 1 | -1/+2 | |
2014-06-20 | Properly dereference record_data to check that it's set. | Aaron Burghardt | 1 | -1/+1 | |
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org> | |||||
2014-05-06 | Make sure to close socket if usbmuxd_get_device_list() errors out | Nikias Bassen | 1 | -0/+3 | |
2014-04-24 | Close socket in usbmuxd_read_buid() and usbmuxd_*_pair_record() functions | Nikias Bassen | 1 | -0/+4 | |
2014-03-25 | Fix check for validity of socket file descriptor | Nikias Bassen | 1 | -1/+1 | |
2014-03-24 | Properly handle segmented send/receive situations | Nikias Bassen | 1 | -4/+20 | |
2014-03-24 | Improve error checking around usbmuxd_get_result() | Nikias Bassen | 1 | -15/+18 | |
2014-03-22 | Use plist_dict_set_item() instead of deprecated plist_dict_insert_item() | Nikias Bassen | 1 | -9/+9 | |
2014-03-12 | socket: Fix compiler warning due to unused variable | Martin Szulecki | 1 | -0/+4 | |
2014-03-11 | socket: avoid SIGPIPE using SO_NOSIGPIPE or MSG_NOSIGNAL | Nikias Bassen | 1 | -1/+40 | |
2014-03-11 | usbmuxd_send(): return negative errno value on error | Nikias Bassen | 1 | -1/+1 | |
2014-03-10 | use socket_send() instead of send() | Nikias Bassen | 1 | -1/+1 | |
2014-03-02 | plug several memory leaks | Nikias Bassen | 1 | -4/+7 | |
2014-03-02 | remove invalid free | Nikias Bassen | 1 | -1/+0 | |
2014-02-10 | Change vendor id to org.libimobiledevice.usbmuxd | Martin Szulecki | 1 | -1/+1 | |
2014-02-10 | Replace socket implementation and fix indentation in iproxy sources | Martin Szulecki | 5 | -135/+152 | |
2014-01-15 | removed mutex lock - concurrency issues where caused by tag mismatch | Nikias Bassen | 1 | -18/+0 | |
2014-01-10 | make usbmuxd_send() return a negative errno value like specified in the docs | Nikias Bassen | 1 | -1/+2 | |
2014-01-08 | make 'use_tag' usage thread safe and ignore tag mismatch errors | Nikias Bassen | 1 | -28/+39 | |
2014-01-07 | Fix checking return values from usbmuxd | Nikias Bassen | 1 | -4/+4 | |
2013-12-13 | correct some debug messages | Nikias Bassen | 1 | -4/+4 | |
2013-12-13 | implemented usbmuxd_read/save/delete_pair_record() | Nikias Bassen | 1 | -0/+133 | |
2013-12-13 | implemented usbmuxd_read_buid() | Nikias Bassen | 1 | -0/+51 | |
2013-12-13 | make libplist dependency/protov1 support mandatory | Nikias Bassen | 1 | -44/+7 | |
2013-12-12 | implement ListDevices command and use it in usbmuxd_get_device_list() | Nikias Bassen | 1 | -31/+131 | |
2013-12-11 | usbmuxd_get_result: allow getting the plist result for newer usbmuxd commands | Nikias Bassen | 1 | -8/+23 | |
2013-12-11 | default to proto v1 (plist) with fallback to binary-only | Nikias Bassen | 1 | -6/+10 | |
2013-12-09 | add missing kLibUSBMuxVersion to plist messages | Nikias Bassen | 1 | -0/+2 | |
2013-12-09 | add plist helper functions to reduce code duplication | Nikias Bassen | 1 | -28/+31 | |
2013-11-12 | Fixed misuse of free() instead of plist_free(). | Aaron Burghardt | 1 | -1/+1 | |
2013-09-17 | disable debug output by default | Nikias Bassen | 1 | -1/+1 | |
2013-09-17 | improve speed my lowering timeout when getting device list | Nikias Bassen | 1 | -1/+1 | |
2013-09-17 | win32: avoid versioning | Nikias Bassen | 1 | -0/+1 | |
2013-09-17 | fix win32 build | Nikias Bassen | 1 | -1/+1 | |
2013-09-17 | added libpthread_LIBS to fix build in tools | Nikias Bassen | 1 | -1/+1 | |
2013-09-17 | initial commit of adapted source tree. | Nikias Bassen | 6 | -0/+1565 | |