summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup.c
AgeCommit message (Collapse)AuthorFilesLines
2018-10-01tools: Remove length check on device UDID arguments to support newer devicesGravatar Nikias Bassen1-2/+2
The 40 characters length check on the device UDID made newer devices unusable with the libimobiledevice tools and was actually redundant since an invalid UDID will always fail to resolve. This commit removes the length check alltogether (but makes sure it is not an empty string "").
2016-04-01idevicebackup: fix some timestamps that are relative to the Mac epoch ↵Gravatar BALATON Zoltan1-2/+2
instead of Unix one
2015-10-06tools: Use PACKAGE_URL define for homepage project links in usage outputGravatar Martin Szulecki1-1/+1
2015-01-28Remove trailing whitespace errors from all filesGravatar Martin Szulecki1-12/+12
2015-01-27tools: Add link to project homepage on usage outputGravatar Martin Szulecki1-0/+1
2015-01-27idevicebackup: Notify user if erroneously used with an iOS 4 or later deviceGravatar Nikias Bassen1-0/+21
2014-10-22common: Move size format helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki1-23/+4
2014-10-22common: Move string_toupper() helper to utils and use it in idevicebackup toolsGravatar Martin Szulecki1-11/+1
2014-10-22common: Share idevicebackup helper string_build_path() from utilsGravatar Martin Szulecki1-28/+1
2014-10-11tools: Make sure to print an error when lockdown connection failsGravatar Nikias Bassen1-1/+2
2014-10-05idevicebackup: Fix error variables for type consistencyGravatar Martin Szulecki1-6/+7
2014-08-06idevicebackup2/idevicebackup: Remove code duplication and use common code ↵Gravatar Nikias Bassen1-88/+1
for reading/writing plist files
2014-03-24idevicebackup: Do not read backup files entirely into memory during restoreGravatar Nikias Bassen1-8/+28
2014-03-20Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()"Gravatar Martin Szulecki1-24/+24
2013-03-14global: make sure to check service before checking service->port to prevent ↵Gravatar Nikias Bassen1-8/+3
crashes
2013-02-26Refactor port number use into service descriptor to enable SSL for servicesGravatar Martin Szulecki1-17/+37
This is a major change which breaks API but is required in order to support SSL communication for services as used by network connections.
2013-02-21idevicebackup: Fix compiler warning when building for WIN32Gravatar Martin Szulecki1-0/+1
2012-11-29tools: mass replace 'device' with 'phone' variable namesGravatar Nikias Bassen1-11/+11
2012-11-29idevicebackup: pass UDID to factory_info_plist_new instead of requeryingGravatar Nikias Bassen1-6/+3
2012-11-29tools: use pointer instead of static buffer for UDID since it can start with '0'Gravatar Nikias Bassen1-4/+7
2012-11-22idevicebackup: Fix crash if manifest is sent early on in the backup processGravatar Martin Szulecki1-2/+3
2012-03-22Mass replace UUID by UDID, which is the correct term for itGravatar Martin Szulecki1-17/+17
2012-03-21tools: Fix compiler warnings for idevicebackup and idevicebackup2Gravatar Martin Szulecki1-2/+4
2012-03-19Fix format_size_for_display for size < 1000Gravatar Nikias Bassen1-0/+2
2012-03-19tools: win32 build fixesGravatar Nikias Bassen1-1/+7
2012-03-19Removed glib stuff from dev/lckdclient and idevicebackup/idevicebackup2Gravatar Nikias Bassen1-41/+92
2012-03-19Add OpenSSL supportGravatar Nikias Bassen1-1/+76
2010-08-17idevicebackup: try multiple times to lock for syncGravatar Nikias Bassen1-3/+22
otherwise, the sync in progress screen might keep showing up until you swipe to cancel on the device
2010-07-23idevicebackup: Improve reporting of received backup files using a progress barGravatar Martin Szulecki1-8/+49
2010-07-23idevicebackup: Make sure we can quit while waiting for device to send dataGravatar Martin Szulecki1-2/+2
2010-07-23idevicebackup: Do not save just the last hunk of first file to backupGravatar Martin Szulecki1-1/+1
2010-07-21idevicebackup: Give the device time to prepare backup dataGravatar Martin Szulecki1-0/+7
This change requests the initial backup files more gracefully as the device might need more time to prepare the backup data for bigger backups. Otherwise we cause a crash by attempting to parse a plist message we did not receive yet when the device is busy.
2010-06-10idevicebackup: Finish implementing sending application data for restoreGravatar Martin Szulecki1-3/+68
2010-06-10idevicebackup: Term "Restoring" might be more accurate than "Sending"Gravatar Martin Szulecki1-1/+1
2010-06-09idevicebackup: Implement restore command for files and make restore workGravatar Martin Szulecki1-26/+128
2010-06-09idevicebackup: Fix broken backup due to closing down lockdown too earlyGravatar Martin Szulecki1-8/+13
2010-06-08Free lockdownd connection early for both backup and restore commandsGravatar Martin Szulecki1-8/+6
2010-06-08Fix typos in mobilesync codeGravatar Martin Szulecki1-1/+1
2010-06-06idevicebackup: use new restore functions, sending files still to be doneGravatar Nikias Bassen1-7/+60
Well, and restoring applications is missing too; this will be completed later.
2010-06-04idevicebackup: verify all backup files when restoringGravatar Nikias Bassen1-2/+241
2010-06-04idevicebackup: read and verify manifest.plist when restoringGravatar Nikias Bassen1-0/+70
2010-06-04idevicebackup: verify Info.plist to ensure restoring to same deviceGravatar Nikias Bassen1-1/+11
2010-06-04idevicebackup: read Status.plist to ensure restoring from successful backupGravatar Nikias Bassen1-0/+28
2010-06-04idevicebackup: don't use lockfile and sync notification for restoreGravatar Nikias Bassen1-7/+11
2010-06-04idevicebackup: use manifest_path for restore tooGravatar Nikias Bassen1-7/+5
2010-06-04idevicebackup: updated the workflow for the restore processGravatar Nikias Bassen1-4/+15
2010-05-31idevicebackup: Fix commentGravatar Nikias Bassen1-1/+1
2010-05-31idevicebackup: correctly handle removal of existing .mddata + .mdinfo filesGravatar Nikias Bassen1-3/+5
This commit fixes the problem that the .mddata and .mdinfo files were not removed due to an incorrect check for the result of stat(). Since the file data is sent in chunks we have to check for existing files only when the first chunk of a file is received. That's why we now reset hunk_index each time a file has been completely received.
2010-04-06idevicebackup: better handle broken or missing plist filesGravatar Nikias Bassen1-13/+35
2010-03-16Use new mobilebackup functionsGravatar Nikias Bassen1-77/+18