291 Revīzijas (03c3b7ec49fe28302d5fbc21502ab6dea4684731)
 

Autors SHA1 Ziņojums Datums
  Richard Nyberg 03c3b7ec49 Split the tracker code into a generic part and a http specific part. This pirms 18 gadiem
  Richard Nyberg 80dcfecbe5 Rename callback type, add timeouts and and allow any http version in the pirms 18 gadiem
  Richard Nyberg f939819e28 No parenthesis needed around a string value. pirms 18 gadiem
  Richard Nyberg d5700c2f20 Add max(x, y) macro. pirms 18 gadiem
  Richard Nyberg 1b7bb76fb7 Add a simple http client. Since it uses libevent it's a better fit for btpd pirms 18 gadiem
  Richard Nyberg 4f1d44297a Don't really know why I did setlocale. Get rid of it since I want the CTYPE pirms 18 gadiem
  Richard Nyberg 798a7f0c1b Random changes :) pirms 18 gadiem
  Richard Nyberg e0c4fea13e Rewrote parts of the README and updated it with information on the new stuff pirms 18 gadiem
  Richard Nyberg 0c01e277cf Help text format change. pirms 18 gadiem
  Richard Nyberg 1a17b22bb3 Don't call mkdirs unnecessarily. Note that this code is only needed because pirms 18 gadiem
  Richard Nyberg cd8a3d5ecd Make mkdirs behave more like 'mkdir -p' and make btpd create the directory pirms 18 gadiem
  Richard Nyberg ff3f222885 OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99 pirms 18 gadiem
  Richard Nyberg f20c481b11 There's no need to fsync here, so remove the call. This should improve pirms 18 gadiem
  Richard Nyberg 110b1d7e22 Always update the tlib info when a torrent is stopped. Some code shuffle. pirms 18 gadiem
  Richard Nyberg 29495ab53b Add and use the function make_abs_path. realpath didn't fit my needs. pirms 18 gadiem
  Richard Nyberg 25788505fa Forgot to free some memory. Remove some broken code; it wasn't needed pirms 18 gadiem
  Richard Nyberg b306439636 Update for the read_whole_file -> read_file change. pirms 18 gadiem
  Richard Nyberg b0b50e29b6 Create all files of a torrent at startup. pirms 18 gadiem
  Richard Nyberg 0b9d19de09 Add missing include. pirms 18 gadiem
  Richard Nyberg 11f7e1ce1f Safer way to initialize the address. pirms 18 gadiem
  Richard Nyberg 3fb4e5a894 Simplify read_whole_file and rename to read_file. pirms 18 gadiem
  Richard Nyberg 51e084f144 Document changes for 0.12. pirms 18 gadiem
  Richard Nyberg 535991f085 Bump version to 0.12. pirms 18 gadiem
  Richard Nyberg 45bf9f2658 Allow empty files in torrents. Create them in stat_and_adjust and let the pirms 18 gadiem
  Richard Nyberg a781e02cd8 Add missing includes. pirms 18 gadiem
  Richard Nyberg e1687be96c A string wasn't properly zero terminated. pirms 18 gadiem
  Richard Nyberg d218b1cbfa Add missing include. pirms 18 gadiem
  Richard Nyberg a087071b45 Make the del command work for active torrents too. pirms 18 gadiem
  Richard Nyberg a497ca472a Help text changes and make del and start take the --help option. pirms 18 gadiem
  Richard Nyberg 0eb36d3914 btcli list now displays size, ratio and the percentage got of torrents. pirms 18 gadiem
  Richard Nyberg e652eefa26 Add value queries for total amount up- and downloaded. Use the cached values pirms 18 gadiem
  Richard Nyberg 7ae55cac4d Save the total amount down- and uploaded and cache the torrent size and the pirms 18 gadiem
  Richard Nyberg 326dc406e7 Remove unneeded braces. pirms 18 gadiem
  Richard Nyberg ba9ae40fe7 Add command to stop all active torrents. The command is sent by pirms 18 gadiem
  Richard Nyberg 30601882e5 Whitespace. pirms 18 gadiem
  Richard Nyberg 00db1f1ced Add function benc_strcmp. pirms 18 gadiem
  Richard Nyberg ce0ef9d46b Better message for ENOTENT. pirms 18 gadiem
  Richard Nyberg 311a05f613 btcli add now starts the torrent if not told otherwise. Soem cleanup and pirms 18 gadiem
  Richard Nyberg b169d038fe Return rates in bytes/s instead of time factor * bytes/s. Clients should pirms 18 gadiem
  Richard Nyberg b0d013a7aa Make tests for unit changes to take rounding into account. pirms 18 gadiem
  Richard Nyberg 2483f77ff5 Reprint the header at suitable intervals. Display sizes >= 1000MB in gigs pirms 18 gadiem
  Richard Nyberg a5ae3e120f Some changes to the iobuf interface. Remove a debug assert from btpd_if.c and pirms 18 gadiem
  Richard Nyberg e33b8a57e6 Move the td_* functions to their own file. Remove lots of unneeded includes. pirms 18 gadiem
  Richard Nyberg fd7d7fca08 Implement the "key" tracker extension. pirms 18 gadiem
  Richard Nyberg 0c9cc2aa1d Enable printf format type checking. pirms 18 gadiem
  Richard Nyberg 1911f326a6 Implement the multitracker extension. Removed checks for URLs that pirms 18 gadiem
  Richard Nyberg fa6de9c8a5 btinfo output tweaks. pirms 18 gadiem
  Richard Nyberg 2c15b5701f No need to have the net structs on a list. Fix a test for finding a torrent pirms 18 gadiem
  Richard Nyberg 86754d7d53 btpd now has a library of torrents indexed by number and info hash. pirms 18 gadiem
  Richard Nyberg 763cbbb59f Hook the new files to the build. pirms 18 gadiem