summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-10Require libplist++ in order to fix linking of Python bindingsGravatar Martin Szulecki2-1/+2
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
2009-09-12Fix -Werror=format-security failure in libiphone/tools/ [#71 state:resolved]Gravatar Matt Colyer1-1/+1
2009-09-12Public API rework, extension and adaption to latest libusbmuxd-1.0 API.Gravatar Nikias Bassen16-155/+437
2009-09-12Use automake silent rules if availableGravatar Martin Szulecki1-0/+1
2009-09-12Update the afc_get_device_info helper to return an afc_error_tGravatar Martin Szulecki2-12/+18
We should return any underlying error afc_get_device_info returns so one is able to act properly. Also renamed it to "key" instead of "field" to be more generic.
2009-08-10Bump the version of usbmuxd0.9.3Gravatar Matt Colyer1-1/+1
2009-08-05Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki0-0/+0
2009-08-04Add iphoneenterrecovery.c to dev/Makefile.amGravatar Matt Colyer1-1/+1
2009-08-04Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki3-4/+4
Conflicts: dev/Makefile.am
2009-08-04Bump version numbers to 0.9.3 and raise libusbmux required version.Gravatar Matt Colyer2-3/+3
2009-08-04Merge branch 'recovery'Gravatar Matt Colyer2-1/+100
2009-08-04Add new iphoneenterrecovery dev tool to make a device enter recovery modeGravatar Martin Szulecki2-1/+100
[#68 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-08-04Invalid check for host_id in userpref_get_host_idGravatar Nikias Bassen1-1/+1
On a system without a previous pairing, libiphone fails to connect to the device: userpref_get_host_id: Using (null) as HostID The code checks if host_id is NULL but it needs to check if *host_id is NULL, otherwise it won't generate a new HostID. [#69 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-08-04Make distcheck pass from a clean treeGravatar Bastien Nocera3-3/+10
Signed-off-by: Matt Colyer <matt@colyer.name>
2009-08-04Make distcheck pass from a clean treeGravatar Bastien Nocera3-3/+10
2009-08-03Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki1-0/+1
2009-08-03Updated AUTHORS0.9.2Gravatar Matt Colyer1-0/+1
2009-08-03Add afc_get_device_info_field() helper functionGravatar Bastien Nocera2-0/+32
For use in front-end applications, also serves to document the available keys.
2009-08-03Avoid invalid memory accesses in lockdownd_client_new()Gravatar Bastien Nocera1-1/+1
Valgrind complains: ==2678== Conditional jump or move depends on uninitialised value(s) ==2678== at 0x3ACD40646C: lockdownd_client_new (lockdown.c:662) ==2678== by 0x405BA6: g_vfs_afc_volume_new (afc-volume.c:113) ==2678== by 0x406541: g_vfs_afc_monitor_device_added (afc-volume-monitor.c:46) ==2678== by 0x4066B1: g_vfs_afc_volume_monitor_constructor (afc-volume-monitor.c:173) ==2678== by 0x3A7FE11A38: g_object_newv (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x3A7FE12584: g_object_new_valist (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x3A7FE126DB: g_object_new (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x408AD5: monitor_try_create (gvfsproxyvolumemonitordaemon.c:1651) ==2678== by 0x408C20: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:1694) ==2678== by 0x37E881EA2C: (below main) (in /lib64/libc-2.10.1.so) ==2678== Uninitialised value was created by a stack allocation ==2678== at 0x405B00: g_vfs_afc_volume_new (afc-volume.c:138)
2009-08-01Add new iphoneenterrecovery dev tool to make a device enter recovery modeGravatar Martin Szulecki2-1/+100
2009-08-01Add afc_get_device_info_field() helper functionGravatar Bastien Nocera2-0/+32
For use in front-end applications, also serves to document the available keys.
2009-08-01Avoid invalid memory accesses in lockdownd_client_new()Gravatar Bastien Nocera1-1/+1
Valgrind complains: ==2678== Conditional jump or move depends on uninitialised value(s) ==2678== at 0x3ACD40646C: lockdownd_client_new (lockdown.c:662) ==2678== by 0x405BA6: g_vfs_afc_volume_new (afc-volume.c:113) ==2678== by 0x406541: g_vfs_afc_monitor_device_added (afc-volume-monitor.c:46) ==2678== by 0x4066B1: g_vfs_afc_volume_monitor_constructor (afc-volume-monitor.c:173) ==2678== by 0x3A7FE11A38: g_object_newv (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x3A7FE12584: g_object_new_valist (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x3A7FE126DB: g_object_new (in /lib64/libgobject-2.0.so.0.2000.4) ==2678== by 0x408AD5: monitor_try_create (gvfsproxyvolumemonitordaemon.c:1651) ==2678== by 0x408C20: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:1694) ==2678== by 0x37E881EA2C: (below main) (in /lib64/libc-2.10.1.so) ==2678== Uninitialised value was created by a stack allocation ==2678== at 0x405B00: g_vfs_afc_volume_new (afc-volume.c:138)
2009-07-30Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki0-0/+0
2009-07-29Add handling of afc_remove_path's unknown error code which is an ENOTEMPTYGravatar Martin Szulecki2-0/+5
2009-07-29Add handling of afc_remove_path's unknown error code which is an ENOTEMPTYGravatar Martin Szulecki2-0/+5
2009-07-29Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki2-15/+25
2009-07-28Rewrite option handling in iphone_id, add --debug and improve usage messageGravatar Martin Szulecki1-58/+72
[#64 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-07-28Move production ready tools into tools/ and do not install the dev/ onesGravatar Martin Szulecki9-20/+26
2009-07-28Fix potential memory corruption in calls to gnutls function on 64 bit archGravatar Nikias Bassen2-15/+25
[#60 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-07-28Rewrite option handling in iphone_id, add --debug and improve usage messageGravatar Martin Szulecki1-58/+72
2009-07-28Move production ready tools into tools/ and do not install the dev/ onesGravatar Martin Szulecki9-20/+26
2009-07-28Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki2-1/+5
2009-07-27Automatically generate documentation for distribution.Gravatar Matt Colyer1-0/+4
[#62 state:resolved]