Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-19 | set ssl_certificate to NULL in lockdownd_client_new | Nikias Bassen | 1 | -0/+1 | |
[#87 state:resolved] | |||||
2009-11-17 | simplify gnutls_session_t use | Christophe Fergeau | 2 | -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-17 | don't leak memory allocated for gnutls credentials | Christophe Fergeau | 2 | -6/+7 | |
2009-11-11 | Finish migration to latest plist API. | Jonathan Beck | 3 | -72/+53 | |
[#77 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-11-10 | hide symbols that should not get exported | Nikias Bassen | 2 | -10/+13 | |
2009-11-05 | afc_dispatch_packet optimization: remove additional buffer | Nikias Bassen | 1 | -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-05 | MAXIMUM_PACKET_SIZE should be static | Christophe Fergeau | 1 | -1/+1 | |
2009-11-05 | make sure 'length' is >=0 in afc_file_read | Christophe Fergeau | 1 | -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-05 | make sure 'length' is >=0 in afc_file_write | Christophe Fergeau | 1 | -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-02 | AFC: new function afc_set_file_time | Nikias Bassen | 2 | -1/+45 | |
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-13 | Update to latest libplist API. | Jonathan Beck | 3 | -69/+38 | |
Signed-off-by: Matt Colyer <matt@colyer.name> [#77 state:resolved] | |||||
2009-09-12 | Use correct usbmuxd function to free device list | Martin Szulecki | 1 | -1/+1 | |
2009-09-12 | Rename iphone_free_device_list to follow overall naming style | Martin Szulecki | 1 | -1/+1 | |
2009-09-12 | Fix iphone_device_recv making receive operational again | Martin Szulecki | 1 | -0/+3 | |
2009-09-12 | Public API rework, extension and adaption to latest libusbmuxd-1.0 API. | Nikias Bassen | 12 | -136/+383 | |
2009-09-12 | Update the afc_get_device_info helper to return an afc_error_t | Martin Szulecki | 1 | -11/+17 | |
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-04 | Invalid check for host_id in userpref_get_host_id | Nikias Bassen | 1 | -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-03 | Add afc_get_device_info_field() helper function | Bastien Nocera | 1 | -0/+29 | |
For use in front-end applications, also serves to document the available keys. | |||||
2009-08-03 | Avoid invalid memory accesses in lockdownd_client_new() | Bastien Nocera | 1 | -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-29 | Add handling of afc_remove_path's unknown error code which is an ENOTEMPTY | Martin Szulecki | 1 | -0/+4 | |
2009-07-28 | Fix potential memory corruption in calls to gnutls function on 64 bit arch | Nikias Bassen | 2 | -15/+25 | |
[#60 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-07-26 | Merge commit 'martin-s/martin' | Matt Colyer | 14 | -835/+811 | |
[#46 state:resolved] | |||||
2009-07-26 | fix most -Wall warnings | Christophe Fergeau | 2 | -1/+2 | |
add missing includes, add some casts to avoid format warnings, mark one function as static. There are still warnings about unused argc/argv [#61 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-07-25 | Conform to protocol and add session id argument to lockdownd_stop_session() | Martin Szulecki | 1 | -3/+3 | |
2009-07-25 | Implement afc_file_tell() and adjust afc_receive_data() to handle it | Martin Szulecki | 1 | -2/+43 | |
2009-07-25 | Remove AFC to errno conversion and make afc_receive_data() return AFC errors | Martin Szulecki | 2 | -163/+81 | |
2009-07-25 | Update AFC API and use error codes from the STATUS operation response | Martin Szulecki | 2 | -155/+153 | |
2009-07-25 | Rename iphone_get_device_handle to iphone_device_get_handle and update tools | Martin Szulecki | 2 | -10/+11 | |
2009-07-25 | Follow glib style and rename iphone_free_device to iphone_device_free | Martin Szulecki | 1 | -3/+3 | |
2009-07-25 | Update lockdown API and introduce new error codes | Martin Szulecki | 2 | -153/+162 | |
2009-07-25 | Update NotificationProxy API and introduce new error codes | Martin Szulecki | 1 | -50/+49 | |
2009-07-25 | Update MobileSync API and introduce mobilesync error codes | Martin Szulecki | 2 | -27/+28 | |
2009-07-25 | Improve API of userpref system | Martin Szulecki | 3 | -110/+131 | |
2009-07-25 | Fix includes of utils | Martin Szulecki | 2 | -4/+4 | |
2009-07-25 | Define remaining unknown AFC operations; SUCCESS is actually a DATA operation | Martin Szulecki | 2 | -49/+51 | |
2009-07-24 | Use iphone_device_get_uuid() not lockdown, for less overhead where possible | Martin Szulecki | 2 | -17/+16 | |
2009-07-24 | Improve debug output messages by using __func__ everywhere and adjust wording | Martin Szulecki | 6 | -96/+79 | |
2009-07-24 | Add missing macro preventing cyclic includes in notification proxy header | Martin Szulecki | 1 | -2/+7 | |
2009-07-24 | Rename iphone_set_debug() to iphone_set_debug_level() and code using it | Martin Szulecki | 1 | -1/+1 | |
2009-07-24 | Add new NP_ITDBPREP_DID_END notification signaling music db refresh | Martin Szulecki | 1 | -1/+2 | |
2009-07-20 | New type afc_lock_op_t with allowed lock operations for afc_lock_file. Only ↵ | Nikias Bassen | 1 | -12/+10 | |
non-blocking locks are supported via AFC. Signed-off-by: Martin Szulecki <opensuse@sukimashita.com> | |||||
2009-07-18 | Implement lockdown set_value, remove_value and enter_recovery request API | Martin Szulecki | 1 | -4/+159 | |
[#46 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-07-18 | Cleanup mobilesync API and bindings. Move get_all_contacts() into msyncclient. | Martin Szulecki | 2 | -118/+15 | |
2009-07-18 | Use new plist_copy instead of serialization workaround in lockdownd_et_value() | Martin Szulecki | 1 | -11/+1 | |
2009-07-18 | Cleanup lockdown request API and fix docs, tools, bindings and exports | Martin Szulecki | 2 | -436/+366 | |
2009-07-18 | API cleanup for NotificationProxy | Nikias Bassen | 2 | -23/+23 | |
2009-07-18 | API cleanup for AFC | Nikias Bassen | 2 | -31/+31 | |
2009-07-15 | Implement lockdown set_value, remove_value and enter_recovery request API | Martin Szulecki | 1 | -4/+159 | |
2009-07-14 | Cleanup mobilesync API and bindings. Move get_all_contacts() into msyncclient. | Martin Szulecki | 2 | -118/+15 | |
2009-07-10 | Use new plist_copy instead of serialization workaround in lockdownd_et_value() | Martin Szulecki | 1 | -11/+1 | |