summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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.
2009-12-07better handling of session_idGravatar Nikias Bassen2-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-07fix signature of lockdownd_stop_sessionGravatar Nikias Bassen2-4/+4
This removes the session_id parameter from lockdownd_stop_session because the session_id is stored in the lockdownd_client_int structure anyway.
2009-12-06Updated autofoo stuff; swig is now optional and can be disabled.Gravatar Nikias Bassen4-6/+56
Use --without-swig to prevent building the swig extensions even if swig is installed. [#93 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-11-30Evaluate EnableSessionSSL key on session startupGravatar Nikias Bassen1-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-30afc_truncate: use uint64_t instead of off_tGravatar Nikias Bassen2-2/+2
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-30uint32_t type fixes for afc_file_read/afc_file_writeGravatar Nikias Bassen2-110/+124
This patch also adapts all corresponding internal functions. The buffer lengths are now consistently handled as uint32_t.
2009-11-30added endian safety to AFCGravatar Nikias Bassen2-15/+31
This should make libiphone compatible with big endian machines. [#85 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-11-25Merge branch 'master' of git@github.com:MattColyer/libiphoneGravatar Matt Colyer0-0/+0
2009-11-25Fix linking on MandrivaGravatar Christophe Fergeau1-1/+1
2009-11-25Fix linking on MandrivaGravatar Christophe Fergeau1-1/+1
2009-11-24Update README for correct usbmuxd0.9.5Gravatar Matt Colyer1-2/+2
2009-11-24Fix distcheck by removing usage of private function in dev toolsGravatar Martin Szulecki1-1/+1
2009-11-19set ssl_certificate to NULL in lockdownd_client_newGravatar Nikias Bassen1-0/+1
[#87 state:resolved]
2009-11-19Move my private ignore list to public.Gravatar Matt Colyer1-0/+51
2009-11-17silence building output for better overviewGravatar Nikias Bassen1-0/+2
2009-11-17simplify gnutls_session_t useGravatar Christophe Fergeau2-20/+19
gnutls_session_t is already a pointer, we don't need to manipulate a gnutls_session_t* [#87 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-11-17don't leak memory allocated for gnutls credentialsGravatar Christophe Fergeau2-6/+7
2009-11-17Fix spaces that should be tabs.Gravatar Matt Colyer1-1/+1
2009-11-17Preparing for release 0.9.5Gravatar Matt Colyer2-2/+2
2009-11-12Simplify 'libiphone.iPhone' module to 'iphone'Gravatar Jonathan Beck3-14/+15
2009-11-11Require libplist++ in order to fix linking of Python bindingsGravatar Martin Szulecki2-1/+2
[#84 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-11-11Finish migration to latest plist API.Gravatar Jonathan Beck5-93/+99
[#77 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-11-10hide symbols that should not get exportedGravatar Nikias Bassen2-10/+13
2009-11-05afc_dispatch_packet optimization: remove additional bufferGravatar Nikias Bassen1-20/+29
This patch removes the additional buffer that was used inside afc_dispatch_packet. So instead of 'alloc, copy header, copy data, send, free' it will now simply do 'send header, send data'. This should reduce cpu usage.
2009-11-05MAXIMUM_PACKET_SIZE should be staticGravatar Christophe Fergeau1-1/+1
2009-11-05make sure 'length' is >=0 in afc_file_readGravatar Christophe Fergeau1-1/+1
trying to read a negative amount of data doesn't make much sense, and the returned 'bytes' value will overflow if we try to do that. Just treat negative length values as an invalid argument. An alternative way of handling it would be to silently return OK/0 bytes read.
2009-11-05make sure 'length' is >=0 in afc_file_writeGravatar Christophe Fergeau1-1/+1
trying to write a negative amount of data doesn't make much sense, and bad things will happen if we try to do that. Just treat negative length values as an invalid argument. An alternative way of handling it would be to silently return OK/0 bytes written.
2009-11-02AFC: new function afc_set_file_timeGravatar Nikias Bassen3-1/+46
This function allows to set the modification time of a file. The time value needs to be specified as nanoseconds since epoch. [#81 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-10-29Don't include usb.h, which is a libusb-0.1 headerGravatar Ingmar Vanhassel1-1/+0
libusbmuxd uses libusb-1.0
2009-10-28Bumped version numbers to 0.9.40.9.4Gravatar Matt Colyer2-2/+2
2009-10-22Update swig header and autotools to compile with latest libplist API.Gravatar Jonathan Beck4-23/+108
[#77 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-10-13Update to latest libplist API.Gravatar Jonathan Beck4-92/+60
Signed-off-by: Matt Colyer <matt@colyer.name> [#77 state:resolved]
2009-09-14Update Python bindings to new APIGravatar Martin Szulecki1-2/+2
2009-09-14Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki2-2/+2
2009-09-12Use correct usbmuxd function to free device listGravatar Martin Szulecki1-1/+1
2009-09-12Rename iphone_free_device_list to follow overall naming styleGravatar Martin Szulecki3-3/+3
2009-09-12Fix iphone_device_recv making receive operational againGravatar Martin Szulecki1-0/+3
2009-09-12Update tools to use new APIGravatar Martin Szulecki7-15/+13