Commit Graph

3754 Commits

Author SHA1 Message Date
irungentoo
efea858c91
Make it possible to port clients to the new api by just replacing
proxy_enabled with proxy_type.
2014-12-26 20:33:34 -05:00
irungentoo
c2e394c5c2
Fixed bug with auto tests and cleaned up the code a bit. 2014-12-26 20:12:51 -05:00
irungentoo
fe57a72659
Merge branch 'http-proxy-feature' of https://github.com/nurupo/InsertProjectNameHere 2014-12-26 19:38:19 -05:00
irungentoo
a4f0b65ad7
Fixed bug.
Set friend in onion as offline when friend goes offline.
2014-12-25 15:10:47 -05:00
irungentoo
895f269285
Onion client improvements.
Put bootstrap nodes in a separate list than known good nodes.
2014-12-25 15:04:31 -05:00
irungentoo
18b45ffade
Add function to get nodes from onion path. 2014-12-25 15:01:12 -05:00
irungentoo
d8b0d2e19b
Don't populate path nodes too much. 2014-12-24 10:02:53 -05:00
irungentoo
eb033755a0
Merge branch 'instructions' of https://github.com/zetok/ProjectTox-Core 2014-12-23 20:28:08 -05:00
Zetok Zalbavar
3bd983ff62
Update INSTALL.md
pkg-config is required for proper autodetection of opus and vpx,
without it they are not detected by ./configure on Debian 7.
2014-12-23 16:11:15 +00:00
irungentoo
15077f2981
Improved detection of dead paths. 2014-12-22 22:53:17 -05:00
irungentoo
dd59d99a7a
Fixed bug in tox_load where names of size TOX_MAX_NAME_LENGTH didn't
load.
2014-12-21 22:12:12 -05:00
Maxim Biro
35602e12c0 Further refactoring of proxy code 2014-12-21 21:00:46 -05:00
Maxim Biro
e9bf38499e Some refactoring of proxy code 2014-12-21 19:59:00 -05:00
irungentoo
d1eb793a9c
auto test group titles. 2014-12-20 23:12:43 -05:00
irungentoo
3ce743fa9d
Merge branch 'cscope.files' of https://github.com/jdp5087/toxcore 2014-12-19 22:04:16 -05:00
irungentoo
c2ae083b0e
Merge branch 'logger_init_fix' of https://github.com/jdp5087/toxcore 2014-12-19 22:00:29 -05:00
Jon Poler
098373311d Added cscope.files to .gitignore 2014-12-19 11:59:20 -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
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