summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS22
-rw-r--r--configure.ac6
-rw-r--r--dev/afccheck.c2
-rw-r--r--dev/iphoneinfo.c2
-rw-r--r--dev/main.c4
-rw-r--r--src/AFC.c2
-rw-r--r--src/NotificationProxy.c1
7 files changed, 33 insertions, 6 deletions
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..9b75929
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,22 @@
1Release 0.9.2
2-------------
3
4iFuse:
5* Moved some libiphone logic into iFuse and adopted to new API
6* Add hard/symlink support
7
8libiphone:
9* Migrate to use the new usbmuxd daemon
10* Refactor whole API
11* Add iPhone 3GS support
12* Add hard/symlink support for AFC
13* New iphone_id tool to list connected devices and get the device name
14* iphoneinfo now allows plist/xml output and queries by domain/key
15* Fix a lot of bugs/crashes, compiler warnings and comments
16
17usbmuxd:
18* New daemon to allow multiple connections to devices
19* Add iPhone 3GS support and expose new tethering USB interface
20* First public release available
21* Fix race condition using multiple clients simultaneously
22* 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 @@
2# Process this file with autoconf to produce a configure script. 2# Process this file with autoconf to produce a configure script.
3 3
4AC_PREREQ(2.61) 4AC_PREREQ(2.61)
5AC_INIT(libiphone, 0.9.1, nospam@nowhere.com) 5AC_INIT(libiphone, 0.9.2, nospam@nowhere.com)
6AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) 6AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
7AC_CONFIG_SRCDIR([src/]) 7AC_CONFIG_SRCDIR([src/])
8AC_CONFIG_HEADERS([config.h]) 8AC_CONFIG_HEADERS([config.h])
@@ -52,6 +52,10 @@ AC_ARG_ENABLE([dev-tools],
52 [build_dev_tools=false]) 52 [build_dev_tools=false])
53if test "$build_dev_tools" = true; then 53if test "$build_dev_tools" = true; then
54 DEV_SUB=dev 54 DEV_SUB=dev
55 AC_CHECK_HEADERS([readline/readline.h],
56 [],
57 [AC_MSG_ERROR([Please install readline development headers])]
58 )
55else 59else
56 DEV_SUB= 60 DEV_SUB=
57fi 61fi
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 {
38} param; 38} param;
39 39
40 40
41void check_afc(gpointer data) 41static void check_afc(gpointer data)
42{ 42{
43 //prepare a buffer 43 //prepare a buffer
44 unsigned int buffersize = BUFFER_SIZE * sizeof(unsigned int); 44 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)
231 231
232 case PLIST_UINT: 232 case PLIST_UINT:
233 plist_get_uint_val(node, &u); 233 plist_get_uint_val(node, &u);
234 printf("%llu\n", u); 234 printf("%llu\n", (long long)u);
235 break; 235 break;
236 236
237 case PLIST_REAL: 237 case PLIST_REAL:
diff --git a/dev/main.c b/dev/main.c
index 3e5860e..eb74c89 100644
--- a/dev/main.c
+++ b/dev/main.c
@@ -167,8 +167,8 @@ int main(int argc, char *argv[])
167 } 167 }
168 168
169 if (AFC_E_SUCCESS == 169 if (AFC_E_SUCCESS ==
170 afc_file_open(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) { 170 afc_open_file(afc, "/readme.libiphone.fx", AFC_FOPEN_RDONLY, &my_file) && my_file) {
171 printf("A file size: %llu\n", fsize); 171 printf("A file size: %llu\n", (long long)fsize);
172 char *file_data = (char *) malloc(sizeof(char) * fsize); 172 char *file_data = (char *) malloc(sizeof(char) * fsize);
173 afc_file_read(afc, my_file, file_data, fsize, &bytes); 173 afc_file_read(afc, my_file, file_data, fsize, &bytes);
174 if (bytes > 0) { 174 if (bytes > 0) {
diff --git a/src/AFC.c b/src/AFC.c
index 6a6d3f2..6a58686 100644
--- a/src/AFC.c
+++ b/src/AFC.c
@@ -339,7 +339,7 @@ static afc_error_t afc_receive_data(afc_client_t client, char **dump_here, int *
339 *bytes = 0; 339 *bytes = 0;
340 340
341 log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); 341 log_debug_msg("%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1);
342 fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, header.operation, param1); 342 fprintf(stderr, "%s: WARNING: Unknown operation code received 0x%llx param1=%lld\n", __func__, (long long)header.operation, (long long)param1);
343 343
344 return AFC_E_OP_NOT_SUPPORTED; 344 return AFC_E_OP_NOT_SUPPORTED;
345 } 345 }
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 @@
22#include <string.h> 22#include <string.h>
23#include <stdio.h> 23#include <stdio.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#include <unistd.h>
25#include <arpa/inet.h> 26#include <arpa/inet.h>
26#include <plist/plist.h> 27#include <plist/plist.h>
27 28