Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-12 | Refactor and unify internal debug system for ease of use and verbosity | Martin Szulecki | 12 | -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-12 | Remove support for debug masks due to inconsistent use | Martin Szulecki | 5 | -91/+62 | |
2010-01-12 | Rename utils to debug as it does exactly that, contain debug code | Martin Szulecki | 13 | -16/+16 | |
2010-01-12 | Refactor lockdown session handling and expose it in public API | Martin Szulecki | 2 | -222/+218 | |
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-12 | Introduce error code for lockdownd requests which require a running session | Martin Szulecki | 1 | -2/+8 | |
2010-01-12 | Allow lockdown client creation without performing full handshake | Martin Szulecki | 1 | -4/+36 | |
The lockdown constructor was doing more than needed. Pairing and session negotiation is now handled by lockdownd_client_new_with_handshake(). | |||||
2010-01-12 | Rename in_SSL to ssl_enabled within lockdown private struct | Martin Szulecki | 2 | -9/+9 | |
2010-01-12 | Remove obsoleted plist helper functions | Nikias Bassen | 2 | -298/+0 | |
2010-01-12 | MobileSync: use new device_link_service | Nikias Bassen | 2 | -112/+34 | |
2010-01-12 | New device_link_service | Nikias Bassen | 3 | -0/+351 | |
2010-01-12 | Add gstdio header to silence compiler warning about g_remove call | Martin Szulecki | 1 | -0/+1 | |
2010-01-12 | SBServices: use new property_list_service | Nikias Bassen | 2 | -16/+16 | |
2010-01-12 | InstallationProxy: use new property_list_service | Nikias Bassen | 2 | -34/+35 | |
2010-01-12 | NotificationProxy: use new property_list_service | Nikias Bassen | 2 | -25/+26 | |
2010-01-12 | lockdownd: use new property_list_service | Nikias Bassen | 2 | -23/+26 | |
2010-01-12 | Move plist code into a new property_list_service | Nikias Bassen | 3 | -0/+463 | |
2010-01-11 | Make sure we can pass NULL as lockdown label to disable sending one | Martin Szulecki | 1 | -4/+10 | |
2010-01-11 | Validate pairing on lockdown client creation to ensure trusted host status | Martin Szulecki | 1 | -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-10 | Extend lockdown_query_type to actually return the type of the service daemon | Martin Szulecki | 1 | -4/+18 | |
2010-01-10 | Fix receiving encrypted plists due to missing gnutls_record_read call | Martin Szulecki | 1 | -3/+11 | |
2010-01-10 | Merge branch 'master' of git://github.com/MattColyer/libiphone into martin | Martin Szulecki | 7 | -464/+452 | |
2010-01-09 | use new plist helper functions | Nikias Bassen | 1 | -38/+31 | |
[#106 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2010-01-09 | use new plist helper functions | Nikias Bassen | 1 | -111/+27 | |
2010-01-09 | use new plist helper functions | Nikias Bassen | 1 | -128/+27 | |
2010-01-09 | use new plist helper functions | Nikias Bassen | 1 | -108/+54 | |
2010-01-09 | use new plist helper functions | Nikias Bassen | 1 | -79/+19 | |
2010-01-09 | Added plist communication helper functions | Nikias Bassen | 2 | -0/+294 | |
2010-01-08 | Detect pairing failure for device having a password set | Martin Szulecki | 1 | -2/+16 | |
[#101 state:resolved] The first pairing fails if a user has a password set on the device. | |||||
2010-01-08 | Implement lockdown activate and deactive | Martin Szulecki | 1 | -0/+88 | |
Passing the right activiation record allows activating a phone using this functionality. | |||||
2010-01-08 | Implement lockdown unpair request | Martin Szulecki | 1 | -2/+23 | |
2010-01-08 | Enforce a set of notifications for observing instead of using defaults | Martin Szulecki | 2 | -17/+2 | |
We don't need to maintain defaults, applications should know and specifiy which notification ids they want to observe themselfs. | |||||
2010-01-08 | Add userpref helper to allow removal of the stored device public key | Martin Szulecki | 2 | -0/+25 | |
2010-01-08 | Lowercase HostID parameter like everywhere else | Martin Szulecki | 2 | -8/+8 | |
2010-01-08 | Add more known notification ids for notification_proxy | Martin Szulecki | 1 | -15/+0 | |
2010-01-08 | Allow set the label of a lockdown request, usually set to the program name | Martin Szulecki | 2 | -1/+46 | |
2010-01-04 | Add options to instproxy_archive function | Nikias Bassen | 1 | -1/+16 | |
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-04 | New installation_proxy interface. | Nikias Bassen | 3 | -0/+844 | |
Allows enumeration, install, uninstall, upgrade, and some other stuff with apps. | |||||
2009-12-15 | Support for new SBServices interface | Nikias Bassen | 3 | -0/+325 | |
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-11 | Documentation cleanup and a new error code | Nikias Bassen | 1 | -10/+29 | |
[#96 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-12-07 | New function lockdownd_validate_pair() | Nikias Bassen | 1 | -7/+40 | |
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-07 | Allow passing NULL as HostID to lockdownd_pair() | Nikias Bassen | 1 | -1/+11 | |
When NULL is given as HostID, lockdownd_pair() will use the HostID available from userprefs. | |||||
2009-12-07 | cache device uuid in client struct | Nikias Bassen | 2 | -26/+26 | |
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-07 | fix lockdownd_pair returning success on error | Nikias Bassen | 1 | -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. | |||||
2009-12-07 | better handling of session_id | Nikias Bassen | 2 | -22/+27 | |
This will change session_id out of the lockdownd_client_int struct to a pointer instead of using a buffer of fixed size. The session_id is allocated anyway by libplist when reading it from the plist received from the device, so why don't just use it? [#94 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-12-07 | fix signature of lockdownd_stop_session | Nikias Bassen | 1 | -3/+3 | |
This removes the session_id parameter from lockdownd_stop_session because the session_id is stored in the lockdownd_client_int structure anyway. | |||||
2009-11-30 | Evaluate EnableSessionSSL key on session startup | Nikias Bassen | 1 | -2/+18 | |
This is required if the device does not send the EnableSessionSSL:true key-value pair in the answer to the StartSession request. [#92 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-11-30 | afc_truncate: use uint64_t instead of off_t | Nikias Bassen | 1 | -1/+1 | |
This makes afc_truncate look more like afc_file_truncate which is also using uint64_t for the file size. [#82 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-11-30 | uint32_t type fixes for afc_file_read/afc_file_write | Nikias Bassen | 1 | -108/+122 | |
This patch also adapts all corresponding internal functions. The buffer lengths are now consistently handled as uint32_t. | |||||
2009-11-30 | added endian safety to AFC | Nikias Bassen | 2 | -15/+31 | |
This should make libiphone compatible with big endian machines. [#85 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-11-25 | Fix linking on Mandriva | Christophe Fergeau | 1 | -1/+1 | |