summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-11-21lockdown: iOS 5: handle 'Error' key in lockdown_check_resultGravatar Nikias Bassen1-1/+15
2011-10-19Fix memory leak in idevice_device_list_freeGravatar Peter Hoepfner1-1/+2
2011-06-09lockdown: move writing of device uuid to client struct inside ↵Gravatar Nikias Bassen1-7/+6
lockdownd_client_new() ... instead of in lockdownd_client_new_with_handshake(). This way the device UUID is also available when only using a non-paired connection (e.g. when using the idevicepair tool).
2011-06-07lockdown: fix support for iOS 5Gravatar Nikias Bassen1-1/+3
2011-05-27notification_proxy: use free() instead of g_free()Gravatar Nikias Bassen1-1/+3
2011-04-30Remove deprecated gnutls_*_set_priority() and use gnutls_priority_set_direct()Gravatar Martin Szulecki1-13/+1
This change requires gnutls >= 2.2.0 for the latter to be available. With deprecation starts with gnutls 2.12.0.
2011-04-28device_link_service: Allow passing a reason message upon disconnectingGravatar Martin Szulecki6-6/+11
2011-04-28idevicebackup2: Improve disconnect behavior to cleanly disconnect from agentGravatar Martin Szulecki1-1/+0
2011-04-27mobilebackup2: Finish mobilebackup2_version_exchange() and use it in ↵Gravatar Martin Szulecki1-15/+19
idevicebackup2
2011-04-11mobilebackup2: Add missing function documentationGravatar Nikias Bassen1-4/+70
2011-04-11mobilebackup2: small api changesGravatar Nikias Bassen1-5/+21
2011-04-11Add initial mobilebackup2 support and idevicebackup4 toolGravatar Nikias Bassen3-0/+428
2011-03-31userpref: Fix a segfault that might occour if locally stored certs could not ↵Gravatar Martin Szulecki1-2/+4
be read userpref_get_file_contents() was stil attempting to set the data and size properties on the passed gnutls_datum_t even if g_file_get_contents() failed. This shoud fix a possible segfault in any code code using the pairing.
2011-03-31debug: Use explicit size for string when debugging non-null terminatedGravatar Martin Szulecki1-1/+1
The debug code to output the device public key was not taking into account that the key data is not null terminated.
2011-03-21Due to a bug in iOS 4.3, plist data might contain invalid null charactersGravatar Martin Szulecki1-0/+5
The main lockdown plist of iOS 4.3 contains invalid null characters which we now convert to spaces. Fixes running ideviceinfo on iOS 4.3. Thanks to teuf for debugging and proposing the fix.
2011-03-16mobilesync: Plugging a memory leakGravatar Christophe Fergeau1-0/+4
2011-03-16mobilesync: Check for cancel message when attempting to clear all records on ↵Gravatar Martin Szulecki1-7/+15
device Furthermore the clearing must happen after starting synchronization and as we have the data class set already, we can obsolete that argument.
2011-03-14mobilesync: Implement mobilesync_clear_all_records_on_device()Gravatar Martin Szulecki1-0/+72
2011-03-12Add some doxygen markup to mobilesync API docGravatar Christophe Fergeau1-7/+7
Add some missing (), \a and # to let doxygen know that something is a function, a parameter name or a type. This lets doxygen formats these elements in a nicer way (by creating links, changing the font, ...)
2011-03-12Fix typos in mobilesync.c API docGravatar Christophe Fergeau1-7/+7
2011-03-12Add missing '_' in mobilesync_client_new API docGravatar Christophe Fergeau1-1/+1
MOBILESYNC_E_INVALID ARG was used instead of MOBILESYNC_E_INVALID_ARG
2011-03-12Use @retval in mobilesync.c doxygenGravatar Christophe Fergeau1-38/+49
When enumerating a list of possible return codes in doxygen, these values can be listed using @retval instead of @return. This gives a prettier output. Since doing the conversion is tedious, I've only done mobilesync.c so far.
2011-03-12Wrap debug_print_line in #ifndef STRIP_DEBUG_CODEGravatar Christophe Fergeau1-0/+2
This function is only called when STRIP_DEBUG_CODE isn't defined, so build is broken with -Wmissing-prototypes -Werror if it's not wrapped in #ifndef
2010-11-28notification_proxy: read ProxyDeath message after posting notificationGravatar Nikias Bassen1-0/+21
This prevents ugly error messages appearing in the device's syslog.
2010-11-27Add a safety check in lockdownd_client_new_with_handshake() to fix a ↵Gravatar Martin Szulecki1-1/+4
possible crash
2010-11-27Make sure uuid argument of idevice_get_uuid() is setGravatar Martin Szulecki1-1/+1
2010-11-27Fix iOS 4.2 GnuTLS issue by passing a certificate in the handshakeGravatar Nikias Bassen2-3/+54
2010-11-05Add new house_arrest service including small test toolGravatar Nikias Bassen3-0/+290
2010-11-05afc: new function afc_client_new_from_connectionGravatar Nikias Bassen2-20/+61
This function allows creating an afc client upon an already established connection. This is for example required for the house_arrest service.
2010-09-01afc: fix reading of afc status codes on big endian machinesGravatar Nikias Bassen1-1/+1
2010-08-27device_link_service: add new function device_link_service_receive_messageGravatar Nikias Bassen2-17/+58
2010-08-27afc: fix packet communication on big endian machinesGravatar Marty Rosenberg1-0/+2
2010-08-15device_link_service: removed unused local variableGravatar Nikias Bassen1-2/+1
2010-07-29property_list_service: fix plist receiving on big endian machinesGravatar Nikias Bassen1-2/+2
2010-07-12sbservices: allow passing formatVersion when requesting icon stateGravatar Nikias Bassen1-1/+8
2010-07-09sbservices: add support for fetching the home screen wallpaperGravatar Nikias Bassen1-0/+49
2010-06-19mobilesync: Fix incorrect process changes message when sending changesGravatar Martin Szulecki1-2/+8
Sending changes from computer to device was broken. This also allows passing NULL for actions.
2010-06-10mobilebackup: Add function to receive application received messageGravatar Martin Szulecki1-0/+23
2010-06-09mobilebackup: free device_link_service after sending restore_completeGravatar Nikias Bassen1-6/+51
The device sends us a DLMessageDisconnect so we need to free the device_link_service_client. Otherwise when calling mobilebackup_client_free we get a send error from libusbmuxd.
2010-06-08Fix typos in mobilesync codeGravatar Martin Szulecki1-1/+1
2010-06-08restored: Fixed crash when attempting to pass NULL values to restored_query_typeGravatar Joshua Hill1-12/+20
2010-06-06mobilebackup: extend interface with functions for the restore processGravatar Nikias Bassen1-0/+114
2010-06-05Added function to fetch device values from the QueryType responseGravatar Joshua Hill2-2/+45
2010-06-04lockdown: correctly handle activation_record parameter in lockdownd_activateGravatar Nikias Bassen1-1/+1
The activation_record was inserted into the request plist and freed at the end. If the user app then uses plist_free to free the activation record, it gets an invalid free. By using plist_copy the activation_record is not touched.
2010-06-03mobilebackup: add internal mobilebackup_send_message() for cleaner codeGravatar Nikias Bassen1-20/+49
Again, does not clean up too much, but it'll be helpful when completing the restore part of the mobilebackup API.
2010-06-03mobilebackup: add internal mobilebackup_receive_message() for cleaner codeGravatar Nikias Bassen1-21/+69
This does not clean up too much for now, but when completing the rest of the mobilebackup API it will help to provide nice and clean code.
2010-05-28Expose more userpref functions for use in the new idevicepair toolGravatar Martin Szulecki1-2/+2
2010-05-28Add special handling for unpair request; probably a bug in the iPhone OSGravatar Martin Szulecki1-4/+13
2010-05-28userpref: new internal function userpref_get_paired_uuidsGravatar Nikias Bassen2-0/+61
2010-05-28Add missing config.h include to debug.cGravatar Nikias Bassen1-0/+3