Commit Graph

3036 Commits

Author SHA1 Message Date
irungentoo
c2ae083b0e
Merge branch 'logger_init_fix' of https://github.com/jdp5087/toxcore 2014-12-19 22:00:29 -05:00
irungentoo
1db01073e5
Build system fixes.
libtoxcore.pc now has -lpthread like it's supposed to on systems
where it is needed.
2014-12-18 10:04:31 -05:00
Jon Poler
1fd43b4e81 Merge branch 'master' of https://github.com/irungentoo/toxcore into logger_init_fix 2014-12-18 06:51:28 -05:00
Jon Poler
99ae01174d Removed calloc from logger_init, because the pid was no longer being appended. 2014-12-18 06:40:17 -05:00
irungentoo
9da75d009f
Cut one on one default audio bitrate by half. 2014-12-17 20:52:39 -05:00
irungentoo
ecba631493
Fixed some A/V threading issues.
Audio dropping on video calls issue should no longer happen.
2014-12-16 16:10:48 -05:00
irungentoo
82ba83e526
cs_set_video_encoder_resolution improvements. 2014-12-16 13:10:28 -05:00
irungentoo
d6da08fe9d
Fixed test. 2014-12-15 19:04:56 -05:00
irungentoo
e1a3bb3b2e
DHT fixes.
This should speed up DHT searches.
2014-12-15 16:47:26 -05:00
irungentoo
f9f236248d
Some optimizations on how TCP relays are used. 2014-12-15 15:21:39 -05:00
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
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