summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-03tools: Fix delays in idevicedebugserverproxy when using SSLGravatar Nikias Bassen1-23/+23
Turns out using select() wasn't the best idea for the debugserver connection. libimobildevice already does select internally, and doing it here again would cause delays especially when transferring larger amounts of data.
2021-02-03tools: Fix idevicedebugserverproxy compilation on WindowsGravatar Nikias Bassen1-0/+5
2021-02-01tools: Improve idevicedebugserverproxy with select() and less threadsGravatar Nikias Bassen1-135/+61
2021-02-01debugserver: Return success when a receive timed out but actualy bytes have ↵Gravatar Nikias Bassen1-1/+1
been read
2021-02-01idevice: Allow partial reads in idevice_connection_receive_timeout() and ↵Gravatar Nikias Bassen1-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.
2021-01-11configure: Make sure to also search for cython3 if cython is not foundGravatar Nikias Bassen1-2/+2
2021-01-03Fixed method visibility in mobilebackup2.pxi APIGravatar wendyisgr33n1-13/+18
2021-01-03Fixed bytes/strings checks in lockdown.pxi for compatibility with Python2/3Gravatar wendyisgr33n1-3/+3
2021-01-03Fixed bytes/strings check in imobiledevice.pyx for compatibility with Python2/3Gravatar wendyisgr33n1-1/+1
2021-01-03Fixed debugserver.pxi PyString_AsString compatibility with Python3Gravatar wendyisgr33n1-1/+6
2021-01-03Fixed AFC afc.pxi definitions for Python2/3 compatibility. Added missing ↵Gravatar wendyisgr33n1-12/+16
public method 'remove_path_and_contents'
2020-12-30common: Merge socket changes from libusbmuxdGravatar Nikias Bassen4-49/+388
2020-12-13idevicescreenshot: Remove unnecessary math functions to find a unique filenameGravatar Nikias Bassen1-15/+23
Removes repeated malloc/free too, limits the maximum filenames to try to 65535 and fails if no unique filename could be found. I think this limit is VERY generous. If there are really so many files to test against it will also cause an unconveniently long delay, but I felt a lower limit could still be easily reached.
2020-12-10ideviceprovision: Fix date output by adding MAC_EPOCHGravatar Nikias Bassen1-1/+1
2020-12-10cython: Fix typo in mobilesync.pxiGravatar Nikias Bassen1-1/+1
Thanks to @corsac-s for spotting this.
2020-12-10docs: Improve --quiet command line switch description in idevicesyslog man pageGravatar Nikias Bassen1-1/+1
Thanks to @corsac-s for pointing this out.
2020-12-10include: Fix typo in installation_proxy.hGravatar Nikias Bassen1-6/+6
Thanks to @timgates42 for spotting this.
2020-12-10README: Fix typoGravatar Nikias Bassen1-1/+1
Thanks to @youngchief-btw for spotting this.
2020-12-10idevicescreenshot: Choose a better filename, prevent overwriting existing filesGravatar Greg Dennis1-18/+57
2020-12-10idevicedebug: Add --detach option to start an app and exit idevicedebug ↵Gravatar Jan Peter Stotz1-0/+16
without killing the app
2020-12-07idevicebackup2: Handle DLMessagePurgeDiskSpace by sending back error codeGravatar Nikias Bassen1-0/+5
2020-11-19idevicebackup2: Update errno to device error mappingGravatar Nikias Bassen1-1/+14
2020-11-19idevice: Handle -EAGAIN in case usbmuxd_send() returns itGravatar Nikias Bassen1-1/+4
2020-09-29idevicebackup2: Don't fail on restore when source backup doesn't have any ↵Gravatar Nikias Bassen1-2/+4
application info
2020-09-10debugserver: Fix service startup for iOS 14b4+Gravatar Nikias Bassen4-3/+15
2020-08-10screenshotr: Set DeviceLink version to 400 to support iOS 14b4+Gravatar Nikias Bassen1-1/+1
2020-08-07mobilebackup2: Set DeviceLink version to 400 to support iOS 14b4+Gravatar Nikias Bassen1-1/+1
2020-08-06idevice: Fix build with LibreSSLGravatar Nikias Bassen1-1/+1
2020-07-30docs: Add PROJECT_LOGO for documentationGravatar Martin Szulecki2-1/+2
2020-07-30docs: Add favicon for generated documentationGravatar Martin Szulecki2-0/+1
2020-07-30docs: Add missing CSS file for new documentation styleGravatar Martin Szulecki1-0/+1722
2020-07-30docs: Add HTML templates for header/footer and layout config for documentationGravatar Martin Szulecki4-3/+302
2020-07-30docs: Hide source file section in documentation as it is not very usefulGravatar Martin Szulecki1-1/+1
2020-07-30docs: Unfold INPUT items into multiple linesGravatar Martin Szulecki1-1/+3
2020-07-30docs: Add custom stylesheet for a modern responsive documentation styleGravatar Martin Szulecki4-2/+6
2020-07-30docs: Use content of README.md as main page of documentationGravatar Martin Szulecki1-2/+2
2020-07-30docs: Update doxygen config file to version 1.8.16Gravatar Martin Szulecki1-180/+333
2020-06-19idevicesyslog: Print device UDID with connect/disconnect messageGravatar Nikias Bassen1-2/+2
2020-06-19idevicesyslog: Make sure device event callback respects the presence or ↵Gravatar Nikias Bassen1-0/+5
absence of --network option
2020-06-15Post release version bump to 1.3.1Gravatar Martin Szulecki1-1/+1
2020-06-15Update NEWS with latest changes1.3.0Gravatar Martin Szulecki1-0/+11
2020-06-15Use patterns instead of listing each tool binary in .gitignoreGravatar Martin Szulecki1-18/+2
2020-06-14Redo cython check logic and check for "no-cast-function" gcc 8+ compiler flagGravatar Martin Szulecki2-7/+17
2020-06-14Unfold cython automake variables into multiple lines for maintainabilityGravatar Martin Szulecki1-3/+25
2020-06-14Rename configure option for debug code to "--enable-debug" to match libplistGravatar Martin Szulecki2-5/+5
2020-06-14Improve wording of cython related configure warning messagesGravatar Martin Szulecki2-3/+3
2020-06-14Remove commented make target from cython Makefile and space in configure.acGravatar Martin Szulecki2-4/+1
2020-06-14configure: Drop feature checks for libusbmuxd and libplist as version ↵Gravatar Nikias Bassen1-28/+0
requirements already imply them
2020-06-14Add API version for libplist library check macro in configure.acGravatar Martin Szulecki1-1/+1
2020-06-14Use proper API version in linker flags for cython bindingsGravatar Martin Szulecki1-1/+1