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
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