Age | Commit message (Expand) | Author |
2014-10-13 | Fortify error-checks and FSM...Basically the direct calls to cancelcall() should be minimized
and only set off in a callback.
Additionally, tweak other error-cases and don't always quit fatally
but instead provide ways to get out of an error-condition.
| FRIGN |
2014-10-13 | Finish cleaning up av-callbacks...Now it's fun again to work with the code.
| FRIGN |
2014-10-12 | Further simplify call-start-callbacks...using the udata-void pointers to pass data as a source of information.
| FRIGN |
2014-10-12 | Use (void *userdata) in callbacks and drop ringing-callback...This saves a lot of LOC and is definitely easier to maintain.
| FRIGN |
2014-10-12 | Fix vertical spacing | sin |
2014-10-12 | We might eventually have logerr() and logwarn() | sin |
2014-10-12 | tox_is_data_encrypted() was renamed to tox_is_save_encrypted() | sin |
2014-10-12 | Add stricter error-checking...In upcoming commits, these errors will be incorporated into the
logging-system, so they don't look so out of place when issued.
| FRIGN |
2014-10-10 | Don't spin on request/out/<ID> if we echo anything other than '0' or '1' | sin |
2014-10-09 | Fix request- and friend-management...When you got a request, but not accepted it via request/out/... and
instead sent a request yourself, it would not remove the FIFO.
This patch fixes this behaviour by iterating through the request-
list and removing the FIFO if it's still existing.
Additionally, actually make it possible to reject requests and
re-add your friends later by managing the internal tox-state
properly.
| FRIGN |
2014-10-08 | Style fix...Similar style as for detecting broken file transfers.
| sin |
2014-10-08 | Don't close a random fd...if (f->rxstate == TRANSFER_INPROGRESS &&
(fd = openat(f->dirfd, ffiles[FFILE_OUT].name, ffiles[FFILE_OUT].flags, 0666)) == -1 &&
errno == ENXIO) {
...
} else {
close(fd); <--- not always appropriate!
}
| sin |
2014-10-08 | Do a toxav_hangup() like we do elsewhere...This will trigger the callback and reset toxav internal states
accordingly. In the callback we actually call cancelcall().
| sin |
2014-10-08 | Fix file-transfers | sin |
2014-10-08 | Check outfiles if they are still open...If not, abort receiving.
| FRIGN |
2014-10-08 | Check if the call id is valid before cancelling it | sin |
2014-10-08 | Fix build on kfreebsd | Kill Your TV |
2014-10-08 | Rework state management for audio calls...No need to try to keep local state, just use toxav_get_call_state().
We now can auto-accept calls by pre-attaching on the call_out FIFO.
| sin |
2014-10-08 | A bit more consistent output message | sin |
2014-10-08 | Implement peer timeout | sin |
2014-10-08 | Release call resources with toxav_kill_transmission()...Reject calls on both sides to reset states. This still needs
to be tested to see if there's any effect of doing that.
| sin |
2014-10-08 | Remove debug printf() | sin |
2014-10-07 | Simplify user state tracking | sin |
2014-10-07 | Refactor user-state-logic | FRIGN |
2014-10-07 | Rename ustatus to ustate | sin |
2014-10-07 | Correctly inform external scripts of an invalid user state | sin |
2014-10-07 | Add support for changing the user state and reporting friend's user state | sin |
2014-10-07 | Allocate enough memory to allow copying all the friends | sin |
2014-10-07 | Send the actual message when initiating the friend request | sin |
2014-10-07 | Fix possible stack corruption when parsing friend IDs | sin |
2014-10-07 | Reset fd offset when writing out | sin |
2014-10-06 | Nuke leading space | sin |
2014-10-06 | Reset state after hangup | sin |
2014-10-06 | Re-order function decls | sin |
2014-10-06 | Allow to attach aplay after we've initiated a call | sin |
2014-10-05 | Factor out check for NULL frame | sin |
2014-10-05 | Allow simultaneous tx/rx call | sin |
2014-10-05 | Clean up calls on shutdown | sin |
2014-10-05 | Properly hang up initiating calls | sin |
2014-10-05 | Fix timing issue...I don't know why I missed that
1) of course we have to check tv_sec, not tv_nsec
2) when we do a nanosleep, but use the "now"-val for the lastsent-
time, we obviously keep the wrong time.
This leads to the program thinking more time elapsed than really
has, leading to less nanosleep and thus higher playback-speed.
Now this is fixed, and apart from state-transition issues,
call-receiving now works perfectly. ;)
| FRIGN |
2014-10-05 | Fix units (us -> ms)...Got off a factor of a thousand, this would've never worked.
Now it should handle the calls properly.
| FRIGN |
2014-10-05 | Style fix | sin |
2014-10-05 | Add sample-timer for calls | FRIGN |
2014-10-04 | Minor stylistic changes | sin |
2014-10-04 | Add initial outgoing call-support...This works, but the audio is a bit muffled up, which takes some
fine-tuning.
Also, not all state-transitions are yet taken into account.
| FRIGN |
2014-10-03 | Default to 0666 perms | sin |
2014-10-03 | Clarify semantics | sin |
2014-10-03 | Put configurable stuff in config.def.h | sin |
2014-10-03 | Up max number of calls | sin |
2014-10-03 | Fix broken build | sin |