summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-02Lower error message severity if a nonce is not found to a warningGravatar Martin Szulecki1-1/+1
2014-10-02Add support for iPad4,6 (iPad mini 2G new model)Gravatar Martin Szulecki1-0/+1
2013-12-03libirecovery: Fix wrong chip_id for iPod Touch 2G in device mapGravatar Martin Szulecki1-1/+1
2013-12-02libirecovery: Set USB interfaces correctly on device connection for non-WIN32Gravatar Martin Szulecki1-1/+3
Now the USB interface is set the same way the WIN32 code does it. This prevents older devices from getting "stuck" or "slow" after uploading the iBEC to a device.
2013-11-29win32: fix iBoot string parsing for DFU and recovery modeGravatar Nikias Bassen1-1/+7
2013-11-29irecv_open_with_ecid: don't parse ecid twiceGravatar Nikias Bassen1-10/+1
2013-11-20Fix memory leaks in irecv_open_with_ecid()Gravatar Martin Szulecki1-0/+6
2013-11-19remove check for bdid == 0 since it CAN be 0Gravatar Nikias Bassen1-4/+0
2013-11-19fix irecv_devices_get_device_by_client()Gravatar Nikias Bassen1-3/+1
2013-11-19remove irecv_get_* functions and provide general irecv_get_device_info()Gravatar Nikias Bassen1-252/+233
2013-11-18change irecv_get_nonce to a more general irecv_get_nonce_with_tagGravatar Nikias Bassen1-7/+41
2013-11-18Add support for iPad4,1, iPad4,2 (iPad Air) and iPad4,4, iPad4,5 (iPad mini 2G)Gravatar Martin Szulecki1-0/+4
2013-11-06Fix lookup of a device by hardware model if input is not a lowercase stringGravatar Martin Szulecki1-1/+8
2013-09-30libirecovery: Fix various compiler warnings on WIN32 buildGravatar Martin Szulecki1-7/+4
2013-09-30libirecovery: Rename "interface" variable name as it clashes on WIN32Gravatar Martin Szulecki1-7/+7
2013-09-29libirecovery: Add irecv_devices_get_all() to allow iteration over productsGravatar Martin Szulecki1-0/+4
2013-09-27libirecovery: Return "invalid input" instead of unknown error in irecv_getenv()Gravatar Martin Szulecki1-1/+1
2013-09-27fix utf8 NBSP in header commentsGravatar Nikias Bassen1-1/+1
2013-09-27libirecovery: Provide helper to get current device modeGravatar Martin Szulecki1-0/+9
2013-09-27libirecovery: Change a few camel case arguments to lowercaseGravatar Martin Szulecki1-24/+17
2013-09-27Use /* */ syntax for commentsGravatar Martin Szulecki1-11/+8
2013-09-27Fix whitespace errors and update code styleGravatar Martin Szulecki1-34/+86
2013-09-26Rename device struct fields and provide device database getters for themGravatar Martin Szulecki1-4/+34
2013-09-26Move device database, client and device structs into private implementationGravatar Martin Szulecki1-4/+69
2013-09-26Move various WIN32 includes private, no need to keep them in the headerGravatar Martin Szulecki1-0/+4
2013-09-26Reduce timeout for receive loop to 500ms for quicker responseGravatar Martin Szulecki1-1/+1
2013-09-26libirecovery: Set interface correctly to receive intial banner form deviceGravatar Martin Szulecki1-3/+1
2013-09-26Reorder public interface logically and rename irecv_get_device()Gravatar Martin Szulecki1-2/+1
2013-09-26Rename mode enum items to uppercase IRECV_K_* name schemeGravatar Martin Szulecki1-24/+25
2013-09-26Add "usb" prefix to all method names which are related to USB featuresGravatar Martin Szulecki1-31/+30
2013-09-26Use more accurate names for "open device" methods which use the ecidGravatar Martin Szulecki1-4/+4
2013-09-26Add irecv_reboot() command helper which reboots the deviceGravatar Martin Szulecki1-0/+8
2013-09-26Remove irecv_read|write_file() which are obsolete nowGravatar Martin Szulecki1-64/+0
2013-09-26Make irecv_execute_script() use a script as argument instead of a filenameGravatar Martin Szulecki1-11/+9
2013-09-26Only enable libusb debugging output on verbose level 2 and higherGravatar Martin Szulecki1-1/+1
2013-09-26Convert spaces to tabs were neededGravatar Martin Szulecki1-4/+4
2013-09-26Fix header comment syntaxGravatar Martin Szulecki1-1/+2
2013-09-26Revert changes to return errors when sending commands, getenv or getretGravatar Martin Szulecki1-10/+6
This fixes software which did not expect to receive an error after sending specific commands. Sending "go" for instance returned a connection reset error which was interpreted as "could not send command" while this behavior is completely correct. This also fixes idevicerestore's "Unable to send iBEC" problems.
2013-09-26Remove rather obsolete irecv_hexdump() helperGravatar Martin Szulecki1-36/+0
2013-09-21Silence compiler warnings by returning proper error with irecv_control_transferGravatar Martin Szulecki1-4/+8
2013-05-21Relicense to LGPL 2.1 and thus update license and headersGravatar Martin Szulecki1-19/+18
This relicensing was requested and approved by all authors by E-Mail.
2013-01-09Improve maintainability of devices and add support for all current modelsGravatar Martin Szulecki1-158/+7
This removes all CPID_* and BDID_* defines which appear useless as the same information is already stored in the irecv_devices[] struct. Furthermore this removes a big inefficient switch() to determine a device in favor of a simple loop on the irecv_devices[] struct. Overall this means much less maintainance to add new device models in the future.
2012-11-28irecv_send_command/irecv_event_t use const char* instead of char*Gravatar Nikias Bassen1-1/+1
2012-11-08add support for iPad2,5 and iPad3,4Gravatar Martin Szulecki1-1/+18
2012-09-21added support for iPod5,1Gravatar Nikias Bassen1-0/+22
2012-09-21updated with iPhone5 models.Gravatar Nikias Bassen1-0/+16
2012-07-17added irecv_control_transfer and irecv_bulk_transfer to public interfaceGravatar Nikias Bassen1-2/+2
2012-07-17silenced a bunch of compiler warningsGravatar Nikias Bassen1-22/+18
2012-07-16moved *.c to src/ subdirectoryGravatar Nikias Bassen1-0/+1684
2010-11-06updated libirecovery to the latest version from greenpois0n. it at least ↵Gravatar Joshua Hill1-672/+0
compiles on osx now, I need to test on other systems