| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2006-03-20 | Cut off decimals after the first tenth percent so printf doesn't round | Richard Nyberg | |
| the percentage upwards. Ie. Display 99.9%, not 100.0%, even if we have 99.98% of the content. | |||
| 2006-03-18 | The previous commit was a bit over zealous; the block field should not be | Richard Nyberg | |
| cleared for a failed piece in the full torrent test. This also fixes a bug where the content byte count wasn't decreased for failed pieces. | |||
| 2006-03-17 | The code for testing content that has potentially been modified between btpd | Richard Nyberg | |
| runs was quite broken. Pieces stayed marked as ok event though the hash test failed for pieces in modified files. Oops! | |||
| 2006-03-16 | Fix a bug from the last commit: shared messages for endgame requests could | Richard Nyberg | |
| be placed at the wrong index in the array. | |||
| 2006-02-21 | There's now one list with requests per piece instead of one per block. The | Richard Nyberg | |
| network buffers for requests are now allocated as they're needed. Before they were allocated at the same time as their corresponding piece. This lowers btpd's memory consumption. | |||
| 2006-02-19 | Safer code for net_read32 and net_write32. It may have been possible for them | Richard Nyberg | |
| to cause failure on some architectures because of unaligned fetch/write of integers. | |||
| 2006-02-17 | Two changes to stat output: | Richard Nyberg | |
| 1. Show the number of torrents with tracker errors on the total status line. 2. Show the torrent status character on the status line instead of the name line. This only has effect when the '-i' flag is given. | |||
| 2006-02-17 | Set default value of cm_alloc_size to 2MB. | Richard Nyberg | |
| 2006-02-12 | Set its rates to zero when stopping a torrent. | Richard Nyberg | |
| 2006-02-11 | Rewrote the README with changes for 0.8.. | Richard Nyberg | |
| 2006-02-11 | Changes for 0.8. | Richard Nyberg | |
| 2006-02-11 | Don't allow a negative cm_alloc_size to wreak havoc. | Richard Nyberg | |
| 2006-02-11 | Return possible error message in the http result. Log the error in the | Richard Nyberg | |
| tracker code. | |||
| 2006-02-11 | Change preallocation default to 2048. 1 may be a little low. | Richard Nyberg | |
| 2006-02-11 | Safer type use. | Richard Nyberg | |
| 2006-02-10 | Fix typo. | Richard Nyberg | |
| 2006-02-10 | Add a note on the ACX_PTHREAD macro license. | Richard Nyberg | |
| 2006-02-10 | I don't quite like this file. I think I will use the trac site to keep | Richard Nyberg | |
| this kind of information instead. | |||
| 2006-02-10 | Better log message. | Richard Nyberg | |
| 2006-02-10 | Better log message. | Richard Nyberg | |
| 2006-02-10 | Be careful not to stop the sub struct if they haven't been started. Also | Richard Nyberg | |
| be careful so that we don't operate on a dead torrent. | |||
| 2006-02-10 | Oops! Forgot to free some memory. | Richard Nyberg | |
| 2006-02-10 | Call realpath after creating the dir. At least on linux the call to realpath | Richard Nyberg | |
| may fail if the last path component doesn't exist. | |||
| 2006-02-10 | Use c99 types conservatively to compile on OpenBSD. Also convert to or from | Richard Nyberg | |
| time_t via long. | |||
| 2006-02-10 | Glibc needs sys/file.h for flock. | Richard Nyberg | |
| 2006-02-10 | Mostly name changes. Add a missing include. Changed the torrent status | Richard Nyberg | |
| characters displayed by btcli. | |||
| 2006-02-10 | Glibc doesn't support locking in open. Use flock after open instead. | Richard Nyberg | |
| 2006-02-10 | Put the ACX_PTHREAD macro from the Autoconf macro archive in acinclude.m4. | Richard Nyberg | |
| Build btpd with pthreads. | |||
| 2006-02-10 | Change the downloaders option to max-uploads. I find it much less confusing | Richard Nyberg | |
| that way :P | |||
| 2006-02-09 | Add torrent_name function and use it. | Richard Nyberg | |
| 2006-02-09 | btcli stat now takes file arguments to only include stats for the given | Richard Nyberg | |
| torrents. | |||
| 2006-02-09 | Include the info hash in the tpstat structure. | Richard Nyberg | |
| 2006-02-09 | o Since the torrent sub structs always exist now, we can always write all | Richard Nyberg | |
| stats for torrentst. o btpd may be waiting for a torrent to finish so it can exit. Therefore btpd needs to send the reply to the cli before removing the torrent. | |||
| 2006-02-09 | There's no need for exactly 64 bits for the upload and download count. | Richard Nyberg | |
| Make them long long instead. | |||
| 2006-02-09 | Removed the http_redo hack. | Richard Nyberg | |
| 2006-02-09 | o Make the torrent sub struct exist for whole life time of the torrent. | Richard Nyberg | |
| o Better code for stopping the tracker. No more need for the http_redo hack. | |||
| 2006-02-09 | Fix typo. Index should be i not 1. | Richard Nyberg | |
| 2006-02-08 | Interaction with btpd is now much more like I want it. Previous work | Richard Nyberg | |
| has moved toward btpd having a library of torrent to wich one may add or remove torrents, and where interaction on torrents are done by their assigned number. This commit is a step back from that and it makes life simpler and better for all :) * Some options to btpd has changed: --no-daemon is the old -d. -d is now used to specify the btpd directory. --logfile option is reintroduced. * The ipc code has been improved on both btpd and cli sides. * All commands have been implemented. * Various improvements in btpd. With this commit we're very close to 0.8 :) | |||
| 2006-02-08 | White space. | Richard Nyberg | |
| 2006-02-08 | Add functions find_btpd_dir. | Richard Nyberg | |
| 2006-02-08 | Remove unused function canon_path. | Richard Nyberg | |
| 2006-02-08 | Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy. | Richard Nyberg | |
| 2006-02-08 | Use strtoul to parse length of strings. | Richard Nyberg | |
| 2006-02-08 | Added buf_swrite. | Richard Nyberg | |
| 2006-02-06 | Check for failure to allocate memory. | Richard Nyberg | |
| 2006-02-06 | Remove som unused code I commited by mistake. Replace integer parse code | Richard Nyberg | |
| in benc_int with a call to strtoll. | |||
| 2006-02-05 | Added description of stat output. Changed the stat output. | Richard Nyberg | |
| 2006-02-05 | o Changed the benc_ api to make it easier to use. | Richard Nyberg | |
| o Lot of work on the cli and its communication with btpd. | |||
| 2006-02-05 | Make the buf api safe to continue to use even if an error has occured. | Richard Nyberg | |
| 2006-02-05 | Add functions read_fully and write_fully. They are simpler alternatives to | Richard Nyberg | |
| read and write on blocking sockets. | |||