diff options
author | Tim Malte Gräfje <Tim.Graefje@gmx.de> | 2013-08-04 02:17:14 +0200 |
---|---|---|
committer | Tim Malte Gräfje <Tim.Graefje@gmx.de> | 2013-08-04 02:17:14 +0200 |
commit | 170af10204d2698374725f10195eab281551d9a2 (patch) | |
tree | bf53fe03ec445286be88aa4edf880a09dc1db999 | |
parent | 5817c2c888ec930b8adfca78cd4fd5b026a1ccfa (diff) | |
parent | 6f0ae0dbb483f7cb11ed735eac235e3367ccb019 (diff) |
Merge remote-tracking branch 'upstream/master'
-rw-r--r-- | INSTALL.md | 3 | ||||
-rw-r--r-- | core/CMakeLists.txt | 1 | ||||
-rw-r--r-- | core/DHT.c | 2 | ||||
-rw-r--r-- | core/DHT.h | 2 | ||||
-rw-r--r-- | core/Lossless_UDP.c | 4 | ||||
-rw-r--r-- | core/Lossless_UDP.h | 2 | ||||
-rw-r--r-- | core/net_crypto.c | 2 |
7 files changed, 9 insertions, 7 deletions
@@ -101,6 +101,7 @@ Grab the following packages: | |||
101 | * http://www.gnu.org/software/automake/ | 101 | * http://www.gnu.org/software/automake/ |
102 | * http://www.cmake.org/ | 102 | * http://www.cmake.org/ |
103 | * https://github.com/jedisct1/libsodium | 103 | * https://github.com/jedisct1/libsodium |
104 | * http://www.hyperrealm.com/libconfig/ | ||
104 | 105 | ||
105 | Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below: | 106 | Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below: |
106 | 107 | ||
@@ -118,7 +119,7 @@ make | |||
118 | ``` | 119 | ``` |
119 | 120 | ||
120 | Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory | 121 | Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory |
121 | and make your life more annoying. | 122 | (or the wrong version gets installed) and make your life more annoying. |
122 | 123 | ||
123 | Another thing you may want to install is the latest gcc, this caused me a few problems as XCode from 4.3 | 124 | Another thing you may want to install is the latest gcc, this caused me a few problems as XCode from 4.3 |
124 | no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at | 125 | no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at |
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 36acb6cf..5bd496cb 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt | |||
@@ -17,3 +17,4 @@ set(core_sources | |||
17 | Messenger.c) | 17 | Messenger.c) |
18 | 18 | ||
19 | add_library(toxcore SHARED ${core_sources}) | 19 | add_library(toxcore SHARED ${core_sources}) |
20 | target_link_libraries(toxcore ${SODIUM_LIBRARY}) | ||
@@ -1,6 +1,6 @@ | |||
1 | /* DHT.c | 1 | /* DHT.c |
2 | * | 2 | * |
3 | * An implementation of the DHT as seen in docs/DHT.txt | 3 | * An implementation of the DHT as seen in http://wiki.tox.im/index.php/DHT |
4 | * | 4 | * |
5 | * Copyright (C) 2013 Tox project All Rights Reserved. | 5 | * Copyright (C) 2013 Tox project All Rights Reserved. |
6 | * | 6 | * |
@@ -1,6 +1,6 @@ | |||
1 | /* DHT.h | 1 | /* DHT.h |
2 | * | 2 | * |
3 | * An implementation of the DHT as seen in docs/DHT.txt | 3 | * An implementation of the DHT as seen in http://wiki.tox.im/index.php/DHT |
4 | * | 4 | * |
5 | * Copyright (C) 2013 Tox project All Rights Reserved. | 5 | * Copyright (C) 2013 Tox project All Rights Reserved. |
6 | * | 6 | * |
diff --git a/core/Lossless_UDP.c b/core/Lossless_UDP.c index 33b8eb19..a753e5ff 100644 --- a/core/Lossless_UDP.c +++ b/core/Lossless_UDP.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Lossless_UDP.c | 1 | /* Lossless_UDP.c |
2 | * | 2 | * |
3 | * An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt | 3 | * An implementation of the Lossless_UDP protocol as seen in http://wiki.tox.im/index.php/Lossless_UDP |
4 | * | 4 | * |
5 | * Copyright (C) 2013 Tox project All Rights Reserved. | 5 | * Copyright (C) 2013 Tox project All Rights Reserved. |
6 | * | 6 | * |
@@ -467,7 +467,7 @@ uint32_t missing_packets(int connection_id, uint32_t * requested) | |||
467 | /* | 467 | /* |
468 | * BEGIN Packet sending functions | 468 | * BEGIN Packet sending functions |
469 | * One per packet type. | 469 | * One per packet type. |
470 | * see docs/Lossless_UDP.txt for more information. | 470 | * see http://wiki.tox.im/index.php/Lossless_UDP for more information. |
471 | */ | 471 | */ |
472 | 472 | ||
473 | int send_handshake(IP_Port ip_port, uint32_t handshake_id1, uint32_t handshake_id2) | 473 | int send_handshake(IP_Port ip_port, uint32_t handshake_id1, uint32_t handshake_id2) |
diff --git a/core/Lossless_UDP.h b/core/Lossless_UDP.h index 573e1ab9..75ef273e 100644 --- a/core/Lossless_UDP.h +++ b/core/Lossless_UDP.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Lossless_UDP.h | 1 | /* Lossless_UDP.h |
2 | * | 2 | * |
3 | * An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt | 3 | * An implementation of the Lossless_UDP protocol as seen in http://wiki.tox.im/index.php/Lossless_UDP |
4 | * | 4 | * |
5 | * Copyright (C) 2013 Tox project All Rights Reserved. | 5 | * Copyright (C) 2013 Tox project All Rights Reserved. |
6 | * | 6 | * |
diff --git a/core/net_crypto.c b/core/net_crypto.c index 3b5b67f4..561ba866 100644 --- a/core/net_crypto.c +++ b/core/net_crypto.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* net_crypto.c | 1 | /* net_crypto.c |
2 | * | 2 | * |
3 | * Functions for the core network crypto. | 3 | * Functions for the core network crypto. |
4 | * See also: docs/Crypto.txt | 4 | * See also: http://wiki.tox.im/index.php/DHT |
5 | * | 5 | * |
6 | * NOTE: This code has to be perfect. We don't mess around with encryption. | 6 | * NOTE: This code has to be perfect. We don't mess around with encryption. |
7 | * | 7 | * |