diff options
-rw-r--r-- | NEWS | 22 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | dev/afccheck.c | 2 | ||||
-rw-r--r-- | dev/iphoneinfo.c | 2 | ||||
-rw-r--r-- | dev/main.c | 4 | ||||
-rw-r--r-- | src/AFC.c | 2 | ||||
-rw-r--r-- | src/NotificationProxy.c | 1 |
7 files changed, 33 insertions, 6 deletions
@@ -0,0 +1,22 @@ +Release 0.9.2 +------------- + +iFuse: +* Moved some libiphone logic into iFuse and adopted to new API +* Add hard/symlink support + +libiphone: +* Migrate to use the new usbmuxd daemon +* Refactor whole API +* Add iPhone 3GS support +* Add hard/symlink support for AFC +* New iphone_id tool to list connected devices and get the device name +* iphoneinfo now allows plist/xml output and queries by domain/key +* Fix a lot of bugs/crashes, compiler warnings and comments + +usbmuxd: +* New daemon to allow multiple connections to devices +* Add iPhone 3GS support and expose new tethering USB interface +* First public release available +* Fix race condition using multiple clients simultaneously +* Fix various usbmux protocol bugs diff --git a/configure.ac b/configure.ac index 62023c7..4433f5c 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) -AC_INIT(libiphone, 0.9.1, nospam@nowhere.com) +AC_INIT(libiphone, 0.9.2, nospam@nowhere.com) AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) AC_CONFIG_SRCDIR([src/]) AC_CONFIG_HEADERS([config.h]) @@ -52,6 +52,10 @@ AC_ARG_ENABLE([dev-tools], [build_dev_tools=false]) if test "$build_dev_tools" = true; then DEV_SUB=dev + AC_CHECK_HEADERS([readline/readline.h], + [], + [AC_MSG_ERROR([Please install readline development headers])] + ) else DEV_SUB= fi diff --git a/dev/afccheck.c b/dev/afccheck.c index a9b666e..b3fa102 100644 --- a/dev/afccheck.c +++ b/dev/afccheck.c @@ -38,7 +38,7 @@ typedef struct { } param; -void check_afc(gpointer data) +static void check_afc(gpointer data) { //prepare a buffer unsigned int buffersize = BUFFER_SIZE * sizeof(unsigned int); diff --git a/dev/iphoneinfo.c b/dev/iphoneinfo.c index 790804c..7e275b2 100644 --- a/dev/iphoneinfo.c +++ b/dev/iphoneinfo.c @@ -231,7 +231,7 @@ void plist_node_to_string(plist_t *node) case PLIST_UINT: plist_get_uint_val(node, &u); - printf("%llu\n", u); + printf("%llu\n", (long long)u); break; case PLIST_REAL: @@ -167,8 +167,8 @@ int main(int argc, char *argv[]) } if (AFC_E_SUCCESS == - afc_file_open(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { - printf("A file size: %llu\n", fsize); + afc_open_file(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { + printf("A file size: %llu\n", (long long)fsize); char *file_data = (char *) malloc(sizeof(char) * fsize); afc_file_read(afc, my_file, file_data, fsize, &bytes); if (bytes > 0) { @@ -339,7 +339,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **dump_here, int * *bytes = 0; log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); - fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); + fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, (long long)header.operation, (long long)param1); return AFC_E_OP_NOT_SUPPORTED; } diff --git a/src/NotificationProxy.c b/src/NotificationProxy.c index 7e52405..e4735cc 100644 --- a/src/NotificationProxy.c +++ b/src/NotificationProxy.c @@ -22,6 +22,7 @@ #include <string.h> #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include <arpa/inet.h> #include <plist/plist.h> |