summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03win32: Only define sleep() when it's not found and reorder header file includesGravatar Nikias Bassen2-4/+6
2016-12-27Use ax_pthread.m4 and get rid of clang compiler warning about pthreadGravatar Nikias Bassen3-12/+497
2016-07-14Move EBADMSG and EPROTO defines out of the WIN32 ifdefGravatar David Crosby1-4/+5
Fixes compilation on OpenBSD, which surprisingly doesn't have them
2016-07-14win32: Return WaitForSingleObject error code in usbmuxd_unsubscribeGravatar Nikias Bassen1-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-14Report pthread_kill/pthread_join errors in usbmuxd_unsubscribeGravatar Christophe Fergeau1-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-14Handle 'Paired' message and pass event to client through callbackGravatar Nikias Bassen2-1/+14
2016-07-13Log all errors during receive for debuggingGravatar BALATON Zoltan1-11/+7
2016-07-13Catch Paired message even if it is ignored now to prevent returning anGravatar BALATON Zoltan2-3/+19
error to the user on receiving this message.
2015-12-29common: [security fix] Make sure sockets only listen locallyGravatar Joshua Hill1-2/+2
2015-05-20Update AUTHORS file with correct listGravatar Martin Szulecki1-0/+5
The previous list was wrongly generated from the git history missing a couple of original authors. Thanks to Paul Sladen for the hint.
2015-01-30Improve maintainability and requires of pkg-config fileGravatar Martin Szulecki2-4/+9
2014-10-15Post-release version bump to 1.1.0Gravatar Martin Szulecki1-1/+1
2014-10-15Update NEWS with latest changes1.0.10Gravatar Martin Szulecki1-0/+1
2014-10-14Add "check-news" automake option to ensure correct NEWS file on releasesGravatar Martin Szulecki1-1/+1
2014-10-14Update NEWS with older changes that were left in usbmuxd's NEWS fileGravatar Martin Szulecki1-0/+3
2014-10-14Bump so name correctly as some ABI symbols were removedGravatar Martin Szulecki1-1/+1
2014-10-10inotify: Work around race condition by adding a retry loopGravatar Nikias Bassen1-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-10Fix check for file descriptor validityGravatar Nikias Bassen1-1/+1
2014-10-06Update and correct AUTHORSGravatar Martin Szulecki1-4/+4
2014-10-06Update copyright headerGravatar Martin Szulecki1-2/+2
2014-10-06Fix undefined pointer operation warning from latest ClangGravatar Martin Szulecki1-1/+1
Fixes #20, which caused a warning due to "-Wtautological-pointer-compare".
2014-10-03Bump so revision due to ABI changesGravatar Nikias Bassen1-1/+1
2014-10-03Updated NEWS with latest changesGravatar Nikias Bassen1-1/+3
2014-10-03win32: Avoid exporting non-public symbols with declspec dllexportGravatar Nikias Bassen1-3/+7
2014-10-03Use -fvisibility=hidden to avoid exporting non-public symbolsGravatar Chow Loong Jin2-17/+28
2014-10-03Move socket and collection functions to a convenience libraryGravatar Chow Loong Jin9-9/+21
This avoids the iproxy tool from relying on undocumented library ABI.
2014-10-03Update copyright headers of all source files to matchGravatar Martin Szulecki6-76/+73
2014-10-03Update NEWS with latest changesGravatar Martin Szulecki1-8/+23
2014-10-03Update and slightly cleanup copyright headers of public APIGravatar Martin Szulecki2-43/+40
2014-10-03Update README with latest information and project URLsGravatar Martin Szulecki1-199/+48
2014-10-03Rename license file to more generic COPYINGGravatar Martin Szulecki1-0/+0
2014-10-03Remove umaintained and untested Python toolsGravatar Martin Szulecki3-397/+0
2014-10-03Remove obsolete files from "stuff", afc can be used easily insteadGravatar Martin Szulecki2-66/+0
2014-10-03Remove outdated and unmaintained README.develGravatar Martin Szulecki1-50/+0
2014-10-03iproxy: Print correct error message when receiving failsGravatar Nikias Bassen1-2/+2
2014-10-03iproxy: Use internal socket helper functions everywhere for better portabilityGravatar Nikias Bassen1-13/+11
2014-10-03iproxy: Detach accept thread to handle multiple connectionsGravatar Eric Day1-6/+16
2014-09-26iproxy: Also disconnect client if usbmuxd is not running or no device is foundGravatar Nikias Bassen1-0/+6
2014-09-21iproxy: Disconnect client if no or unmatching device is connectedGravatar Nikias Bassen1-1/+4
2014-09-21iproxy: Add the ability to filter by UDIDGravatar Eric Day1-4/+28
2014-09-13Properly rename header guards according to C++ standardGravatar Nikias Bassen4-11/+11
2014-09-11Return 0 on success in usbmuxd_read_buid()Gravatar Nikias Bassen1-1/+2
2014-06-20Properly dereference record_data to check that it's set.Gravatar Aaron Burghardt1-1/+1
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2014-05-09tools: Use $(top_builddir) instead of relative path to fix out of tree buildGravatar Martin Szulecki1-1/+1
2014-05-06Make sure to close socket if usbmuxd_get_device_list() errors outGravatar Nikias Bassen1-0/+3
2014-04-24Close socket in usbmuxd_read_buid() and usbmuxd_*_pair_record() functionsGravatar Nikias Bassen1-0/+4
2014-03-25Fix check for validity of socket file descriptorGravatar Nikias Bassen1-1/+1
2014-03-24Properly handle segmented send/receive situationsGravatar Nikias Bassen1-4/+20
2014-03-24Improve error checking around usbmuxd_get_result()Gravatar Nikias Bassen1-15/+18
2014-03-24Post-release version bump to 1.0.10Gravatar Nikias Bassen1-1/+1