about summary refs log tree commit diff
path: root/cli/btcli.c
AgeCommit message (Collapse)Author
2009-01-26Fix a typo in an error message.Richard Nyberg
2009-01-12Don't use the bsd err and warn family of functions. Solaris doesn't have them.Richard Nyberg
2006-10-16Help text format change.Richard Nyberg
2006-10-07Help text changes and make del and start take the --help option.Richard Nyberg
2006-10-07btcli 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-09-17btcli add now starts the torrent if not told otherwise. Soem cleanup andRichard Nyberg
improved error output.
2006-09-13btpd 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-03-20Cut off decimals after the first tenth percent so printf doesn't roundRichard Nyberg
the percentage upwards. Ie. Display 99.9%, not 100.0%, even if we have 99.98% of the content.
2006-02-17Two 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-10Call realpath after creating the dir. At least on linux the call to realpathRichard Nyberg
may fail if the last path component doesn't exist.
2006-02-10Mostly name changes. Add a missing include. Changed the torrent statusRichard Nyberg
characters displayed by btcli.
2006-02-09btcli stat now takes file arguments to only include stats for the givenRichard Nyberg
torrents.
2006-02-09Fix typo. Index should be i not 1.Richard Nyberg
2006-02-08Interaction with btpd is now much more like I want it. Previous workRichard 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-05Added description of stat output. Changed the stat output.Richard Nyberg
2006-02-05o Changed the benc_ api to make it easier to use.Richard Nyberg
o Lot of work on the cli and its communication with btpd.
2005-11-30The mega whitespace patch.Richard Nyberg
Tabs have been converted to spaces and trailing whitespace have been removed. I have fixed my emacs settings now :P
2005-07-30All files:Richard Nyberg
Each piece must have at least one byte for their block bit array, or they will collide causing great confusion in btpd. The calculation was done wrong so this could happen for small torrents (blocks / piece < 8). policy_subr.c: * Add test for correctness. * Add missing call to cm_on_piece_full in cm_new_piece.
2005-07-07Write "1 torrent." instead of "1 torrents.".Richard Nyberg
2005-07-04Must save the old time to be able to calculate the delta.Richard Nyberg
2005-07-03Base bandwidth calculations on actual time between data points,Richard Nyberg
instead of the ideal.
2005-06-24Import btpd-0.1.Richard Nyberg
git-svn-id: file:///home/rnyberg/svngit/btpd/releases/0.1@1 76a1f634-46fa-0310-9943-bd1476092a85