summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
AgeCommit message (Collapse)Author
2019-05-30Release 0.2.10Robin Lindén
2019-05-19add configurable limit on number of stored frozen peerszugz (tox)
2019-01-21Specify that buffer size for tox_conference_peer_get_name is given by $sizezugz (tox)
2019-01-12Release 0.2.9Robin Lindén
2019-01-05Expose offline conference peers in APIzugz (tox)
2018-10-07Release 0.2.8Robin Lindén
2018-09-14Standardise header guards.iphydf
Using the full path including the repo name.
2018-08-30Release 0.2.7Robin Lindén
2018-08-26Update copyright to 2018.iphydf
2018-08-16Release 0.2.6Robin Lindén
2018-08-12add callback for successful connection to a conferencezugz (tox)
2018-08-11Add deprecation notice to some UPPER_CASE enums.iphydf
The enumerators won't change, but the type name will change in 0.3.0. Reasoning: - Type names in toxcore start with an uppercase letter and either have at least one lowercase letter in them, or are less than 4 characters long. - Constants consist of 4 or more uppercase letters or underscores. By these rules, "DHT" is a type name, but "TOX_USER_STATUS" is a constant. We provide Tox_User_Status as an alternative for now, and will switch to that in 0.3.0, removing the UPPER_CASE versions.
2018-08-08Release 0.2.5Robin Lindén
2018-08-02Fix problems with initial connections and name-setting in conferenceszugz
* test names in conference_test * raise error on attempt to invite friend to group before we are connected * revise handling of temporary invited connections We are now careful not to prematurely delete a connection to a peer established during the invitation process; namely, before we have sufficient other connections and have confirmed that we have an alternative route to the peer. * process out-of-order messages from a peer * don't reset names when handling a Peer Response
2018-07-28Add `by_id` and `get_id` functions, renaming from `*_uid`.iphydf
`UID` sounds like `User ID`. While it is a Unique ID, the property of an "identifier" is generally that it identifies a unique thing, so the 'U' is redundant, and `GUID` as a globally unique id (which is likely also true for these IDs) has a specific meaning and syntax, so we're not using that. So, we just say conference `id`.
2018-07-20Release v0.2.4Robin Lindén
2018-07-18Correct the max hostname length constant.iphydf
256 bytes including NUL byte is confusing and makes for really annoying bindings to other languages that don't account for NUL bytes in their string length. We pass C strings, not byte arrays, for hostnames, so 255 makes more sense here.
2018-07-13Add conference_by_uid and conference_get_uid functions.iphydf
These are useful once we have persistent group chats, so clients can store data associated with this permanent group identifier.
2018-07-08Clarify the intent of "file kinds" in the API.iphydf
2018-07-05Make tox.c unambiguously parseable.iphydf
Rules: 1. Constants are uppercase names: THE_CONSTANT. 2. SUE[1] types start with an uppercase letter and have at least one lowercase letter in it: The_Type, THE_Type. 3. Function types end in "_cb": tox_friend_connection_cb. 4. Variable and function names are all lowercase: the_function. This makes it easier for humans reading the code to determine what an identifier means. I'm not convinced by the enum type name change, but I don't know a better rule. Currently, a lot of enum types are spelled like constants, which is confusing. [1] struct/union/enum
2018-06-27Add missing MAX_HOSTNAME_LENGTH doc.cotox
2018-06-26Make arg `host` understand clearly.cotox
Rename args `host:port` from `address:port`. The *address* is well known as *Tox Address* in this project. Then we should reserve *addres* to it, and use *host* to express the hostname or IP address in TCP domain.
2018-06-25Release v0.2.3Robin Lindén
2018-06-25Add a MAX_HOSTNAME_LENGTH constant.iphydf
Fixes #946.
2018-06-23Disable UDP when proxy is enabled.iphydf
Currently, toxcore does not support UDP over proxies. In the future, we can relax this by disabling UDP only if the proxy doesn't support it.
2018-04-18Release v0.2.2Robin Lindén
2018-03-09Update version to 0.2.1.iphydf
2018-02-27Remove deprecated conference namelist change callback.iphydf
2018-02-24Fix a bunch of compiler warnings and remove suppressions.iphydf
2018-02-23Add deprecation notices to functions that will go away in v0.3.0.iphydf
2018-02-20Make the "persistent conference" callback changes new functions.iphydf
We can now revert the changes to the callbacks and keep supporting them until clients have moved off them.
2018-02-09Adopt the "change occurred" API change from isotoxin-groupchat.iphydf
The logic and behaviour remain the same, but PEER_EXIT and PEER_JOIN are merged into LIST_CHANGED. This allows clients to take a first step to adapt to the API change without us having to actually submit the full change, yet.
2018-02-02Revert "Add correction message type"Diadlo
This reverts commit e16d3894c5979fcfe1c57bf7dadc455ce690baf9 and commit c5976e37eaadf663dc3d0c18376ea023355048f3.
2018-01-15Add correction message typeDiadlo
2018-01-08Bump toxcore version to 0.2.0.iphydf
We're not releasing yet, but projects preparing for the release will want to build against this version in master.
2017-12-26Release v0.1.11Robin Lindén
2017-08-06Release v0.1.10Robin Lindén
2017-06-06Release v0.1.9Robin Lindén
2017-04-27Release v0.1.8Robin Lindén
2017-04-22Revert "initial version of tox_loop"Maxim Biro
This reverts commit 200ee1cace2f17537e6982ac447ea65d7c7a00b3.
2017-04-22Revert "Implement tox_loop"Maxim Biro
This reverts commit 5ff099763b1f56414572e1c12eb2f003117db5a0.
2017-04-01Implement tox_loopAnsa89
2017-04-01initial version of tox_loopmichael bishop
2017-03-30Add TOX_NOSPAM_SIZE to the public API.iphydf
Fixes #456.
2017-03-26Release v0.1.7Robin Lindén
2017-03-12Fix Travis always succeeding despite tests failingMaxim Biro
2017-01-19Release v0.1.5.iphydf
2017-01-19Update license headers and remove redundant file name comment.iphydf
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project".
2017-01-12Release v0.1.4.iphydf
2017-01-05Release v0.1.3.iphydf