summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2014-09-29Define FRIENDNAME-Macro for repetitive idiom...and fill up the missing cases. FRIGN
2014-09-29Remember volatilesin
2014-09-29BSD style defsin
2014-09-29Small refactor in printrat()...Don't use 3 printf's when 1 is possible. FRIGN
2014-09-29Implement 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-29Use PIPE_BUF instead of BUFSIZ for fifo readssin
2014-09-27Clear fd status when we are done to avoid double initiationsin
2014-09-27Update READMEsin
2014-09-27Update READMEsin
2014-09-27Unified log-formatFRIGN
2014-09-26Cancel rx transfer if we fail to accept it for whatever reasonsin
2014-09-26No need to open for writingsin
2014-09-26Rename RX/TX to Rx/Txsin
2014-09-26Make stdout unbuffered as early as possiblesin
2014-09-26Just flag the signal, nothing moresin
2014-09-26Default perms for directories should be 0777...A umask of 022 gives us 0755. sin
2014-09-26Fix error messagesin
2014-09-26Style fixsin
2014-09-26More tight error checkingsin
2014-09-26Update READMEsin
2014-09-26Remove implemented items from TODOsin
2014-09-26Replace all perror() with eprintf() callssin
2014-09-26Add eprintf.csin
2014-09-26Check return value of tox_new()sin
2014-09-25Code 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-25Add ratox-rat as ASCII-logo...and print the current version in its ear. FRIGN
2014-09-25Flag transfer completion by changing statesin
2014-09-24Style fixsin
2014-09-24Use unbuffered stdoutsin
2014-09-24Cancel transfers unconditionally if we lose connectionsin
2014-09-24File transfer fixessin
2014-09-24Cancel transfers when we come back after losing connectivity to the DHTsin
2014-09-24Handle partial writessin
2014-09-24Update TODOsin
2014-09-24Do it in the same order as in cancelrxtransfer()sin
2014-09-24Keep trying to write until we succeedsin
2014-09-24Ignore SIGPIPE and only cancel on EPIPEsin
2014-09-24Only poll the file descriptors we added to the setsin
2014-09-24Split canceltransfer() to cancel{tx,rx}transfer()sin
2014-09-24Inform the user when we cancel pending transferssin
2014-09-24Rename recvfilepending to recvfileactivesin
2014-09-24Cancel pending transferssin
2014-09-24Style fix for commentssin
2014-09-24Add support for receiving filessin
2014-09-23Change license to ISC - equivalent to MIT/Xsin
2014-09-23Style fixsin
2014-09-23Update READMEsin
2014-09-23Cancel transfer first, then remove files (we need the fd)sin
2014-09-23Post a KILL when cancelling transferssin
2014-09-23Remove useless { }sin