Age | Commit message (Expand) | Author |
---|---|---|
2014-09-29 | Remember volatile | sin |
2014-09-29 | Small refactor in printrat()...Don't use 3 printf's when 1 is possible. | FRIGN |
2014-09-29 | Implement fiforeset()...and use it to create FIFOs by not closing the passed fd when it is -1. To prevent stdin from being closed, we could think about changing the condition to if(*fd > 0). | FRIGN |
2014-09-29 | Use PIPE_BUF instead of BUFSIZ for fifo reads | sin |
2014-09-27 | Clear fd status when we are done to avoid double initiation | sin |
2014-09-27 | Unified log-format | FRIGN |
2014-09-26 | Cancel rx transfer if we fail to accept it for whatever reason | sin |
2014-09-26 | No need to open for writing | sin |
2014-09-26 | Rename RX/TX to Rx/Tx | sin |
2014-09-26 | Make stdout unbuffered as early as possible | sin |
2014-09-26 | Just flag the signal, nothing more | sin |
2014-09-26 | Default perms for directories should be 0777...A umask of 022 gives us 0755. | sin |
2014-09-26 | Fix error message | sin |
2014-09-26 | Style fix | sin |
2014-09-26 | More tight error checking | sin |
2014-09-26 | Replace all perror() with eprintf() calls | sin |
2014-09-26 | Add eprintf.c | sin |
2014-09-26 | Check return value of tox_new() | sin |
2014-09-25 | Code cleanup...Rename variables to be clearer about what they do, avoid hungarian notation (namestr -> name). f->fid was quite confusing (is it the tox-id, id-string or friendnumber?). f->num is much clearer. Same applies to all callback- functions (fid -> frnum). The separation of Tx and Rx is completed by separating tx- and rx-state. Also fixed a strange portion where an active receive-state was checked by looking at the file-number. use the rxstate for that. | FRIGN |
2014-09-25 | Add ratox-rat as ASCII-logo...and print the current version in its ear. | FRIGN |
2014-09-25 | Flag transfer completion by changing state | sin |
2014-09-24 | Style fix | sin |
2014-09-24 | Use unbuffered stdout | sin |
2014-09-24 | Cancel transfers unconditionally if we lose connection | sin |
2014-09-24 | File transfer fixes | sin |
2014-09-24 | Cancel transfers when we come back after losing connectivity to the DHT | sin |
2014-09-24 | Handle partial writes | sin |
2014-09-24 | Do it in the same order as in cancelrxtransfer() | sin |
2014-09-24 | Keep trying to write until we succeed | sin |
2014-09-24 | Ignore SIGPIPE and only cancel on EPIPE | sin |
2014-09-24 | Only poll the file descriptors we added to the set | sin |
2014-09-24 | Split canceltransfer() to cancel{tx,rx}transfer() | sin |
2014-09-24 | Inform the user when we cancel pending transfers | sin |
2014-09-24 | Rename recvfilepending to recvfileactive | sin |
2014-09-24 | Cancel pending transfers | sin |
2014-09-24 | Style fix for comments | sin |
2014-09-24 | Add support for receiving files | sin |
2014-09-23 | Cancel transfer first, then remove files (we need the fd) | sin |
2014-09-23 | Post a KILL when cancelling transfers | sin |
2014-09-23 | Remove useless { } | sin |
2014-09-23 | Cancel transfers properly | sin |
2014-09-23 | We need to force TCP mode when using the proxy | sin |
2014-09-23 | Add proxy support...(Remove tcpenabled from config.def.h as it can easily be flipped at runtime via the cmdline switch). | sin |
2014-09-23 | Add TCP mode | sin |
2014-09-23 | Refactor data-structures | FRIGN |
2014-09-23 | Scream if the datafile has 0 length | sin |
2014-09-23 | Add frienddestroy() and refactor removefriend()...friendcreate() populates the fs, frienddestroy() removes the friend related files from the fs. removefriend() only acts on the data from the friend's remove fifo. The "callback" in this case is responsible for reading the fifo like in all other cases (sendfriendtext() etc.). No weird dance with special function arguments to flag "official" removal. All friend related "callbacks" just need to operate on a struct friend *. | sin |
2014-09-22 | Use fsync() on fd in datasave() | sin |
2014-09-22 | Refactor removefriend() | FRIGN |
2014-09-22 | Add support for removing friends | sin |