summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2015-03-12File sending improvements.irungentoo
Use correct double to integer conversion.
2015-03-12File transfer fixes and improvements.irungentoo
2015-03-12Don't assume tox_file_send_chunk() is called in the request chunkirungentoo
callback.
2015-03-12Added position parameter to tox_file_send_chunk().irungentoo
This is done so that the function now has the same parameters as the request chunk callback.
2015-03-12Fixed tox_new issue.irungentoo
2015-03-12tox_new now sets error to TOX_ERR_NEW_PORT_ALLOC when binding to port fails.irungentoo
2015-03-12tox_new() fixes.irungentoo
If data is NULL and length non zero, TOX_ERR_NEW_NULL is set. error is set to TOX_ERR_NEW_LOAD_BAD_FORMAT when load fails.
2015-03-11 This is a combination of 11 commits.Dubslow
The first commit's message is: TOX_STATUS -> TOX_USER_STATUS, is more specific This is the 2nd commit message: I pretty strongly believe tox_iteration needs to be renamed to a verb There are several other noun functions in the API, but none of them *do* things. I think even tox_do is better than tox_iteration. tox_do_interval is one possibility, but I'm open to suggestions. This is the 3rd commit message: private_key -> secret_key This is more consistent with modern/NaCl/elliptic cryptography, and also "pk", meaning public key, is all over other toxcore code and documentation. This will eliminate ambiguity. This is the 4th commit message: Rename some functions for pseudo-namespace consistency The enum change results in long enum types, but I think consistency trumps having a few less characters. This is the 5th commit message: TOX_FILE_KIND -> TOX_FILE_TYPE This is more of an English thing than a consistency thing, but TOX_FILE_KIND sounds funnier/stranger to me than TOX_FILE_TYPE. This is the 6th commit message: More specific file control function names This is the 7th commit message: Rename custom packet functions for pseudo-namespace consistency This also has the issue with long enums... but I still think consistent enum names are better This is the 8th commit message: Rename functions for pseudo-namespace consistency This is the 9th commit message: Consistency with https://github.com/sonOfRa/tox4j/blob/master/doc/core-design.md#naming-conventions and the rest of the api This is the 10th commit message: Fix errors in previous function rename commits This is the 11th commit message: Shorten one error enum name
2015-03-11tox_callback_connection_status() implemented.irungentoo
Attempted fix of connection checking to make it more stable.
2015-03-11Use .h for tox_old instead of .c to not break some of my build commands.irungentoo
2015-03-11Implemented the 3 low level network information functions.irungentoo
Added tox_get_udp_port() to tests.
2015-03-10Added group chat functions to the public api.irungentoo
Since the functions are not new api like I put them in tox_old.{c,h}
2015-03-10Implementation of new api file transfers.irungentoo
Everything should work except resuming.
2015-03-09Updated new_filesender function in Messenger.cirungentoo
2015-03-09Fixed case where a recv and a sending file would have the same number.irungentoo
recv file numbers are now (file num in packet + 1) << 16
2015-03-08Merge branch 'worfox-new_api' into new_apiirungentoo
2015-03-07Change LOGGER_DEBUG to LOGGER_ERROR for fail bindChristoffer Sterner
2015-03-07Change fprintf debug into LOGGER_DEBUG for consistencyChristoffer Sterner
2015-03-07Fixed debug fprintf.irungentoo
2015-03-06Updated File request packet to new format.irungentoo
[uint8_t packet_id (PACKET_ID_FILE_SENDREQUEST)][uint8_t file_number] [uint32_t type][uint64_t file_size][filename (currently max 255 bytes)] recv file numbers are << by 16 to distinguish them from sending files.
2015-03-05enums are no longer typedefed to uint8_t.irungentoo
2015-03-05Code cleanups.irungentoo
Fixed wrong variable used, removed useless elements of struct.
2015-03-04Removed useless TODO comments.irungentoo
2015-03-02Merge branch 'port_range_option' of https://github.com/saneki/toxcore into ↵irungentoo
new_api
2015-03-01Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_apiirungentoo
2015-02-27Removed backwards compatibility code from core.irungentoo
That function should be static.
2015-02-27Realign toxencryptsave with new APIDubslow
2015-02-27Allow for specifying the port range to use in Tox_Optionssaneki
2015-02-26Implemented custom packet functions in new api.irungentoo
2015-02-26Added different error codes for custom packet functions in Messenger.irungentoo
2015-02-26Changes to custom packet functions in Messenger.irungentoo
Added function for rtp A/V packets, modified functions to behave correctly for the new api.
2015-02-25Ported some tests to the new api.irungentoo
2015-02-25Fixed bug.irungentoo
2015-02-24Remove avatar stuff from Messenger.irungentoo
The new api sees avatars as a different type of file transfer.
2015-02-23Use edge trigger on listen socket in TCP_Server.irungentoo
This may or may not improve things.
2015-02-22When socket dies, kill it.irungentoo
Use epoll to detect when socket closed connection.
2015-02-21Fixed possible TCP server bug.irungentoo
Function returned success when should have returned failure.
2015-02-20Implemented callbacks.irungentoo
2015-02-20Implemented message send functions in public api.irungentoo
Internal message functions now return better error codes.
2015-02-20Merge branch 'fixed-receipts' into new_apiirungentoo
2015-02-19Tox connection function and callback should now work as expected.irungentoo
Changes in Messenger to call the callback every time the connection type changes from TCP to UDP.
2015-02-19Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_apiirungentoo
2015-02-19Typing and status functions implemented.irungentoo
2015-02-18Put const adjective before type nounsDubslow
(Done with two applications of "sed -i -r "s/(\\w+) const\\b/const \\1/g" toxcore/tox.*" ) Conflicts: toxcore/tox.c
2015-02-18use bool in is typing callback.irungentoo
2015-02-18Apparently enums are bad for wrappers and doing this makes wrappingirungentoo
toxcore easier.
2015-02-17More new api functions implemented.irungentoo
Some small self explainatory changes to the api.
2015-02-17Updated types in Messenger callbacks to fit with the ones in the new api.irungentoo
Friend number changed from int32_t to uint32_t. Some lengths changed to size_t.
2015-02-17Fixed friend_not_valid function.irungentoo
It now returns if friend is valid or not not only if memory location is valid.
2015-02-17Messenger add friends functions error code fixes.irungentoo
Removed unknown error. norequest function now returns proper error codes.