Marc Schütz
920a87be35
Const correctness in toxcore/friend_requests.c
2014-06-13 22:18:37 +02:00
Marc Schütz
5a34595f58
Const correctness in toxcore/onion_client.c
2014-06-13 22:18:18 +02:00
Marc Schütz
6d7a4d3746
Const correctness for toxcore/assoc.c
2014-06-13 22:08:03 +02:00
irungentoo
0b4640a508
Fixed typo.
...
This typo doesn't seem to cause any issue because according to the
code in vanilla NaCl the first crypto_box_ZEROBYTES (for encryption)
and crypto_box_BOXZEROBYTES (for decryption) of the array passed to
the crypto_box*() functions don't need to be zero for it to work.
The documentation however clearly states that they need to be zero
which means they need to be zero.
2014-06-13 15:05:05 -04:00
irungentoo
8d8083b38c
join_groupchat now fails when not direct connected.
2014-06-13 07:11:14 -04:00
irungentoo
c49d74a125
Attempt fix of tox_sync not building on some systems.
2014-06-13 05:38:19 -04:00
irungentoo
a0d50a6090
Updated TODO.
2014-06-12 11:17:24 -04:00
irungentoo
2740099da0
pthread is now a core dependency instead of just a toxav dependency.
...
Fixed possible thread bug with sending A/V packets.
TODO: eventually make toxcore thread safe.
2014-06-12 11:15:20 -04:00
irungentoo
4f2674eb0f
Added ability to set custom lossless packets in Messenger.
2014-06-11 20:01:07 -04:00
irungentoo
63f25f86d3
Fixed segfault when logging was enabled.
...
m->chats[c] can be NULL if more than one group chat is created and
one of the first ones is deleted.
2014-06-11 09:18:14 -04:00
irungentoo
95e896a52e
Added warnings to travis building.
2014-06-10 19:02:43 -04:00
irungentoo
2fa8815a85
Fixed some warnings.
2014-06-10 18:51:40 -04:00
irungentoo
07936960df
Astyle and fixes.
2014-06-10 18:35:55 -04:00
Marc Schütz
99d5940140
Const correctness in various interdependent files
2014-06-10 20:54:48 +02:00
Marc Schütz
8bdf487d19
Const correctness in toxcore/network.c
2014-06-10 18:54:16 +02:00
Marc Schütz
e651cc9984
Const correctness in toxcore/list.c
2014-06-10 18:42:52 +02:00
Marc Schütz
55d986270b
Const correctness in toxcore/crypto_core.c
2014-06-10 18:38:43 +02:00
Marc Schütz
9e028b243a
Const correctness for toxcore/util.c
2014-06-10 18:27:05 +02:00
irungentoo
890472886c
Removed None becouse it conflicted with the None defined in other
...
headers.
2014-06-10 09:49:59 -04:00
irungentoo
b74922adb0
Removed very old savefile compatibility to cleanup the code.
2014-06-09 20:42:13 -04:00
irungentoo
7a11c10429
Fixed some nTox bugs.
2014-06-08 09:21:37 -04:00
irungentoo
e7faa2cd11
Merge branch 'kitech-ntox'
2014-06-08 08:41:08 -04:00
liuguangzhao
9aa28c10b8
fix nTox cmdline input slow problem.
2014-06-08 14:08:52 +00:00
irungentoo
f2101a7d86
Toxcore closer to building correctly with gcc -std=c99.
2014-06-07 22:56:52 -04:00
irungentoo
99572e944a
IN6_ARE_ADDR_EQUAL was used only once, replaced it.
2014-06-07 19:47:00 -04:00
irungentoo
550fced157
Phone was removed from core a while back.
2014-06-06 23:36:48 -04:00
irungentoo
02f889e52a
Updated documentation.
2014-06-06 23:11:35 -04:00
irungentoo
d540d9f426
Updated outdated crypto doc.
2014-06-06 23:05:35 -04:00
irungentoo
7adefb6e6b
Renamed list functions to fix conflict issue on certain machines.
2014-06-06 13:23:21 -04:00
irungentoo
ac5e44debb
Kill toxes when finished in tox_test to test tox_kill.
2014-06-06 09:50:19 -04:00
irungentoo
2cbfbef6e5
Fixed possible bug in list.
2014-06-06 09:00:12 -04:00
irungentoo
a4ac1497a5
Fixed regression that made packet_send_rate increase even when
...
no data was transmitted.
2014-06-05 19:16:03 -04:00
irungentoo
0b3980fc73
Removed useless code
2014-06-05 18:26:25 -04:00
irungentoo
94a675f3e9
Optimized net_crypto UDP packet sorting using list.
2014-06-05 18:05:17 -04:00
irungentoo
c6d885eede
Merge branch 'mannol1-master'
2014-06-04 19:40:01 -04:00
mannol
11ca389e38
Fixed bug when passing invalid call index
2014-06-05 01:36:01 +02:00
irungentoo
aa256d5858
Doubled minimum transfer rate.
...
File transfers got stuck because it was too low.
2014-06-04 17:55:07 -04:00
irungentoo
dc6f46a240
Request packets are now sent with send_data_packet_helper().
...
This means all data packets are now padded the same way.
2014-06-04 17:35:38 -04:00
irungentoo
b44b58cae4
Added data packet padding to toxcore.
...
Data sent as lossless or lossy is now padded with:
((MAX_CRYPTO_DATA_SIZE - data_length) % CRYPTO_MAX_PADDING) bytes
in order to reduce the possibility of length related attacks.
I set CRYPTO_MAX_PADDING to 8 but it can be changed anytime without
breaking network compatibility between tox cores.
2014-06-04 13:28:56 -04:00
irungentoo
de5a33e852
Tweaked file transfers a bit.
2014-06-03 20:17:31 -04:00
irungentoo
edd5ab3215
This might fix the issue that someone reported about tox no longer
...
cross compiling for windows.
2014-06-02 20:19:40 -04:00
irungentoo
ba0f7974ba
Added instructions on how to pause/resume file transfers.
2014-06-02 19:58:48 -04:00
irungentoo
4eecaf3ee6
Increased some timeouts to try to prevent disconnections when
...
transferring files on wireless networks.
2014-06-02 19:35:49 -04:00
irungentoo
ad20432494
tox_test now checks if TOX_MAX_MESSAGE_LENGTH is correctly set.
2014-06-01 20:48:02 -04:00
irungentoo
1bad0b5eea
Fixed TOX_MAX_MESSAGE_LENGTH define.
...
Removed some useless code from toxcore.
Astyled core code with new version of astyle.
2014-06-01 18:55:52 -04:00
irungentoo
7c1b801bd0
Fixed typo.
...
This typo doesn't actually cause any side effects unless you are like
stqism and have a C library that doesn't have mempcpy().
2014-06-01 18:33:10 -04:00
irungentoo
9684339ab9
Merge branch 'mannol1-master'
2014-05-31 15:36:37 -04:00
mannol
fa203aa1ad
We gon let it burn burn burn
2014-05-31 21:02:50 +02:00
irungentoo
a62a61f9f2
Merge branch 'nurupo-pow-fix'
2014-05-31 13:26:26 -04:00
Maxim Biro
24c6db5968
Fixed the undefined reference to pow error
2014-05-31 13:16:08 -04:00