summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup2.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-22idevicebackup2: fix possible crash due to use-after-freeGravatar Nikias Bassen1-0/+1
2013-09-21idevicebackup2: Add experimental support for using backups in the cloudGravatar Martin Szulecki1-3/+22
2013-09-21idevicebackup2: Add argument to enforce a full backup from deviceGravatar Martin Szulecki1-2/+14
2013-08-08idevicebackup2: Implement support for encrypted backups in Unback commandGravatar Aaron Burghardt1-1/+9
Allows to specify a password for the Unback request. It is also sent in the main message, not in an options dictionary.
2013-06-30 Fixed leaked plist uint which is passed to ↵Gravatar Aaron Burghardt1-1/+3
mobilebackup2_send_status_response().
2013-06-30Fixed multiple occurrences of memory leaks when empty plist dicts are passed ↵Gravatar Aaron Burghardt1-5/+13
to mobilebackup2_send_status_response().
2013-06-30Fixed leaked lockdowns client object in do_post_notification().Gravatar Aaron Burghardt1-0/+1
2013-06-30Fixed memory leak in mb2_status_check_snapshot_state() by freeing the string ↵Gravatar Aaron Burghardt1-0/+1
returned from plist_get_string_val().
2013-06-30Fixed memory leak by creating empty plist dict for iTunes settings only when ↵Gravatar Aaron Burghardt1-2/+2
it can’t be retrieved from the lockdown connection. That mimics the leaking implementation, but maybe it should be an error.
2013-05-23Silence compiler warnings for win32 buildsGravatar Martin Szulecki1-2/+1
2013-03-18idevicebackup2: Fix integer overflow bug on 32-bit architecturesGravatar Martin Szulecki1-1/+1
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-09idevicebackup2: added interactive mode (-i) for password inputGravatar Nikias Bassen1-4/+17
2013-02-01idevicebackup2: fix invalid free in mkdir_with_parentsGravatar Nikias Bassen1-3/+3
2013-01-24idevicebackup2: change several global variables to local onesGravatar Nikias Bassen1-52/+59
2013-01-24idevicebackup2: fix invalid whitespaceGravatar Nikias Bassen1-2/+2
2013-01-24idevicebackup2: use reported error code instead of 0 as exit codeGravatar Nikias Bassen1-4/+8
2013-01-24idevicebackup2: make sure -1 is returned if invalid arguments are passedGravatar Nikias Bassen1-6/+6
2013-01-16idevicebackup2: Refactor output of overall progress for more frequent reportingGravatar Martin Szulecki1-10/+36
2013-01-16idevicebackup2: request password interactively if required on restoreGravatar Nikias Bassen1-0/+34
2013-01-16idevicebackup2: allow setting encryption on/off and change backup passwordGravatar Nikias Bassen1-24/+275
2013-01-07idevicebackup2: Fix nasty "too long filename received" bugGravatar Martin Szulecki1-35/+68
If the device is sending files to the host, it sometimes requires a bit more time to process them before sending. This appeared to happen mostly for larger sqlite databases which appear to get some preprocessing on the device. In such a "wait" situation, we receive no data and need to retry reading the filename length again. Due to a code bug though which didn't reset the last read length to zero, this length was incorrectly alternating between 1 and 16777216 due to the byte swapping. This ulitmativly lead to a broken backup process. Now we properly wait for the device to preprocess any file before sending the filename to the host.
2012-12-08idevicebackup2: Implement support to supply backup password for restoreGravatar Martin Szulecki1-7/+24
2012-11-29idevicebackup2: suppress "Can't remove" warning about Manifest.mbdxGravatar Nikias Bassen1-2/+11
This file is not used anymore since iOS 5.0 but the device's BackupAgent2 is still requesting the deletion of this file. To not confuse the user we just suppress the warning if the file could not be deleted.
2012-11-29idevicebackup2: Add flag to remove items not being restored from target deviceGravatar Martin Szulecki1-2/+10
2012-11-29idevicebackup2: add --source option to allow using backup directories from ↵Gravatar Nikias Bassen1-76/+39
other devices
2012-11-29tools: mass replace 'device' with 'phone' variable namesGravatar Nikias Bassen1-12/+12
2012-11-29idevicebackup2: 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-8/+8
2012-11-22idevicebackup2: use RemoveDirectory/DeleteFile instead of remove() on win32Gravatar Nikias Bassen1-0/+37
2012-11-22idevicebackup2: fix building on win32Gravatar Nikias Bassen1-3/+12
2012-10-16idevicebackup2: updated for compatibility with iOS6Gravatar Nikias Bassen1-2/+13
2012-03-22Mass replace UUID by UDID, which is the correct term for itGravatar Martin Szulecki1-33/+33
2012-03-21tools: Fix compiler warnings for idevicebackup and idevicebackup2Gravatar Martin Szulecki1-4/+5
2012-03-19idevicebackup2: don't list . and .. in directories.Gravatar Nikias Bassen1-0/+6
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-87/+174
2012-03-19Add OpenSSL supportGravatar Nikias Bassen1-1/+0
2011-10-12idevicebackup2: plug another memory leakGravatar Nikias Bassen1-0/+2
2011-05-28idevicebackup2: plug a small memory leakGravatar Nikias Bassen1-1/+3
2011-05-17idevicebackup2: fix restore command option handlingGravatar Nikias Bassen1-4/+4
The constant for --system option was set to 0 resulting in this option not being evaluated.
2011-04-30idevicebackup2: Add typedef for GStatBuf for backwards compatibilityGravatar Martin Szulecki1-0/+4
GStatBuf was introduced with glib 2.25.0 which is more recent than we actually allow as minimum requirement.
2011-04-28idevicebackup2: Device does not expect a status response after ↵Gravatar Martin Szulecki1-4/+1
DLMessageProcessMessage
2011-04-28idevicebackup2: Update man page and usage to reflect latest statusGravatar Martin Szulecki1-1/+1
2011-04-28idevicebackup2: Use errno_to_device_error() for other operations, tooGravatar Martin Szulecki1-4/+3
2011-04-28idevicebackup2: Only post "sync finished" notification if we sent "sync ↵Gravatar Martin Szulecki1-1/+2
start" earlier
2011-04-28idevicebackup2: Improve disconnect behavior to cleanly disconnect from agentGravatar Martin Szulecki1-4/+10
2011-04-28idevicebackup2: Use g_mkdir_with_parents() for "creating directory" handlerGravatar Martin Szulecki1-1/+1