summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 cleanupFRIGN
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.
2014-09-25Add ratox-rat as ASCII-logoFRIGN
and print the current version in its ear.
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
2014-09-23Cancel transfers properlysin
2014-09-23Message splitting already workssin
2014-09-23We support utf-8sin
2014-09-23Add section on portabilitysin
2014-09-23We have proxy support, update READMEsin
2014-09-23Add READMEsin
2014-09-23We need to force TCP mode when using the proxysin
2014-09-23Add proxy supportsin
(Remove tcpenabled from config.def.h as it can easily be flipped at runtime via the cmdline switch).
2014-09-23Add TCP modesin
2014-09-23Refactor data-structuresFRIGN
2014-09-23Scream if the datafile has 0 lengthsin
2014-09-23Add TODOsin
2014-09-23Add frienddestroy() and refactor removefriend()sin
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 *.
2014-09-22Use fsync() on fd in datasave()sin
2014-09-22Refactor removefriend()FRIGN
2014-09-22Add support for removing friendssin
2014-09-22Dump our status message in the status/out file not our nicknamesin
2014-09-22Use number of seconds since epoch as a timestamp for naming files uniquelysin
This breaks if time travel becomes a possibility.
2014-09-22Use O_RDONLY when opening the datafilesin