Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-17 | Update the tests so that they send multiple messages and files and also ↵ | pranomostro | |
change the names and statuses. | |||
2016-12-15 | Make tests faster by not starting three different sessions after each other. | pranomostro | |
2016-12-15 | Add tests for ratox, importing z3bra's tests. | pranomostro | |
Add a target check for the makefile for running the tests. | |||
2016-12-02 | Fix issue with endianness in confcreate(). | pranomostro | |
2016-12-02 | Merge branch 'toktok' of git.z3bra.org:ratox into toktok | pranomostro | |
Fix amend commit. | |||
2016-12-02 | Data model and adding function for conferences. | pranomostro | |
2016-12-01 | Data model and adding function for conferences. | pranomostro | |
2016-11-28 | Remove converting nospam values because toxcore does that for us now. | pranomostro | |
2016-11-28 | Update to the toktok API. | pranomostro | |
2016-11-25 | Make ringing delay checks simpler | z3bra | |
2016-11-25 | Discard sending of the avatar pictures | z3bra | |
2016-11-25 | nodegen: Keep only online nodes (.last_ping > 0) | z3bra | |
Updated nodes.h to match this criteria as well | |||
2016-11-25 | Cancel calls ringing longer than RINGINGDELAY | z3bra | |
2016-11-25 | Hang up only when we're in TRANSMITTING mode | z3bra | |
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. | |||
2016-11-25 | Fix accepting friend requests | z3bra | |
Actually passes the friend number returned by tox_friend_add_norequest() to the friendcreate() function. | |||
2016-11-24 | Fix tests against friend call state | z3bra | |
2016-11-24 | Let the caller hang up while call is ringing | z3bra | |
2016-11-24 | Allocate resources for outgoing call when needed | z3bra | |
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. | |||
2016-11-23 | Make sending only a newline succeed (patch by z3bra). | pranomostro | |
2016-11-23 | Adjust the types of a few variables where it makes sense, mostly in regard ↵ | pranomostro | |
to comparisons between signed and unsigned integers. | |||
2016-11-22 | Fix issue that prevents correct sending of INCOMPLETE buffers. | pranomostro | |
f->av.state & INCOMPLETE was evaluated as 8, which made the third test always false. | |||
2016-11-22 | Use ternary to prevent passing negative size to fiforead() | z3bra | |
2016-11-22 | Remove noisy logmsg() / Fix grammar | z3bra | |
2016-11-21 | Discard buffer if size is bigger than expected size | z3bra | |
2016-11-21 | Make sure call is only canceled once | z3bra | |
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. | |||
2016-11-19 | Reduce time between sample sending | z3bra | |
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. | |||
2016-11-19 | Get audio call to work properly | z3bra | |
This commit puts back in place the settings that were previously set regarding audio encoding, preparation of the frame, buffer and so on. These settings used to work great and I modified them without having any clue of how it was working. Now I'm done playing, and it works properly. Hooray. | |||
2016-11-18 | Fixed issue preventing the user to answer calls | z3bra | |
2016-11-18 | Update style for if() conditions | z3bra | |
2016-11-18 | Update audio parameters for the new API | z3bra | |
2016-11-18 | Add a RINGING state for calls | z3bra | |
This helps knowing that a call has been initiated, but not answered yet. We need it because otherwise the state of the FCALL_OUT would not even be evaluated. | |||
2016-11-14 | Remove toxcore submodule | z3bra | |
2016-11-14 | Revert "Compile against local toxcore submodule" | z3bra | |
This reverts commit a1d2b63e6af32685f5828c302a0d3edeeb48090f. Ratox now compiles against the latest version of the API, so there is no need for using a local submodule anymore. | |||
2016-11-10 | Updated nodes.h, small fixes in loop(). | pranomostro | |
2016-11-10 | Express AUDIOBITRATE in kb/s | z3bra | |
2016-11-10 | Retrieve/Send nospam value as little-endian | z3bra | |
For readiness, nospam value is written in big endian in nospam/out. toxcore expect receiving it as little-endian, so we convert it upon calling the nospam get/setter. | |||
2016-11-10 | Remove useless call to FD_CLR() | z3bra | |
This snippet was introduced when the client could send too much data to the core for the transfer. The new toxcore API introduces a callback triggered when the core is ready to send more data. It means we don't need to keep track of a local buffer anymore, and simply read from the file_in FIFO when the core is ready. | |||
2016-11-09 | Fix nospam value endianness | z3bra | |
2016-11-08 | Ensure calls are answered properly | z3bra | |
2016-11-08 | Get rid of 'chunksz' attribute in transfer struct | z3bra | |
2016-11-08 | Handle file transfer in multiple chunks | z3bra | |
2016-11-08 | Various cases of code cleanup: | pranomostro | |
-Fixed memory leak in datasave(). -Made some types more clean, such as using size_t instead of uint32_t and size_t instead of int. -Removed unneccessary length checks | |||
2016-11-08 | Update toxcore to the latest version | z3bra | |
2016-11-08 | Accomodate file transfer callbacks to the new API | z3bra | |
2016-11-08 | Mark transfer as complete as soon as chunk len is 0 | z3bra | |
2016-11-08 | Fix argument passing order of tox_pass_decrypt. | pranomostro | |
2016-11-08 | Pass file number to tox_file_control() | z3bra | |
2016-11-08 | Monitor friends connected either via TCP or UDP | z3bra | |
2016-11-08 | Convert ID string using TOX_PUBLIC_KEY_SIZE | z3bra | |
2016-11-08 | Use av.state to check the current call state | z3bra | |