Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-26 | Add libusbmuxd_version() function to interface | Nikias Bassen | 1 | -0/+8 | |
2024-01-29 | Move USBMUXD_API to public headers | Nikias Bassen | 1 | -22/+24 | |
2023-06-21 | Remove unneeded buffer copy in device_info_from_plist() | Nikias Bassen | 1 | -3/+1 | |
2023-03-01 | Add cast to prevent sign-compare compiler warning | Nikias Bassen | 1 | -2/+2 | |
2022-01-02 | Fix typo in comment | Nikias Bassen | 1 | -1/+1 | |
Thanks to @timgates42 for pointing this out. | |||||
2021-09-01 | Updated pkg-config file with libimobiledevice-glue dependency | Nikias Bassen | 1 | -1/+1 | |
2021-09-01 | Remove common code in favor of new libimobiledevice-glue | Nikias Bassen | 2 | -8/+8 | |
2021-07-15 | Forward usbmuxd connect error codes instead of using -1 everywhere | Nikias Bassen | 1 | -14/+22 | |
2020-12-30 | Remove cast to the same type | Rosen Penev | 1 | -1/+1 | |
[clang-tidy] Found with google-readability-casting Signed-off-by: Rosen Penev rosenp@gmail.com | |||||
2020-12-30 | Do not use else after return or break for better code readability | Rosen Penev | 1 | -5/+14 | |
[clang-tidy] Found with readability-else-after-return Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-12-30 | Remove pointless return | Rosen Penev | 1 | -1/+0 | |
[clang-tidy] Found with readability-redundant-control-flow Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-12-30 | Fix inconsistent declarations | Rosen Penev | 1 | -14/+14 | |
[clang-tidy] Found with readability-inconsistent-declaration-parameter-name Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-11-27 | socket: Fix build on Windows | Nikias Bassen | 1 | -1/+1 | |
2020-06-14 | Add API version to library and pkgconfig file for proper linking | Nikias Bassen | 2 | -7/+7 | |
2020-06-08 | Fix pkg-config file pointing to older libplist dependency | Nikias Bassen | 1 | -1/+1 | |
2020-06-08 | Move pkg-config file into src dir and rename it to include major version as ↵ | Nikias Bassen | 2 | -0/+14 | |
standard recommends | |||||
2020-06-08 | Remove trailing whitespace errors from all files | Martin Szulecki | 1 | -6/+6 | |
2020-04-27 | Fix compiler warning about missing void in function declaration of ↵ | fidetro | 1 | -1/+1 | |
usbmuxd_unsubscribe() | |||||
2019-05-26 | Remove unnecessary NULL pointer checks | Nikias Bassen | 1 | -9/+4 | |
2019-05-25 | inotify: Fix hang when usbmuxd is not running and device monitor is stopped | Nikias Bassen | 1 | -2/+47 | |
2019-05-25 | Make sure device monitor thread can be cancelled without pthread_cancel | Nikias Bassen | 1 | -3/+5 | |
2019-05-23 | Make sure to send device remove events when unregistering the callback | Nikias Bassen | 1 | -0/+8 | |
2019-05-22 | Add new usbmuxd_events_subscribe/unsubscribe functions with a context so it ↵ | Nikias Bassen | 1 | -36/+138 | |
can be used in different threads | |||||
2019-03-23 | Fix Segmentation Fault when UDID parsing failed by bailing out in case of error | Nikias Bassen | 1 | -1/+1 | |
Fixes #63. | |||||
2019-02-27 | Use common thread implementation as used in other libimobiledevice libraries | Nikias Bassen | 2 | -33/+14 | |
2019-02-26 | win32: Make sure ECONNREFUSED is defined | Nikias Bassen | 1 | -0/+3 | |
2019-01-18 | Return meaningful error codes from usbmuxd_connect() | Nikias Bassen | 1 | -5/+13 | |
2018-10-16 | Avoid code duplication for sanitizing udid | Nikias Bassen | 1 | -14/+15 | |
2018-10-15 | Rename DEBUG and ERROR macros to avoid name collision | Nikias Bassen | 1 | -52/+52 | |
2018-10-14 | Allow using non-standard usbmuxd socket address via environment variable | Nikias Bassen | 1 | -0/+44 | |
By using USBMUXD_SOCKET_ADDRESS environment variable, it is possible to make libusbmuxd connect to the specified address. The value needs to be in format ADDRESS:PORT (or UNIX:PATH on unix systems). If no port number is specified or parsing fails, the standard socket address (or unix domain socket file path) will be used silently. | |||||
2018-10-13 | Add proper support for USB and network (WiFi sync) devices reported by usbmuxd | Nikias Bassen | 1 | -101/+201 | |
This commit extends the interface with a new function usbmuxd_get_device() that allows to look up USB *and* network devices, while the 'old' interface usbmuxd_get_device_by_udid() only targets USB devices. The usbmuxd_device_info_t structure now has new members 'conn_type' and 'conn_data' so that the returned device info allows to figure out if a device is available via USB or network. Check the comments in include/usbmuxd.h for more details. | |||||
2018-10-12 | Silence compiler warning about signed vs. unsigned compare | Nikias Bassen | 1 | -2/+2 | |
2018-10-12 | Properly detect availability of program_invocation_short_name and suppress ↵ | Nikias Bassen | 1 | -2/+2 | |
compiler warning | |||||
2018-10-12 | Add hyphen to new style UDIDs on device add events too | Nikias Bassen | 1 | -0/+5 | |
2018-10-08 | Add hyphen to new style UDIDs introduced with iPhone XS/XR | BALATON Zoltan | 1 | -0/+5 | |
2018-09-15 | Add usbmuxd_save_pair_record_with_device_id() to target a device by it's ↵ | Nikias Bassen | 1 | -5/+13 | |
usbmux id | |||||
2018-09-15 | Set ClientVersionString to a more adequate string (PACKAGE_VERSION) | Nikias Bassen | 1 | -1/+1 | |
2018-09-15 | Properly set ProgName (and BundleID if available) in plist messages to usbmuxd | Nikias Bassen | 1 | -8/+165 | |
2017-01-03 | win32: Only define sleep() when it's not found and reorder header file includes | Nikias Bassen | 1 | -3/+5 | |
2016-12-27 | Use ax_pthread.m4 and get rid of clang compiler warning about pthread | Nikias Bassen | 1 | -1/+1 | |
2016-07-14 | Move EBADMSG and EPROTO defines out of the WIN32 ifdef | David Crosby | 1 | -4/+5 | |
Fixes compilation on OpenBSD, which surprisingly doesn't have them | |||||
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". |