Age | Commit message (Expand) | Author |
2017-11-09 | Simplified unnecessary switch statement. | pranomostro |
2017-07-09 | Clarified error message for missing flag. | pranomostro |
2017-07-09 | Make the behaviour symetric....Since ratox writes to text_out in friend conversations, this should also
happen in conferences.
| pranomostro |
2017-07-09 | Print own messages to FTEXT_OUT....Print own messages to FTEXT_OUT as well,
for compatability with lchat (own messages
just vanish if they are not reprinted in
one of these files).
| pranomostro |
2017-06-03 | Add argument to %s substitution, check lseek return value, simplify error code. | pranomostro |
2017-06-03 | Add connecting to tcp relays by default....I'm currently staying in India, and strangely enough ratox
could not connect using tox_bootstrap(). It would just
continue attempting to connect until the end of time.
Using tox_add_tcp_relay() additionally fixes this isssue.
It is also the strategy utox uses:
https://github.com/uTox/uTox/blob/49bc764d23a02ab8286ef6f2085e8e592bccde1e/src/tox.c#L137
Also, nodes.h needed to be regenerated for using
tcp ports and relays.
| pranomostro |
2017-05-15 | Major error message overhaul....eprintf() is used with only the function name that failed
(and possibly a parameter) and then exits. Example:
eprintf("read %s:", f->name);
weprintf() is used when another function failed, but the
program does not exit. The error message is a sentence.
Example: weprintf("No friend with id %s found for %s\n", buf, c->numstr);
logmsg() is not used when anything failed, it is just for
displaying useful information for the user. There should be
three logmsg formats:
The first format consists of the area the logmsg() is concerned
with, for example "Name", followed by a ">" sign, and then
followed by the change within that area.
This format deals with non-group and non-friend specific changes.
Example: logmsg("State > %s\n", buf);
The second format displays friend-specific information. It
consists of a colon, followed by the friend name, followed by
another colon, followed by the value that was changed and then
the change itself.
Example: logmsg(": %s : Rx > Accepted\n", f->name);
The third format is similar to the second one, it consists of
a dash ("-"), followed by a conference number, a colon,
followed by the value that was changed and then the change itself.
This format tells the user about conference-specific changes.
Example: logmsg("- %s : Title > %s\n", c-numstr, title);
Errors when trying to change something in the gslots are written
with dprintf into the gslots .fd[ERR] and with weprintf() on
the screen.
This commit and the last one are attempts at implementing these rules.
| pranomostro |
2017-05-15 | Fix indentation mistake. | pranomostro |
2017-05-15 | Now writing more errors to gslots. | pranomostro |
2017-05-15 | Update API so that conf/in accepts flags for the conference type. | pranomostro |
2017-03-10 | Implement quiet mode | sin |
2017-03-05 | Fix obtaining of friend status while creating friend. | pranomostro |
2017-03-05 | Update 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-03 | Merge 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-03 | Now aborting when invited to audio conferences. | pranomostro |
2017-03-03 | Small fixes....Update type of cookie.
Unify error messages.
Delete invite-fifo if joining fails.
| pranomostro |
2017-03-02 | Write call state to the FCALL_STATE file | z3bra |
2017-03-02 | Reset INCOMPLETE flag when closing FCALL_IN | z3bra |
2017-03-02 | Add logmsg() when call goes from RINGING to TRANSMITTING | z3bra |
2017-03-02 | Always append FCALL_IN when in a call | z3bra |
2017-02-18 | Fix 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-18 | Add ability to toggle message logging to stdout in config.h. | pranomostro |
2017-02-18 | Update documentation with group-chats. | pranomostro |
2017-02-18 | Added ability to change the title of a conference. | pranomostro |
2017-02-18 | Finish conferences that can be left, joined, and used for sending messages. | pranomostro |
2017-02-18 | Free invite structures after accepting. | pranomostro |
2017-02-18 | Remove unnecessary include. | pranomostro |
2017-02-18 | Add handling of joining conferences in loop(). | pranomostro |
2017-02-18 | Added implementations for the different conference callbacks. | pranomostro |
2017-02-18 | Incorporated changes from master. | pranomostro |
2017-01-13 | Whitespace fix. | pranomostro |
2017-01-13 | Remove FOLDER in enum. | pranomostro |
2017-01-13 | Removed unneeded whitespace. | pranomostro |
2017-01-13 | Remove conference slots as well. Fix some naming. | pranomostro |
2016-12-31 | Begin writing functions for the invitation callback. | pranomostro |
2016-12-29 | Fixed removal of conference directories and files. | pranomostro |
2016-12-05 | Fix typo in error message, update nodes.h | pranomostro |
2016-12-05 | Fix possible NULL memcpy() after allocating data. | pranomostro |
2016-12-02 | Check data for being NULL instead of intermediate, we did that already. | pranomostro |
2016-12-02 | Fix issue with endianness in confcreate(). | pranomostro |
2016-12-01 | Remove the return value from friendcreate()...It is not used anywhere and it is unlikely that this will
change anytime.
| 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 | Cancel calls ringing longer than RINGINGDELAY | z3bra |
2016-11-25 | Hang 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-25 | Fix accepting friend requests...Actually passes the friend number returned by tox_friend_add_norequest()
to the friendcreate() function.
| z3bra |
2016-11-24 | Fix tests against friend call state | z3bra |