summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-12Refactor and unify internal debug system for ease of use and verbosityGravatar Martin Szulecki12-206/+247
This introduces a new debug_info macro which automatically prints the calling function, file and line number information instead of having that information passed to every old log_debug_msg call.
2010-01-12Remove support for debug masks due to inconsistent useGravatar Martin Szulecki14-117/+63
2010-01-12Rename utils to debug as it does exactly that, contain debug codeGravatar Martin Szulecki15-18/+17
2010-01-12Refactor lockdown session handling and expose it in public APIGravatar Martin Szulecki3-226/+227
This splits out SSL code and allows implementations to manually handle session start and stop if needed. Also brings the API closer to the lockdown request protocol.
2010-01-12Introduce error code for lockdownd requests which require a running sessionGravatar Martin Szulecki2-2/+9
2010-01-12Allow lockdown client creation without performing full handshakeGravatar Martin Szulecki10-12/+45
The lockdown constructor was doing more than needed. Pairing and session negotiation is now handled by lockdownd_client_new_with_handshake().
2010-01-12Rename in_SSL to ssl_enabled within lockdown private structGravatar Martin Szulecki2-9/+9
2010-01-12Remove obsoleted plist helper functionsGravatar Nikias Bassen2-298/+0
2010-01-12MobileSync: use new device_link_serviceGravatar Nikias Bassen2-112/+34
2010-01-12New device_link_serviceGravatar Nikias Bassen3-0/+351
2010-01-12Add gstdio header to silence compiler warning about g_remove callGravatar Martin Szulecki1-0/+1
2010-01-12Expose more known notification identifiers for notification_proxyGravatar Martin Szulecki1-5/+7
2010-01-12Add more known lockdown domains to iphoneinfoGravatar Martin Szulecki1-0/+6
2010-01-12SBServices: use new property_list_serviceGravatar Nikias Bassen2-16/+16
2010-01-12InstallationProxy: use new property_list_serviceGravatar Nikias Bassen2-34/+35
2010-01-12NotificationProxy: use new property_list_serviceGravatar Nikias Bassen2-25/+26
2010-01-12lockdownd: use new property_list_serviceGravatar Nikias Bassen2-23/+26
2010-01-12Move plist code into a new property_list_serviceGravatar Nikias Bassen3-0/+463
2010-01-11Make sure we can pass NULL as lockdown label to disable sending oneGravatar Martin Szulecki1-4/+10
2010-01-11Validate pairing on lockdown client creation to ensure trusted host statusGravatar Martin Szulecki1-0/+3
Apparently this is needed for every connection in order to ensure the lockdown value for TrustedHostAttached is true. In effect, this makes the device expose more functionality.
2010-01-10Fix receiving encrypted plists due to missing gnutls_record_read callGravatar Martin Szulecki1-3/+11
[#106 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2010-01-10Extend lockdown_query_type to actually return the type of the service daemonGravatar Martin Szulecki2-5/+19
2010-01-10Fix receiving encrypted plists due to missing gnutls_record_read callGravatar Martin Szulecki1-3/+11
2010-01-10Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki8-464/+453
2010-01-09use new plist helper functionsGravatar Nikias Bassen1-38/+31
[#106 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2010-01-09use new plist helper functionsGravatar Nikias Bassen1-111/+27
2010-01-09use new plist helper functionsGravatar Nikias Bassen1-128/+27
2010-01-09use new plist helper functionsGravatar Nikias Bassen1-108/+54
2010-01-09use new plist helper functionsGravatar Nikias Bassen1-79/+19
2010-01-09Added plist communication helper functionsGravatar Nikias Bassen3-0/+295
2010-01-08Detect pairing failure for device having a password setGravatar Martin Szulecki2-2/+17
[#101 state:resolved] The first pairing fails if a user has a password set on the device.
2010-01-08Implement lockdown activate and deactiveGravatar Martin Szulecki2-0/+91
Passing the right activiation record allows activating a phone using this functionality.
2010-01-08Fix printing values in iphoneinfo when in key/value output modeGravatar Martin Szulecki1-3/+0
2010-01-08Implement lockdown unpair requestGravatar Martin Szulecki2-2/+24
2010-01-08Enforce a set of notifications for observing instead of using defaultsGravatar Martin Szulecki2-17/+2
We don't need to maintain defaults, applications should know and specifiy which notification ids they want to observe themselfs.
2010-01-08Add userpref helper to allow removal of the stored device public keyGravatar Martin Szulecki2-0/+25
2010-01-08Lowercase HostID parameter like everywhere elseGravatar Martin Szulecki2-8/+8
2010-01-08Update msync developer example to latest plist Python APIGravatar Martin Szulecki1-12/+14
2010-01-08Add more known notification ids for notification_proxyGravatar Martin Szulecki2-25/+19
2010-01-08Allow set the label of a lockdown request, usually set to the program nameGravatar Martin Szulecki12-11/+57
2010-01-05Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki11-10/+1349
2010-01-04Add options to instproxy_archive functionGravatar Nikias Bassen2-2/+20
This change allows to specify the following options: INSTPROXY_ARCHIVE_APP_ONLY - Archive only the application data INSTPROXY_ARCHIVE_SKIP_UNINSTALL - Do not uninstall the application. Combine these options with logical OR to specify both. These two options combined are used by iTunes to create app archives of on-device downloaded apps that are later copied as *.ipa files to the computer. [#104 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2010-01-04New installation_proxy interface.Gravatar Nikias Bassen6-0/+919
Allows enumeration, install, uninstall, upgrade, and some other stuff with apps.
2009-12-15Support for new SBServices interfaceGravatar Nikias Bassen5-0/+382
This lockdown service has been introduced in firmware 3.1 and allows to re-arrange the Spr*ngboard icons from the computer. [#99 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-12-11Documentation cleanup and a new error codeGravatar Nikias Bassen2-10/+30
[#96 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-12-10Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki10-195/+323
2009-12-07New function lockdownd_validate_pair()Gravatar Nikias Bassen2-7/+41
This function allows the current host (or the host specified by the given HostID to become the trusted host of the device. [#89 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-12-07Allow passing NULL as HostID to lockdownd_pair()Gravatar Nikias Bassen1-1/+11
When NULL is given as HostID, lockdownd_pair() will use the HostID available from userprefs.
2009-12-07cache device uuid in client structGravatar Nikias Bassen3-27/+27
When accessing/storing key info with userprefs, a device uuid is required that makes it possible to distinguish between different devices. On execution of lockdownd_client_new, the uuid is queried via lockdown and now stored in the client struct for later reuse. This patch also removes the uuid parameter from lockdownd_pair().
2009-12-07fix lockdownd_pair returning success on errorGravatar Nikias Bassen1-3/+2
This fixes a bug where lockdown_check_result() might return -1 and lockdownd_pair() still returns success. Thanks to dborca for spotting this.