Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-13 | afc: use correct type for port parameter and rename it, plus doc update | 1 | -7/+10 | ||
2010-01-12 | Refactor and unify internal debug system for ease of use and verbosity | 1 | -56/+53 | ||
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 | Rename utils to debug as it does exactly that, contain debug code | 1 | -1/+1 | ||
2009-11-30 | afc_truncate: use uint64_t instead of off_t | 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 | 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 | 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 | 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 | 1 | -1/+1 | ||
2009-11-05 | make sure 'length' is >=0 in afc_file_read | 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 | 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 | 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. | 1 | -20/+20 | ||
2009-09-12 | Update the afc_get_device_info helper to return an afc_error_t | 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 | 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 | 1 | -0/+4 | ||
2009-07-26 | Merge commit 'martin-s/martin' | 1 | -377/+326 | ||
[#46 state:resolved] | |||||
2009-07-26 | fix most -Wall warnings | 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 | 1 | -2/+43 | ||
2009-07-25 | Remove AFC to errno conversion and make afc_receive_data() return AFC errors | 1 | -161/+81 | ||
2009-07-25 | Update AFC API and use error codes from the STATUS operation response | 1 | -155/+151 | ||
2009-07-25 | Define remaining unknown AFC operations; SUCCESS is actually a DATA operation | 1 | -21/+22 | ||
2009-07-24 | Improve debug output messages by using __func__ everywhere and adjust wording | 1 | -37/+30 | ||
2009-07-20 | New type afc_lock_op_t with allowed lock operations for afc_lock_file. Only ↵ | 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 | 1 | -27/+30 | ||
2009-07-07 | API cleanup for AFC | 1 | -27/+30 | ||
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com> | |||||
2009-07-07 | Support for creating hard- and symlinks | 1 | -0/+52 | ||
2009-07-07 | AFC cleanup: remove iphone_afc_file_* and use handles instead. Removed ↵ | 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() | 1 | -1/+1 | ||
2009-05-18 | Make use of usbmuxd and remove libusb dependencies | 1 | -36/+39 | ||
Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-05-08 | AFC cleanup and improved error handling | 1 | -111/+239 | ||
2009-04-19 | This is a fix for iphone_afc_get_file_attr. As the file is not opened when ↵ | 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 | 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. | 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. | 1 | -1/+48 | ||
Signed-off-by: Matt Colyer <matt@colyer.name> | |||||
2009-01-29 | Merge branch 'master' into contact_sync | 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. | 1 | -1/+1 | ||
2009-01-04 | Merge branch 'master' into plist | 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. | 1 | -1/+1 | ||
2009-01-02 | Some variables were unsigned while they should be | 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 | 1 | -1/+1 | ||
Add missing static, const, change function() to function(void) | |||||
2009-01-02 | Add missing #include "utils.h" | 1 | -0/+1 | ||
2008-12-13 | fork out plist stuff in libplist and migrate libiphone to use it. | 1 | -1/+0 | ||
2008-11-24 | Added binary-plist support (tweaked slightly to move stuff around) | 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 | 1 | -1/+1 | ||
fix include in afccheck.c | |||||
2008-10-25 | Change lock to mutex and add tool to check AFC in multithreaded env. | 1 | -5/+12 | ||
2008-10-25 | Handle debugging through utilitary functions | 1 | -77/+39 | ||
2008-10-23 | Indent fixes. | 1 | -1/+2 | ||
2008-10-23 | Exposes AFC file handle. | 1 | -0/+4 | ||
2008-09-01 | Enforce a modified kr style. | 1 | -258/+339 | ||
Use "make indent" from now on before committing. | |||||
2008-08-31 | fix afc_getattr and more error handling in ifuse.c | 1 | -2/+3 | ||