| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2006-09-17 | Add function benc_strcmp. | Richard Nyberg | |
| 2006-09-17 | Better message for ENOTENT. | Richard Nyberg | |
| 2006-09-17 | btcli add now starts the torrent if not told otherwise. Soem cleanup and | Richard Nyberg | |
| improved error output. | |||
| 2006-09-16 | Return rates in bytes/s instead of time factor * bytes/s. Clients should | Richard Nyberg | |
| not need to know about the sample time. | |||
| 2006-09-16 | Make tests for unit changes to take rounding into account. | Richard Nyberg | |
| 2006-09-16 | Reprint the header at suitable intervals. Display sizes >= 1000MB in gigs | Richard Nyberg | |
| instead of megs. Similarily, display rates >= 1000kB/s in MB/s instead of kB/s. | |||
| 2006-09-13 | Some changes to the iobuf interface. Remove a debug assert from btpd_if.c and | Richard Nyberg | |
| make it act properly on iobuf errors. | |||
| 2006-09-13 | Move the td_* functions to their own file. Remove lots of unneeded includes. | Richard Nyberg | |
| 2006-09-13 | Implement the "key" tracker extension. | Richard Nyberg | |
| 2006-09-13 | Enable printf format type checking. | Richard Nyberg | |
| 2006-09-13 | Implement the multitracker extension. Removed checks for URLs that | Richard Nyberg | |
| btpd can handle for now, so if no such URLs exists there will be a lot of tracker errors reported. | |||
| 2006-09-13 | btinfo output tweaks. | Richard Nyberg | |
| 2006-09-13 | No need to have the net structs on a list. Fix a test for finding a torrent | Richard Nyberg | |
| with active net. | |||
| 2006-09-13 | btpd now has a library of torrents indexed by number and info hash. | Richard Nyberg | |
| The add and del commands adds or removes torrents from this library. The start and stop commands are used to active or deactivate torrents. Also, a mechanism for qeurying data on torrents has been added. It's only used by the btcli list and stat commands yet though. btcli has been split into different files for each command. Both btpd and btcli now use misc/btpd_if.h for all ipc definitions. Misc changes: - struct metainfo is gone. Use the new mi_* functions. - Add printf format type checking where appropriate. | |||
| 2006-09-12 | Hook the new files to the build. | Richard Nyberg | |
| 2006-09-12 | Pointers to different things need not be represented in the same way. | Richard Nyberg | |
| Use the fact that we only can store structs in the table to make the complex pointer use safe. Unfortunately the equal and hash functions need to take void * arguments. | |||
| 2006-09-12 | This file contains the definitions of the constants used in the btpd | Richard Nyberg | |
| interface. | |||
| 2006-09-12 | Moved from ../cli. | Richard Nyberg | |
| 2006-09-12 | Moved to ../misc. | Richard Nyberg | |
| 2006-09-12 | The btpd interface now consists of these commands: | Richard Nyberg | |
| add - adds a torrent to btpd's library del - removes a torrent from btpd's library start - activates a torrent from the library stop - deactivates an active torrent tget - get data from torrents tget obsoletes stat and list. Commands for setting values and query other data will be added later. | |||
| 2006-09-12 | Remove unused function bts_hashes. | Richard Nyberg | |
| 2006-09-12 | There is no spoon^H^H^H^Htruct metainfo. Use struct mi_file instead. | Richard Nyberg | |
| 2006-09-12 | The metainfo code provided a load -> test -> struct metainfo interface. | Richard Nyberg | |
| The metainfo struct has been replaced by functions for qeurying specific items from the torrent. In addition, the tests of the torrent data has been improved. | |||
| 2006-09-12 | Moved to ../misc/queue.h | Richard Nyberg | |
| 2006-09-12 | Moved from ../btpd/queue.h | Richard Nyberg | |
| 2006-09-12 | Add functions for conversions between binary data and ascii hex. | Richard Nyberg | |
| Add function for reading a whole file. Enable printf format checking for some functions. | |||
| 2006-09-12 | Add a hashtable implementation. | Richard Nyberg | |
| 2006-09-12 | Enable printf format type checking for buf_print. | Richard Nyberg | |
| 2006-09-12 | Add function benc_strlen. | Richard Nyberg | |
| 2006-08-06 | Send keepalives. | Richard Nyberg | |
| 2006-08-06 | Reduce the number of HAVE messages sent by only sending them to peers missing | Richard Nyberg | |
| the piece. Remove seeder peers when our download is finished and remove peers who doesn't show any interest for a long time when we're seeding. | |||
| 2006-08-03 | Torrents that were active when btpd was last killed will now be automatically | Richard Nyberg | |
| started when btpd starts. The new '--empty-start' option turns this off. | |||
| 2006-08-03 | Add a delay for contacting the same announce url. This way we don't spam | Richard Nyberg | |
| a tracker with connections even if we add a lot of torrents with the same tracker at the same time. | |||
| 2006-07-30 | Change version to 0.11 and document the changes. | Richard Nyberg | |
| 2006-07-28 | Remove the events for a peer's socket before closing it. At least the epoll | Richard Nyberg | |
| libevent backend didn't like the fd to be closed. Reported by Ludvig Omholt. | |||
| 2006-07-23 | Change version to 0.10 and document the changes. | Richard Nyberg | |
| 2006-07-23 | Changed the help for the '--ipcprot' option. | Richard Nyberg | |
| 2006-07-23 | Truncate the pid file when opening it. Now it actually will contain the pid | Richard Nyberg | |
| of the btpd process :) | |||
| 2006-07-23 | Make sure btpd_dir contains an absolute path. If btpd was started with | Richard Nyberg | |
| '-d some/releative/path' it would fail to set up the ipc socket correctly. Reported by Arnaud Bergeron. | |||
| 2006-07-23 | Add the '--ipcprot' option to change the protection mode of the command | Richard Nyberg | |
| socket. From Arnaud Bergeron. | |||
| 2006-07-22 | Btpd could be DOS'ed by incoming connections that never send any data. | Richard Nyberg | |
| Strangely such connections are not entirely uncommon. Added a hand shake time out of 60 seconds to resolve this. Added a peer_on_tick function which is used to monitor peers for different timeouts. Timestamps are compared against the reborn btpd_seconds. The issue has been reported by Ludvig Omholt and Arnaud Bergeron. | |||
| 2006-07-21 | Split out common code for btpd_log and btpd_err. | Richard Nyberg | |
| 2006-07-21 | Use the new functions btpd_ev_(add|del) instead of calling event_(add|del) | Richard Nyberg | |
| directly. Failure to add or delete an event is treated as a fatal error. | |||
| 2006-07-15 | Fix type mismath. From Arnaud Bergeron. | Richard Nyberg | |
| 2006-03-21 | Changes for 0.9. | Richard Nyberg | |
| 2006-03-21 | Version 0.9. | Richard Nyberg | |
| 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. | |||