Carlin
7db063e93d
do not check for librt on OpenBSD
...
clock_gettime is in OpenBSD's libc
2015-04-09 03:57:07 +12:00
irungentoo
083bfdd25a
Use define instead of 0.
2015-04-04 19:21:51 -04:00
irungentoo
b279a4a883
Fixed offline callback being called when connection timed out and died
...
without ever actually being connected.
2015-04-03 17:20:20 -04:00
irungentoo
62dad7b3f7
File transfer fixes.
...
Don't allow non transferring files to be paused and then resumed
starting the file transfer.
2015-04-03 17:16:36 -04:00
irungentoo
6315ff2362
Attempted fix of on off UDP connection causing toxcore to disconnect from
...
the friend.
2015-04-03 14:29:58 -04:00
irungentoo
5593d7318a
Merge branch 'last_online' of https://github.com/JFreegman/toxcore
2015-04-02 22:06:00 -04:00
Jfreegman
856fb583ed
API function to get last seen timestamp of friend
...
also removed remnants of the no longer used variable ping_lastrecv
2015-04-02 21:53:24 -04:00
irungentoo
abff31d2ad
Merge branch 'master' of https://github.com/dubslow/toxcore
2015-04-01 19:57:31 -04:00
Dubslow
36ed4956fd
Enough pestering me please
2015-04-01 15:28:39 -05:00
irungentoo
a2df5f2f57
Increased max possible amount of TCP connections in TCP server when using epoll.
2015-04-01 13:31:28 -04:00
Dubslow
f7beee495e
Make keys into a struct for more programmer safety
2015-03-31 21:16:04 -05:00
Dubslow
9b66c57bd0
Fix minor code duplication
2015-03-31 19:30:09 -05:00
irungentoo
a47fad15e0
Merge branch 'comment-fix' of https://github.com/JFreegman/toxcore
2015-03-31 19:45:25 -04:00
irungentoo
99e0fde297
Merge branch 'master' of https://github.com/dubslow/toxcore
2015-03-31 19:44:51 -04:00
Jfreegman
c7276ac7bb
Amend comments to reflect undefined filenumber and friendnumber behavior
2015-03-31 19:43:44 -04:00
Dubslow
e998aca8f7
Fix toxencryptsave to be consistent with new_api
...
Upon my own decision, the two tox_encryped_new convenience functions were removed due to basically needing two different sets of error codes.
At iphydf's suggestion the corresponding tox_get_encrypted_savedata convenience functions were removed as well.
2015-03-31 18:31:23 -05:00
irungentoo
48249360dc
Removed unused variable.
2015-03-30 20:58:43 -04:00
irungentoo
4e94a45af2
Merge branch 'tox_friend_delete_additinal_documantation' of https://github.com/Raffinate/toxcore
2015-03-29 13:17:33 -04:00
irungentoo
abff19fdcc
Increase thread safety.
...
randombytes() doesn't seem to have any real speed disadvantage.
Also makes people who think nonces need to be random happy.
2015-03-29 13:14:13 -04:00
Aleksey Mokhovikov
eedf26a36d
Additional description for tox_friend_delete.
2015-03-29 17:59:44 +06:00
irungentoo
212bbf2129
Merge branch 'master' of https://github.com/stqism/ToxCore
2015-03-28 21:44:09 -04:00
irungentoo
1d583fa111
Fixed file transfer bug.
...
This should have been at the beginning of the loop, not the end.
2015-03-27 21:49:11 -04:00
irungentoo
725a52851d
Comment fix.
2015-03-27 10:51:50 -04:00
irungentoo
06b389ea5e
Making tox_encrypted_new() use the same error codes as tox_new was a bad idea.
...
They now have their own error codes.
2015-03-26 12:39:09 -04:00
Sean
c59a6d48ac
Revert "Update documentation link"
...
This reverts commit e294faeb4d
.
2015-03-25 23:55:20 -07:00
irungentoo
e888b89ac9
Merge branch 'patch-3' of https://github.com/urras/toxcore
2015-03-25 20:38:34 -04:00
irungentoo
2cafa4a089
Merge branch 'master' of https://github.com/beemaster/toxcore
2015-03-25 20:37:56 -04:00
Nick Hovaker
e294faeb4d
Update documentation link
2015-03-25 12:30:25 -04:00
irungentoo
7001aa5dd0
Removed old avatar doc.
2015-03-25 10:30:01 -04:00
Roman Pasichnyk
7d061e8d57
If length is 0, data should be ignored.
2015-03-25 08:41:01 +01:00
irungentoo
45858e2678
Comment fix.
2015-03-24 16:58:09 -04:00
irungentoo
6454552de8
tox.h comment fix.
2015-03-23 19:05:05 -04:00
irungentoo
12c7c9130f
Changed the share relay packet id.
2015-03-23 17:05:35 -04:00
irungentoo
3fab804098
Merge branch 'new_api'
2015-03-23 16:57:34 -04:00
irungentoo
47d1c1db7e
Added some more checks for file packets.
2015-03-23 16:56:56 -04:00
irungentoo
8aaddd729c
Merge branch 'anuragagarwal561994-documentation-error' into new_api
2015-03-22 19:57:05 -04:00
Anurag Agarwal
4c664fd07a
Fixes #1298
2015-03-22 20:36:44 +05:30
Anurag Agarwal
19d2f4db98
Fixes #1297
2015-03-22 20:26:21 +05:30
Anurag Agarwal
79cbad38d0
Fixes #1296
2015-03-22 20:18:47 +05:30
irungentoo
b0983104d5
Renamed tox_file_send_control to tox_file_control.
...
Renamed tox_file_send_seek to tox_file_seek.
2015-03-21 08:58:54 -04:00
irungentoo
8c2347222a
Transfers with filelength == 0 now behave exactly like transfers of every
...
other size (except streaming of course).
2015-03-21 08:35:31 -04:00
irungentoo
f2a017c055
Allow sending of file transfer requests with length 0 but don't allocate
...
any file number for them in core.
These can be used to tell friends we don't have an avatar set or to unset
a set avatar.
2015-03-20 21:15:44 -04:00
irungentoo
b1ec157175
For file transfers UINT64_MAX is now used as the size for streaming
...
transfers instead of 0.
For avatar transfers file size 0 now means that the client has no avatar
set.
Added a test for streaming transfers.
2015-03-20 20:12:07 -04:00
irungentoo
8c18dd42a7
Fix build warning.
2015-03-19 18:17:27 -04:00
irungentoo
2b2c9f37a6
Fixed group audio issues when getting an old audio packet.
2015-03-19 18:02:46 -04:00
irungentoo
4d242231a8
Merge branch 'dubslow-two_more_rename' into new_api
2015-03-19 17:17:24 -04:00
Dubslow
d8da9bf709
callback_file_request_chunk -> callback_file_chunk_request
...
A couple of minor reasons, combined warrant a PR imo:
a) fileChunkRequested is a better signal name than fileRequestChunkReceived, and I don't want to break consistency by reordering words for just this signal
b) "request chunk" is parsed by English speakers as a verb-object combination,
implying sending the request, not receiving, whereas "chunk requested" is
parsed (more correctly) as an adjective-noun combo (in particular, request is
a noun not a verb), and thus reads far more like "hey heads up we just got a request"
For instance some tests/testing code had some callbacks to *receive* chunk requests, and they were called "tox_file_request_chunk"... to receive a chunk, not request it. Now they're called "tox_file_chunk_request".
So yeah...
2015-03-19 08:38:27 -05:00
irungentoo
e0bd6ef4e0
Renamed TOX_MESSAGE_TYPE_MESSAGE to TOX_MESSAGE_TYPE_NORMAL.
2015-03-18 17:14:57 -04:00
irungentoo
45cf8a744c
Merge branch 'one_more_rename' of https://github.com/dubslow/toxcore into new_api
2015-03-18 16:15:36 -04:00
irungentoo
dc60d98ff1
Removed TOX_USER_STATUS_INVALID.
2015-03-18 15:47:09 -04:00