| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2006-10-16 | Rewrote parts of the README and updated it with information on the new stuff | Richard Nyberg | |
| in 0.12. | |||
| 2006-10-16 | Help text format change. | Richard Nyberg | |
| 2006-10-15 | Don't call mkdirs unnecessarily. Note that this code is only needed because | Richard Nyberg | |
| the content code shuts down btpd on errors. When that is fixed this code can be removed. | |||
| 2006-10-15 | Make mkdirs behave more like 'mkdir -p' and make btpd create the directory | Richard Nyberg | |
| hierarchy to a specified torrent content directory if neccessary. | |||
| 2006-10-15 | OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99 | Richard Nyberg | |
| library support some day... | |||
| 2006-10-15 | There's no need to fsync here, so remove the call. This should improve | Richard Nyberg | |
| write performance. | |||
| 2006-10-15 | Always update the tlib info when a torrent is stopped. Some code shuffle. | Richard Nyberg | |
| 2006-10-14 | Add and use the function make_abs_path. realpath didn't fit my needs. | Richard Nyberg | |
| make_abs_path doesn't need the directories to actually exist in the file system. | |||
| 2006-10-14 | Forgot to free some memory. Remove some broken code; it wasn't needed | Richard Nyberg | |
| yet anyway. glibc doesn't have the d_namlen field in struct dirent, so we'll have to use strlen instead. | |||
| 2006-10-14 | Update for the read_whole_file -> read_file change. | Richard Nyberg | |
| 2006-10-14 | Create all files of a torrent at startup. | Richard Nyberg | |
| 2006-10-14 | Add missing include. | Richard Nyberg | |
| 2006-10-14 | Safer way to initialize the address. | Richard Nyberg | |
| 2006-10-14 | Simplify read_whole_file and rename to read_file. | Richard Nyberg | |
| 2006-10-12 | Document changes for 0.12. | Richard Nyberg | |
| 2006-10-12 | Bump version to 0.12. | Richard Nyberg | |
| 2006-10-12 | Allow empty files in torrents. Create them in stat_and_adjust and let the | Richard Nyberg | |
| stream abstraction skip past them. | |||
| 2006-10-12 | Add missing includes. | Richard Nyberg | |
| 2006-10-11 | A string wasn't properly zero terminated. | Richard Nyberg | |
| 2006-10-11 | Add missing include. | Richard Nyberg | |
| 2006-10-08 | Make the del command work for active torrents too. | Richard Nyberg | |
| 2006-10-07 | Help text changes and make del and start take the --help option. | Richard Nyberg | |
| 2006-10-07 | btcli list now displays size, ratio and the percentage got of torrents. | Richard Nyberg | |
| It sorts by name instead of number (should probably add options for sorting). It now also takes torrents to list as optional arguments. Added ratio to btcli stat display. Changed the help text for both commands. Some code shuffle and other tweaks. | |||
| 2006-10-07 | Add value queries for total amount up- and downloaded. Use the cached values | Richard Nyberg | |
| for torrent size and amount gotten when the torrent isn't active. | |||
| 2006-10-07 | Save the total amount down- and uploaded and cache the torrent size and the | Richard Nyberg | |
| amount we have in the info file. | |||
| 2006-10-06 | Remove unneeded braces. | Richard Nyberg | |
| 2006-10-06 | Add command to stop all active torrents. The command is sent by | Richard Nyberg | |
| 'btcli stop -a'. | |||
| 2006-09-17 | Whitespace. | Richard Nyberg | |
| 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 | |