Commit Graph

3002 Commits

Author SHA1 Message Date
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
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
Myroslav Opyr
975ce25af0 Fedora package name correction 2014-11-28 23:43:38 +02:00
irungentoo
db68c6eff6
Fixed toxav issues. 2014-11-28 13:10:27 -05:00
irungentoo
767c0653bd
Attempted fix of threading issue in test. 2014-11-27 21:08:01 -05:00
irungentoo
d6f733c7e6
Actually fixed build issue. 2014-11-26 16:17:29 -05:00
irungentoo
61949ec07b
Merge branch 'sodium-check' of https://github.com/jin-eld/ProjectTox-Core 2014-11-26 16:10:12 -05:00
irungentoo
df85f72b76
Merge branch 'patch-1' of https://github.com/her001/toxcore 2014-11-26 16:04:19 -05:00
irungentoo
ed80c43e49
Fixed build issue. 2014-11-26 16:03:22 -05:00
Andy Conrad
b19d4ed667 Fix link in TODO 2014-11-26 01:07:27 -06:00
Jin^eLD
c319172610 Added check to ensure that the available libsodium library is compatible
Tox now uses some crypto_pwhash functions that are only available in the
newer libsodium releases; check this in configure to prevent compile
time errors.
2014-11-26 01:00:15 +01:00
irungentoo
00b511ed98
Merge branch 'Impyy-fix-english' 2014-11-25 18:29:00 -05:00
Imperative
6cff9ecf73 Forgot to replace this 2014-11-26 00:26:03 +01:00
Imperative
580c4a60df Fixed some fatal spelling mistakes 2014-11-26 00:19:57 +01:00
irungentoo
a7a225d1d6
Fixed threading issues in toxcore. 2014-11-25 17:23:26 -05:00
irungentoo
6e361a52fb
Fixed integer rollover bug in toxav. 2014-11-25 17:22:44 -05:00
irungentoo
89f2436fac
Astyle autotests. 2014-11-25 15:31:46 -05:00
irungentoo
28ffa035cb
Fixed possible issue. 2014-11-25 15:31:21 -05:00
irungentoo
279c33c01a
Merge branch 'master' of https://github.com/mannol/toxcore 2014-11-24 20:24:59 -05:00
irungentoo
c67bc3399f
Removed some no longer promising clients from the TODO. 2014-11-23 12:18:10 -05:00
irungentoo
3ba48033f6
Updated TODO. 2014-11-23 08:40:59 -05:00
irungentoo
49f4583bc1
Enable use of lower sample rates for group chats. 2014-11-22 16:40:25 -05:00
irungentoo
6bbb939855
Cleaned up packet length types in toxcore.
They are now all uint16_t instead of sometimes being uint32_t.

Replaced some other uint32_t with unsigned ints.
2014-11-21 20:18:29 -05:00
irungentoo
e74225039e
Merge branch 'peerpk' of https://github.com/dubslow/toxcore 2014-11-21 08:22:29 -05:00
irungentoo
057f08fb13
Tox clients now should show they are offline with much better precision. 2014-11-20 21:30:16 -05:00
irungentoo
1ef2092bcc
Fixed small issue where group audio would jumble up sometimes at start of stream. 2014-11-20 18:05:52 -05:00
dubslow
6a52b3cb6c get peer pubkey api 2014-11-19 20:36:09 -06:00