summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL.md23
-rw-r--r--core/libcore.abin0 -> 98472 bytes
-rw-r--r--databin0 -> 1992 bytes
-rw-r--r--fa.txt0
-rwxr-xr-xother/DHT_bootstrapbin0 -> 71100 bytes
-rwxr-xr-xother/bootstrap_serverdaemon/DHT_bootstrap_daemonbin0 -> 76336 bytes
-rwxr-xr-xtesting/DHT_testbin0 -> 70924 bytes
-rwxr-xr-xtesting/Lossless_UDP_testclientbin0 -> 33260 bytes
-rwxr-xr-xtesting/Lossless_UDP_testserverbin0 -> 33084 bytes
-rw-r--r--testing/Lossless_UDP_testserver.c3
-rwxr-xr-xtesting/Messenger_testbin0 -> 85804 bytes
-rw-r--r--testing/file.txt0
-rwxr-xr-xtesting/nToxbin0 -> 96028 bytes
-rw-r--r--testing/toxic/databin0 -> 1992 bytes
-rw-r--r--testing/toxic/main.c18
-rwxr-xr-xtesting/toxic/toxicbin0 -> 106344 bytes
16 files changed, 28 insertions, 16 deletions
diff --git a/INSTALL.md b/INSTALL.md
index a0c4165d..db6387e7 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -55,26 +55,39 @@ make
55<a name="osx" /> 55<a name="osx" />
56###OS X: 56###OS X:
57 57
58You need the latest XCode with the Developer Tools (Preferences -> Downloads -> Command Line Tools).
59The following libraries are required along with libsodium and cmake for Mountain Lion and XCode 4.6.3 install libtool, automake and autoconf. You can download them with Homebrew, or install them manually.
60
61There are no binaries/executables going to /bin/ or /usr/bin/ now. Everything is compiled and ran from the inside your local branch.
62
58<a name="homebrew" /> 63<a name="homebrew" />
59####Homebrew: 64####Homebrew:
60``` 65```
61brew install libtool automake autoconf libconfig libsodium cmake 66brew install libtool automake autoconf libconfig libsodium cmake
62cmake . 67cmake .
63make 68make
64sudo make install
65``` 69```
66 70
67<a name="non-homebrew" /> 71<a name="non-homebrew" />
68####Non-homebrew: 72####Non-homebrew:
69 73
70Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). 74Grab the following packages:
71Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf. 75 * http://www.gnu.org/software/libtool/
72They are easy enough to install, grab them from http://www.gnu.org/software/libtool/, http://www.gnu.org/software/autoconf/ and http://www.gnu.org/software/automake/, then follow these steps for each: 76 * http://www.gnu.org/software/autoconf/
77 * http://www.gnu.org/software/automake/
78
79Then follow these steps for each:
73 80
74```bash 81```bash
75./configure 82./configure
76make 83make
77sudo make install 84```
85
86In your local TOX repository:
87
88```bash
89cmake .
90make
78``` 91```
79 92
80Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory 93Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
diff --git a/core/libcore.a b/core/libcore.a
new file mode 100644
index 00000000..1e9e8df6
--- /dev/null
+++ b/core/libcore.a
Binary files differ
diff --git a/data b/data
new file mode 100644
index 00000000..2d2201c8
--- /dev/null
+++ b/data
Binary files differ
diff --git a/fa.txt b/fa.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/fa.txt
diff --git a/other/DHT_bootstrap b/other/DHT_bootstrap
new file mode 100755
index 00000000..3d4b6484
--- /dev/null
+++ b/other/DHT_bootstrap
Binary files differ
diff --git a/other/bootstrap_serverdaemon/DHT_bootstrap_daemon b/other/bootstrap_serverdaemon/DHT_bootstrap_daemon
new file mode 100755
index 00000000..10b732f9
--- /dev/null
+++ b/other/bootstrap_serverdaemon/DHT_bootstrap_daemon
Binary files differ
diff --git a/testing/DHT_test b/testing/DHT_test
new file mode 100755
index 00000000..e6bfa920
--- /dev/null
+++ b/testing/DHT_test
Binary files differ
diff --git a/testing/Lossless_UDP_testclient b/testing/Lossless_UDP_testclient
new file mode 100755
index 00000000..02367ce9
--- /dev/null
+++ b/testing/Lossless_UDP_testclient
Binary files differ
diff --git a/testing/Lossless_UDP_testserver b/testing/Lossless_UDP_testserver
new file mode 100755
index 00000000..7e00d35f
--- /dev/null
+++ b/testing/Lossless_UDP_testserver
Binary files differ
diff --git a/testing/Lossless_UDP_testserver.c b/testing/Lossless_UDP_testserver.c
index 84a64b38..763996e8 100644
--- a/testing/Lossless_UDP_testserver.c
+++ b/testing/Lossless_UDP_testserver.c
@@ -155,8 +155,9 @@ int main(int argc, char *argv[])
155 //bind to ip 0.0.0.0:PORT 155 //bind to ip 0.0.0.0:PORT
156 IP ip; 156 IP ip;
157 ip.i = 0; 157 ip.i = 0;
158 //ip.c = 0x7F000001;
158 init_networking(ip, PORT); 159 init_networking(ip, PORT);
159 perror("Initialization"); 160 //perror("Initialization");
160 161
161 int connection; 162 int connection;
162 uint64_t timer = current_time(); 163 uint64_t timer = current_time();
diff --git a/testing/Messenger_test b/testing/Messenger_test
new file mode 100755
index 00000000..008f34a0
--- /dev/null
+++ b/testing/Messenger_test
Binary files differ
diff --git a/testing/file.txt b/testing/file.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/testing/file.txt
diff --git a/testing/nTox b/testing/nTox
new file mode 100755
index 00000000..59954888
--- /dev/null
+++ b/testing/nTox
Binary files differ
diff --git a/testing/toxic/data b/testing/toxic/data
new file mode 100644
index 00000000..b6e1f6cc
--- /dev/null
+++ b/testing/toxic/data
Binary files differ
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index cdc6dc16..9614d7f4 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -282,7 +282,7 @@ void prepare_window(WINDOW* w) {
282 282
283int main(int argc, char* argv[]) { 283int main(int argc, char* argv[]) {
284 int ch; 284 int ch;
285 ToxWindow* a; 285 ToxWindow* current_window;
286 286
287 init_term(); 287 init_term();
288 init_tox(); 288 init_tox();
@@ -294,22 +294,20 @@ int main(int argc, char* argv[]) {
294 do_tox(); 294 do_tox();
295 295
296 // Draw. 296 // Draw.
297 a = &windows[w_active]; 297 current_window = &windows[w_active];
298 prepare_window(a->window); 298 prepare_window(current_window->window);
299 a->blink = false; 299 current_window->blink = false;
300 a->onDraw(a); 300 current_window->onDraw(current_window);
301 draw_bar(); 301 draw_bar();
302 302
303 // Handle input. 303 // Handle input.
304 ch = getch(); 304 ch = getch();
305 if(ch == '\t') { 305 if(ch == '\t') {
306 w_active = (w_active + 1) % w_num; 306 w_active = (w_active + 1) % w_num;
307 } 307 } else if(ch == KEY_BTAB) {
308 else if(ch == KEY_BTAB) {
309 w_active = (w_active + w_num - 1) % w_num; 308 w_active = (w_active + w_num - 1) % w_num;
310 } 309 } else if(ch != ERR) {
311 else if(ch != ERR) { 310 current_window->onKey(current_window, ch);
312 a->onKey(a, ch);
313 } 311 }
314 312
315 } 313 }
diff --git a/testing/toxic/toxic b/testing/toxic/toxic
new file mode 100755
index 00000000..6bd0dd78
--- /dev/null
+++ b/testing/toxic/toxic
Binary files differ