summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-03-19Do not write config every time (still using old format)Gravatar Nikias Bassen1-0/+2
2012-03-19free bio after using itGravatar Nikias Bassen1-1/+3
2012-03-19userpref.h: include stdint.hGravatar Nikias Bassen1-0/+2
2012-03-19Add OpenSSL supportGravatar Nikias Bassen7-54/+547
2012-03-19New file for be*/le* macros plus check for endian.h presenceGravatar Nikias Bassen3-0/+3
2012-03-19Remove asprintf.h from src/Gravatar Nikias Bassen1-33/+0
2012-03-19Refined asprintf/vasprintf detection and inclusionGravatar Nikias Bassen3-9/+15
2012-03-19Fix building on OSXGravatar Martin Szulecki2-0/+4
2012-03-19[Win32] src/notification_proxy.c: add sleep() definitionGravatar Nikias Bassen1-0/+4
2012-03-19Add asprintf replacement for systems lacking itGravatar Nikias Bassen3-0/+28
2012-03-19WIN32: mkdir takes only one argumentGravatar Nikias Bassen1-1/+10
2012-03-19WIN32: use windows threads and mutexes instead of pthread_*Gravatar Nikias Bassen10-1/+161
2012-03-19Remove orphan arpa/inet.h includeGravatar Nikias Bassen1-1/+0
2012-03-18Include config.h if HAVE_CONFIG_HGravatar Nikias Bassen2-0/+6
2012-03-18Completely remove glib dependency.Gravatar Nikias Bassen12-133/+460
2012-03-18Remove gthread dependency and use pthreads insteadGravatar Nikias Bassen10-80/+44
2012-03-08restored: Add restored_query_value() to query for values in restore modeGravatar Martin Szulecki1-0/+51
2012-01-15added mobilebackup2_send_message to public apiGravatar Nikias Bassen1-3/+3
2012-01-12idevice: add error checking to internal_ssl_write()Gravatar Geoff Paul1-1/+5
Returning 0 bytes sent upon error causes an infinite loop within the calling gnutls code. Returning -1 as an error code allows gnutls to properly detect and recover.
2012-01-11restored: allow passing options to restored_start_restore()Gravatar Nikias Bassen1-2/+7
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