Commit Graph

2429 Commits

Author SHA1 Message Date
mannol
77150081ba Merged upstream 2014-06-22 02:41:32 +02:00
mannol
5c0b6c8117 Added tolerance to VAD and lowered Jitter buffer default value 2014-06-21 19:04:00 +02:00
irungentoo
7787454a7f
Merge branch 'patch-1' of https://github.com/stqism/ToxCore 2014-06-20 22:39:00 -04:00
irungentoo
bc62510a76
Merge branch 'tux3-cppcheck-style' 2014-06-20 22:36:16 -04:00
Sean
37cbb8c131 Update README.md 2014-06-20 18:33:09 -07:00
Sean
6f8850ea4d Fix FreeBSD instructions, sodium 0.5.0
Sodium 0.5.0 optimizes itself on being loaded
2014-06-20 18:31:02 -07:00
Sean
dda3c39803 Got a little dated 2014-06-20 17:11:30 -07:00
mannol
d413fef66f Started with VAD 2014-06-21 01:58:55 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3044bd8101 Fix CppCheck style errors
#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage
*msg, char *dest)
This function has no effect and does not seem to be used for actively
waiting.

Fix various other style errors, reduce scope when possible, avoid
redundant writes, clarify operator priorities, etc.
2014-06-20 21:43:21 +02:00
irungentoo
760333b907
Merge branch 'tcpserv' of https://github.com/tux3/toxcore 2014-06-20 10:07:47 -04:00
irungentoo
5c87c7bf4a
Merge branch 'leak-rebase' of https://github.com/tux3/toxcore 2014-06-20 10:06:14 -04:00
irungentoo
8aa163f40e
Merge branch 'perf-rebase' of https://github.com/tux3/toxcore 2014-06-20 10:05:35 -04:00
irungentoo
aba37b0f71
Merge branch 'mannol1-master' 2014-06-20 10:01:27 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
dee6c72d2c Fix redundant assignment in TCP_server.c 2014-06-20 13:52:23 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
727659673c Fix exceptional file leak in other/fun/sign.c 2014-06-20 12:42:03 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3206fafe92 Remove some immediatly overwritten writes
Fix local variable being modified just before it goes out of scope

When memcpy-ing in a buffer, only memset the part of the buffer not modified by the memcpy, not the whole buffer

Also reorder the memset after the memcpy, to potentially avoid cache misses (NOT profiled)
2014-06-20 12:38:03 +02:00
mannol
88a131a2e8 Fixed bug when adjusting queue size 2014-06-20 00:23:05 +02:00
irungentoo
9b2d3e50b2
Merge branch 'bootstrap_daemon-leaks-1' of https://github.com/tux3/toxcore into tux3-bootstrap_daemon-leaks-1 2014-06-19 16:23:00 -04:00
irungentoo
3c64c87ea7
dns3_test now automatically does the DNS request.
tox_decrypt_dns3_TXT no longer needs id_record to be null terminated.
2014-06-19 10:50:46 -04:00
irungentoo
db724df189
Merge branch 'av-fix' of https://github.com/nurupo/InsertProjectNameHere into nurupo-av-fix 2014-06-18 19:46:39 -04:00
irungentoo
a82cbfff6a
Preparation work to make onion packets go through TCP. 2014-06-18 19:44:49 -04:00
Maxim Biro
741ad009e0 Removed IRC references 2014-06-18 17:58:01 -04:00
Maxim Biro
9d78e74d4d Made av public header C++-enabled 2014-06-18 17:52:34 -04:00
irungentoo
881ccced56
Merge branch 'master' of https://github.com/Jman012/toxcore into Jman012-master 2014-06-18 17:42:17 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
4c12ee3e30 Fix scope, ressource leaks in boostrap daemon
Reduce scope of config_setting_t *elem

Fix various leaks of files keys_file and pid_file
2014-06-18 23:38:38 +02:00
Jman012
54e8986fcc Included assert.h for Messenger/DHT.c 2014-06-18 14:26:02 -07:00
irungentoo
52710a9526
Merge branch 'sprintf-extra-arg-1' of https://github.com/tux3/toxcore into tux3-sprintf-extra-arg-1 2014-06-18 16:36:41 -04:00
irungentoo
5f06aba419
Merge branch 'tux3-nullptr-1' 2014-06-18 16:36:08 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
13794e00af Comment out extra argument to sprintf 2014-06-18 21:48:36 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
78bd8b3f17 Fix possible nullptr dereferences in toxav/msi.c 2014-06-18 21:33:11 +02:00
irungentoo
888ebea619
Small fixes.
Added toxdns.h include to toxdns.c.

Removed default "Online" status message.
2014-06-17 11:27:57 -04:00
irungentoo
f547ebee64
Merge branch 'ntox' of https://github.com/kitech/toxcore into kitech-ntox 2014-06-16 20:13:22 -04:00
irungentoo
2de0840d8a
The comments say this function only returns -1 on error, fixed that. 2014-06-16 19:32:23 -04:00
irungentoo
6408c406b2
Added more input validation to add_friend functions. 2014-06-16 19:31:39 -04:00
liuguangzhao
f09171b901 fix func proto 2014-06-16 21:38:22 +00:00
irungentoo
881b2d900d
Fixed some warnings. 2014-06-15 20:49:39 -04:00
irungentoo
750c75a47d
Astyled code. 2014-06-15 10:36:57 -04:00
irungentoo
a38d962b04
Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Core into schuetzm-const_correctness 2014-06-15 10:29:13 -04:00
irungentoo
1a3d45f83d
Updated toxdns howto. 2014-06-14 11:38:27 -04:00
irungentoo
d6a9ce3175
Fixed some issues in toxdns and added a test.
Added request_id.

request_id must be obtained with tox_generate_dns3_string, stored,
then passed to tox_decrypt_dns3_TXT when we want to decrypt the
received response.
2014-06-14 11:31:56 -04:00
irungentoo
9c11c15385
Added toxdns.
toxdns currently contains functions to make it easier for clients
to create tox dns3 requests and handle tox dns3 responses: an
encrypted way of querying Tox DNS id servers for Tox ids from
usernames.
2014-06-14 09:54:40 -04:00
Marc Schütz
4940c4c62b Const correctness for various packet callbacks 2014-06-13 22:55:15 +02:00
Marc Schütz
714b2aeaee Const correctness in toxcore/group_chats.c 2014-06-13 22:35:44 +02:00
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