Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 1 | -15/+19 | |
This should make libiphone compatible with big endian machines. [#85 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
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 | 1 | -0/+43 | |
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-09-12 | Public API rework, extension and adaption to latest libusbmuxd-1.0 API. | Nikias Bassen | 1 | -20/+20 | |
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-01 | 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-07-29 | Add handling of afc_remove_path's unknown error code which is an ENOTEMPTY | Martin Szulecki | 1 | -0/+4 | |
2009-07-26 | Merge commit 'martin-s/martin' | Matt Colyer | 1 | -377/+326 | |
[#46 state:resolved] | |||||
2009-07-26 | fix most -Wall warnings | Christophe Fergeau | 1 | -1/+1 | |
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 | 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 | 1 | -161/+81 | |
2009-07-25 | Update AFC API and use error codes from the STATUS operation response | Martin Szulecki | 1 | -155/+151 | |
2009-07-25 | Define remaining unknown AFC operations; SUCCESS is actually a DATA operation | Martin Szulecki | 1 | -21/+22 | |
2009-07-24 | Improve debug output messages by using __func__ everywhere and adjust wording | Martin Szulecki | 1 | -37/+30 | |
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 | API cleanup for AFC | Nikias Bassen | 1 | -27/+30 | |
2009-07-07 | API cleanup for AFC | Nikias Bassen | 1 | -27/+30 | |
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com> | |||||
2009-07-07 | Support for creating hard- and symlinks | Nikias Bassen | 1 | -0/+52 | |
2009-07-07 | AFC cleanup: remove iphone_afc_file_* and use handles instead. Removed ↵ | Nikias Bassen | 1 | -152/+66 | |
afc_get_file_attr because this function has to go into the program (like ifuse); afc_get_file_info has to be used instead. Modified dispatch_AFC_Packet so that the real buffer size has to be specified (instead of length-1). | |||||
2009-06-29 | Silence compiler warning for dispatch_AFC_packet() | Martin Szulecki | 1 | -1/+1 | |
2009-05-18 | Make use of usbmuxd and remove libusb dependencies | Nikias Bassen | 1 | -36/+39 | |
Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-05-08 | AFC cleanup and improved error handling | Nikias Bassen | 1 | -111/+239 | |
2009-04-19 | This is a fix for iphone_afc_get_file_attr. As the file is not opened when ↵ | Nikias Bassen | 1 | -1/+2 | |
getting its information with afc_get_file_info, there's no need to close the file (because the handle is invalid). [#26 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-03-16 | Merge branch 'master' into contact_sync | Jonathan Beck | 1 | -1/+105 | |
Conflicts: configure.ac dev/Makefile.am include/libiphone/libiphone.h src/AFC.c src/AFC.h src/Makefile.am | |||||
2009-03-08 | Adds ability to show notification screen to the user. | Nikias Bassen | 1 | -0/+57 | |
Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-03-08 | Adds the iphone_afc_truncate function and fixes a small log_debug issue. | Nikias Bassen | 1 | -1/+48 | |
Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-01-29 | Merge branch 'master' into contact_sync | Jonathan Beck | 1 | -1/+1 | |
Conflicts: src/Makefile.am src/iphone.c src/lockdown.c src/lockdown.h src/utils.c | |||||
2009-01-13 | Removed fprintf, use the debug message method. | Matt Colyer | 1 | -1/+1 | |
2009-01-04 | Merge branch 'master' into plist | Jonathan Beck | 1 | -4/+9 | |
Conflicts: src/AFC.c src/lockdown.c src/lockdown.h src/plist.c src/plist.h | |||||
2009-01-02 | Fix indent issues. | Matt Colyer | 1 | -1/+1 | |
2009-01-02 | Some variables were unsigned while they should be | Christophe Fergeau | 1 | -3/+7 | |
dispatch_AFC_packet returns an int, but it was sometimes incorrectly assigned to a variable of type uint32_t which was then compared for being less or more than 0. | |||||
2009-01-02 | Fix function prototypes | Christophe Fergeau | 1 | -1/+1 | |
Add missing static, const, change function() to function(void) | |||||
2009-01-02 | Add missing #include "utils.h" | Christophe Fergeau | 1 | -0/+1 | |
2008-12-13 | fork out plist stuff in libplist and migrate libiphone to use it. | Jonathan Beck | 1 | -1/+0 | |
2008-11-24 | Added binary-plist support (tweaked slightly to move stuff around) | Zach C | 1 | -23/+23 | |
Signed-off-by: Matt Colyer <matt@colyer.name> fix makefile to take correct main function into account | |||||
2008-10-31 | reduce chunk size in AFC since it was generating error for large file | Jonathan Beck | 1 | -1/+1 | |
fix include in afccheck.c | |||||
2008-10-25 | Change lock to mutex and add tool to check AFC in multithreaded env. | Jonathan Beck | 1 | -5/+12 | |
2008-10-25 | Handle debugging through utilitary functions | Jonathan Beck | 1 | -77/+39 | |
2008-10-23 | Indent fixes. | Matt Colyer | 1 | -1/+2 | |
2008-10-23 | Exposes AFC file handle. | Zach C | 1 | -0/+4 | |
2008-09-01 | Enforce a modified kr style. | Matt Colyer | 1 | -258/+339 | |
Use "make indent" from now on before committing. | |||||
2008-08-31 | fix afc_getattr and more error handling in ifuse.c | Jonathan Beck | 1 | -2/+3 | |
2008-08-31 | prefix public enum with IPHONE_ | Jonathan Beck | 1 | -1/+1 | |
2008-08-31 | use new function signature and few bugfixes. | Jonathan Beck | 1 | -11/+11 | |
2008-08-31 | make all functions return an error code. | Jonathan Beck | 1 | -60/+70 | |
2008-08-31 | make it compile | Jonathan Beck | 1 | -7/+7 | |