summaryrefslogtreecommitdiff
path: root/ratox.c
AgeCommit message (Expand)Author
2017-03-10Implement quiet modesin
2017-03-05Fix obtaining of friend status while creating friend.pranomostro
2017-03-05Update docs and fix minor code issue:...Update error messages. NUM/invite now also accepts ID's (not only public keys). The title is now also changed for the changer. pranomostro
2017-03-03Merge branch 'toktok'....This merge updates ratox to toktoks toxcore, which is being developed, and adds groupchats (although lacking audio group chats at the moment). pranomostro
2017-03-03Now aborting when invited to audio conferences.pranomostro
2017-03-03Small fixes....Update type of cookie. Unify error messages. Delete invite-fifo if joining fails. pranomostro
2017-03-02Write call state to the FCALL_STATE filez3bra
2017-03-02Reset INCOMPLETE flag when closing FCALL_INz3bra
2017-03-02Add logmsg() when call goes from RINGING to TRANSMITTINGz3bra
2017-03-02Always append FCALL_IN when in a callz3bra
2017-02-18Fix warnings....The title of a conference is apparently not known immediately after joining the conference, so don't print a warning in confcreate(), just wait for the cbconftitle() callback immediately afterwards. Friends that are not online can't be invited to conferences, logmsg' in that case. Print the name of the conference before messages in cbconfmessage(). pranomostro
2017-02-18Add ability to toggle message logging to stdout in config.h.pranomostro
2017-02-18Update documentation with group-chats.pranomostro
2017-02-18Added ability to change the title of a conference.pranomostro
2017-02-18Finish conferences that can be left, joined, and used for sending messages.pranomostro
2017-02-18Free invite structures after accepting.pranomostro
2017-02-18Remove unnecessary include.pranomostro
2017-02-18Add handling of joining conferences in loop().pranomostro
2017-02-18Added implementations for the different conference callbacks.pranomostro
2017-02-18Incorporated changes from master.pranomostro
2017-01-13Whitespace fix.pranomostro
2017-01-13Remove FOLDER in enum.pranomostro
2017-01-13Removed unneeded whitespace.pranomostro
2017-01-13Remove conference slots as well. Fix some naming.pranomostro
2016-12-31Begin writing functions for the invitation callback.pranomostro
2016-12-29Fixed removal of conference directories and files.pranomostro
2016-12-05Fix typo in error message, update nodes.hpranomostro
2016-12-05Fix possible NULL memcpy() after allocating data.pranomostro
2016-12-02Check data for being NULL instead of intermediate, we did that already.pranomostro
2016-12-02Fix issue with endianness in confcreate().pranomostro
2016-12-01Remove the return value from friendcreate()...It is not used anywhere and it is unlikely that this will change anytime. pranomostro
2016-12-01Data model and adding function for conferences.pranomostro
2016-11-28Remove converting nospam values because toxcore does that for us now.pranomostro
2016-11-28Update to the toktok API.pranomostro
2016-11-25Make ringing delay checks simplerz3bra
2016-11-25Discard sending of the avatar picturesz3bra
2016-11-25Cancel calls ringing longer than RINGINGDELAYz3bra
2016-11-25Hang up only when we're in TRANSMITTING mode...When f->av.state equals TRANSMITTING, it means that we're neither receiving, nor sending data, thus, we can cancel the call. This doesn't apply to RINGING mode because this state is possible when someone calls us, and we didn't answer yet. z3bra
2016-11-25Fix accepting friend requests...Actually passes the friend number returned by tox_friend_add_norequest() to the friendcreate() function. z3bra
2016-11-24Fix tests against friend call statez3bra
2016-11-24Let the caller hang up while call is ringingz3bra
2016-11-24Allocate resources for outgoing call when needed...If we're not initiating the call, we might be in TRANSMITTING mode even if call_in hasn't been openned by the user. In this case, we shouldn't send any data. sednfriendcalldata() should only be called when resources are allocated for an OUTGOING call, which is triggered when the friend accepts audio. z3bra
2016-11-23Make sending only a newline succeed (patch by z3bra).pranomostro
2016-11-23Adjust the types of a few variables where it makes sense, mostly in regard to...pranomostro
2016-11-22Fix issue that prevents correct sending of INCOMPLETE buffers....f->av.state & INCOMPLETE was evaluated as 8, which made the third test always false. pranomostro
2016-11-22Use ternary to prevent passing negative size to fiforead()z3bra
2016-11-22Remove noisy logmsg() / Fix grammarz3bra
2016-11-21Discard buffer if size is bigger than expected sizez3bra
2016-11-21Make sure call is only canceled once...Upon receiving a FINISHED state, the client should consider the call over, and free its local variable. It should NOT try to send a CANCEL signal, as it could try to cancel the call twice, resulting in a double free() that can crash the core. z3bra
2016-11-19Reduce time between sample sending...Start sending the next audio frame before the previous frame is done sending. This is for preventing the peer to receive "blanks" in the audio channel. z3bra