Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-05-05 | Initial commit of working packet logger (idevicebtlogger) | Geoffrey Kruse | 3 | -1/+273 | |
2022-05-02 | idevice: Fix sign issue in idevice_get_device_list_extended | Семён Марьясин | 1 | -1/+1 | |
In sync with idevice_from_mux_device, line 384. Without this fix, data size 128 (the common value) is treated as -128, resulting in incorrect allocation. Related to #1248 but doesn't fully fix it. | |||||
2022-05-02 | lockdownd: Fix memory leaks in error conditions | Sami Kortelainen | 1 | -0/+3 | |
2022-04-30 | [clang-tidy] Do not use else after return | Rosen Penev | 9 | -94/+93 | |
Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] Fix bugprone string compare | Rosen Penev | 6 | -9/+9 | |
Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] add parentheses to macros | Rosen Penev | 3 | -6/+6 | |
Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] use const pointer parameter | Rosen Penev | 1 | -1/+1 | |
Found with readability-non-const-parameter Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | Fix a few inconsistent declarations | Nikias Bassen | 1 | -7/+4 | |
2022-04-22 | idevice: Fix mistreatment of 0-byte sent cases | Li Beinan | 1 | -1/+4 | |
Currently if 0 byte gets sent, it is treated as not-enough-data. This is wrong, because with TCP, 0-byte-sent usually means the receiver end is closed. We must set a new case for this and must not normalize the sent-bytes to 0 in general. | |||||
2022-04-12 | Add property_list_client_get_service_client() and service_get_connection() ↵ | Nikias Bassen | 2 | -0/+14 | |
functions This allows for custom service implementations to easier switch to non-plist communication after the service has been started. | |||||
2022-03-29 | idevice: Fix debug message showing function name twice | Nikias Bassen | 1 | -1/+1 | |
2022-03-29 | Remove buggy and redundant debug output | Ben Wagner | 1 | -2/+0 | |
2022-03-29 | Handle connection failures in debugserver_client_receive_response; also ↵ | Ben Wagner | 1 | -92/+85 | |
simplify the code | |||||
2022-03-29 | Format | Ben Wagner | 1 | -6/+7 | |
2022-03-29 | Fix compile | Ben Wagner | 1 | -1/+1 | |
2022-03-29 | Add timeout and interrupt handling to debugserver. Fix ↵ | Ben Wagner | 2 | -3/+24 | |
debugserver_client_handle_response | |||||
2022-03-29 | debugserver: Check return value of asprintf to eliminate compiler warnings | Baodong Chen | 1 | -6/+14 | |
2022-03-29 | reverse_proxy: Add asprintf.h include to make sure vasprintf is available on ↵ | Nikias Bassen | 1 | -0/+1 | |
Windows | |||||
2022-03-29 | reverse_proxy: Make sure ECONNRESET and ETIMEDOUT are defined | Nikias Bassen | 1 | -1/+7 | |
2022-03-29 | idevice: win32: Add winsock2.h include for struct sockaddr_storage | Nikias Bassen | 1 | -4/+5 | |
2022-03-29 | idevice: Make sure ECONNREFUSED is defined | Nikias Bassen | 1 | -0/+4 | |
2022-03-25 | afc: Some minor code polishing | Nikias Bassen | 1 | -24/+25 | |
2022-03-01 | diagnostics_relay: Check for errors after sending requests to service connection | 怯花颜 | 1 | -0/+9 | |
2022-02-09 | Add support for wireless pairing | Nikias Bassen | 5 | -3/+1219 | |
2022-02-09 | companion_proxy: Fix invalid argument passed to plist_dict_merge | Nikias Bassen | 1 | -1/+1 | |
2022-02-04 | service: Silence compiler warning when configured without --enable-debug | Nikias Bassen | 1 | -1/+1 | |
2022-02-04 | tools: Print meaningful error messages when service startup fails | Nikias Bassen | 1 | -2/+2 | |
2021-11-24 | Add Reverse Proxy implementation | Nikias Bassen | 3 | -0/+850 | |
2021-10-12 | idevice: Add IDEVICE_E_CONNREFUSED and have idevice_connect() return ↵ | Nikias Bassen | 1 | -2/+17 | |
meaningful error codes This allows clients to properly detect that a connection to the requested port failed because it is not open on the device, instead of just returning an "unknown error" | |||||
2021-09-13 | Check availability of constructor attribute and use it on Windows in favor ↵ | Nikias Bassen | 1 | -10/+18 | |
of DllMain | |||||
2021-09-06 | pkgconfig: Fix libimobiledevice-glue dependency in .pc file | Nikias Bassen | 1 | -1/+1 | |
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 | 13 | -13/+16 | |
2021-07-30 | idevice: Reset receive length variable in internal_ssl_read retry loop and ↵ | Nikias Bassen | 1 | -1/+2 | |
fix wrong variable in debug message | |||||
2021-07-29 | lockdown: Replace udid and mux_id members from client struct with idevice_t ↵ | Nikias Bassen | 2 | -26/+19 | |
reference | |||||
2021-07-29 | lockdown: Get DeviceClass to make sure OS version dependent code is executed ↵ | Nikias Bassen | 3 | -1/+34 | |
correctly The code in lockdownd_client_new_with_handshake would call the function lockdownd_validate_pair based on the OS version being less than 7.0 without taking into account that Watch OS has a different versioning scheme compared to the other device classes. For this and any future version/device specific checks, the code now queries the DeviceClass and stores it in the idevice_private struct. | |||||
2021-07-29 | Handle error cases in relevant code when retrieving pair record fails | Nikias Bassen | 2 | -11/+43 | |
2021-07-27 | afc: Suppress compiler warning when compiling without --enable-debug | Nikias Bassen | 1 | -2/+1 | |
2021-07-27 | Add support for MbedTLS | Nikias Bassen | 3 | -37/+188 | |
2021-07-26 | idevice: Remove unnecessary memcpy from internal_ssl_read() | Nikias Bassen | 1 | -29/+15 | |
2021-07-26 | idevice: Route OpenSSL reads/writes through internal_connection_* | Kabir Oberai | 2 | -42/+66 | |
Let's not allow OpenSSL to directly access our file descriptors | |||||
2021-07-25 | idevice: Make sure to handle timeout condition for network connections too | Nikias Bassen | 1 | -9/+11 | |
2021-06-22 | installation_proxy: Ignore non-status messages instead of terminating loop | Simon Søndergaard | 1 | -6/+3 | |
Some iOS versions will interleave a CFBundleIdentifier message into the Status messages, and the code would treat the CFBundleIdentifier message as an error. Terminating the loop, never seeing the last message - and even worse - never calling back to ideviceinstaller that would be stuck waiting for a callback with a message where Status == Complete. | |||||
2021-06-02 | mobilesync: Set DeviceLink version to 400 to support iOS 14b4+ | Nikias Bassen | 1 | -1/+1 | |
Thanks to @darshilgada24 for pointing this out. | |||||
2021-02-01 | debugserver: Return success when a receive timed out but actualy bytes have ↵ | Nikias Bassen | 1 | -1/+1 | |
been read | |||||
2021-02-01 | idevice: Allow partial reads in idevice_connection_receive_timeout() and ↵ | Nikias Bassen | 1 | -6/+9 | |
handle timeouts more adequate idevice_connection_receive_timeout(), when in SSL mode, was assuming it should always try to read the exact amount of data specified in `len` parameter. While this works with most protocols that have length fields or fixed sized headers/packets, some others (e.g. debugserver) break because it will request a read but doesn't know the size that is expected to be returned beforehand. This commit will handle timeouts better and return the number of bytes that were read in such cases (instead of returning 0 bytes read + error). Note that in the event of a timeout, IDEVICE_E_TIMEOUT will be returned even though actual data might have been read. The number of bytes read will be returned in recv_bytes. | |||||
2020-11-19 | idevice: Handle -EAGAIN in case usbmuxd_send() returns it | Nikias Bassen | 1 | -1/+4 | |
2020-09-10 | debugserver: Fix service startup for iOS 14b4+ | Nikias Bassen | 2 | -3/+13 | |
2020-08-10 | screenshotr: Set DeviceLink version to 400 to support iOS 14b4+ | Nikias Bassen | 1 | -1/+1 | |
2020-08-07 | mobilebackup2: Set DeviceLink version to 400 to support iOS 14b4+ | Nikias Bassen | 1 | -1/+1 | |