Commit Graph

3228 Commits

Author SHA1 Message Date
irungentoo
7425a0dd09
Increased max TCP connections. 2014-12-15 14:14:22 -05:00
irungentoo
3516a0194c
Fixed DHT doc. 2014-12-14 20:38:06 -05:00
irungentoo
015a8b7d75
Sendback data size is always 8 bytes. 2014-12-14 20:33:31 -05:00
Maxim Biro
377da127a1 Added HTTP proxy support 2014-12-13 23:59:50 -05:00
irungentoo
6f3312c137
More group auto testing. 2014-12-13 21:56:36 -05:00
irungentoo
7d4489b872
Merge branch 'mem-leak-fix' of https://github.com/nurupo/InsertProjectNameHere 2014-12-12 20:56:19 -05:00
irungentoo
4e1e3150d3
Fixed memory leaks. 2014-12-12 20:55:43 -05:00
Maxim Biro
05cc7df031 Fixed a memory leak 2014-12-12 20:41:27 -05:00
irungentoo
129f620fa5
Increase video quality and distance between keyframes. 2014-12-12 19:55:47 -05:00
irungentoo
39cc14ccea
Make the maximum size of the jbuf at least 4 times the capacity.
Should prevent issues that might occur because a different thread is
reading it.
2014-12-12 18:39:39 -05:00
irungentoo
71527c436c
Having two buffers for audio isn't really good. 2014-12-12 18:35:52 -05:00
irungentoo
12f396fcc2
Fixed video packet assembling.
Video should look better now.
2014-12-12 17:47:57 -05:00
irungentoo
36851e7b38
Test if everything goes well when a peer leaves the group chat. 2014-12-11 20:10:57 -05:00
irungentoo
d7f5713277
Fixed crash when connection was killed during the packet callback. 2014-12-11 13:54:55 -05:00
irungentoo
4eeeb8e9ab
Added a tox_add_friend auto test. 2014-12-10 12:12:37 -05:00
irungentoo
13dd76995f
Add define for the maximum length of the friend request to the public api. 2014-12-10 09:07:09 -05:00
irungentoo
4ec9295259
Fixed tox_test.c 2014-12-09 18:13:39 -05:00
irungentoo
7d27893f1a
Merge branch 'more_consistent_custom_packet_handlers' of https://github.com/wrouesnel/toxcore 2014-12-09 16:39:52 -05:00
Will Rouesnel
d595a28b49 Patch auto_tests/tox_test.c with the new prototype 2014-12-09 11:00:24 +11:00
Will Rouesnel
8a56cb3b58 Change prototype for custom_packet_handler functions
Change the custom_packet_handler callback function interface to be
consistent with other callback interfaces.

The new interface takes the Messenger object calling as the first
parameter, and moves the user data object to be the last parameter. 

This makes it comparable to the callbacks for file transfer and the
like, and should simplify building interfaces.

The new prototype is: int (*)(Messenger *m, int32_t friendnumber, const
uint8_t *data, uint32_t len, void *object)
2014-12-09 07:51:49 +11:00
irungentoo
668ab80a49
Restore compatibility with older group chats. 2014-12-08 13:51:07 -05:00
irungentoo
7e8ab1b8fe
Delete close connection when peer leaves chat. 2014-12-08 13:50:38 -05:00
irungentoo
af0d6c0695
Fixed possible issue with wrong size being passed to opus_decode(). 2014-12-07 18:23:55 -05:00
irungentoo
2bb1549bc9
Group stability fixes. 2014-12-06 21:56:06 -05:00
irungentoo
422f228921
Test now works with large groups. 2014-12-05 22:37:02 -05:00
irungentoo
5112156953
Added basic group message test. 2014-12-05 21:39:46 -05:00
irungentoo
035cd7ece3
Added simple group auto test. 2014-12-04 20:54:59 -05:00
irungentoo
f1db6e7d6c
Merge branch 'patch-2' of https://github.com/Aaron1011/toxcore 2014-12-03 19:39:08 -05:00
irungentoo
4994d28f9b
Merge branch 'Aaron1011-patch-1' 2014-12-03 19:38:41 -05:00
Aaron1011
3489e33010 Fix usage of 'have' versus 'has' 2014-12-03 15:29:09 -05:00
Aaron1011
7dec6d0e04 Fix typo 2014-12-03 15:19:58 -05:00
irungentoo
f6b3e6e8fe
Fixed possible threading issues. 2014-12-03 14:41:01 -05:00
irungentoo
475c157d68
Fixed possible threading issue. 2014-12-03 14:22:41 -05:00
irungentoo
4a27f61956
Fixed possible threading issue. 2014-12-03 14:02:43 -05:00
irungentoo
d8a8e8b982
Fixed possible threading issues. 2014-12-03 13:58:50 -05:00
irungentoo
be9c6f88d3
Fixed possible threading issue. 2014-12-03 13:52:18 -05:00
irungentoo
607003509b
Fixed bug where group chat would see connection as offline when it was online.
Clarified something in the docs.
2014-12-02 19:35:54 -05:00
irungentoo
505bab76bd
Only copy when pointer isn't NULL in get_friendcon_public_keys(). 2014-12-02 19:02:02 -05:00
irungentoo
2ef9ef5d43
Comment fix. 2014-12-01 20:33:49 -05:00
irungentoo
b52de10dab
Groupchat stability fixes.
Query for peers if we were connected to nobody for some reason.
2014-12-01 20:18:01 -05:00
irungentoo
b58fb09ddc
Removed useless code. 2014-12-01 20:12:12 -05:00
irungentoo
a6e1a74779
Prevent joining groupchat more than once. 2014-12-01 19:39:10 -05:00
irungentoo
8e2b8d468a
Group chats should be less likely to break. 2014-12-01 18:06:45 -05:00
irungentoo
15b73db70c
Joining a group chat should be more reliable.
Only disconnect from the friend we used to join when we are connected
to at least 3 other people.
2014-11-30 21:01:36 -05:00
irungentoo
ee0f06937f
Check if key file was opened correctly in DHT_bootstrap.c
Warn the user if it wasn't.
2014-11-29 23:45:32 -05:00
irungentoo
1c3f88758d
Jbuff fixes. 2014-11-29 16:13:50 -05:00
irungentoo
e254c4fe3e
Fixed bug where video didn't work anymore.
Some other cleanups.
2014-11-29 16:09:50 -05:00
irungentoo
8deb032b2d
Merge branch 'mutex-1' of https://github.com/mannol/toxcore 2014-11-29 16:09:24 -05:00
mannol
e62ded3a6d More av cleanup 2014-11-29 13:42:19 +01:00
irungentoo
eafe0e6b0b
Merge branch 'myroslav-patch-1' 2014-11-28 17:06:52 -05:00