Commit graph

15 commits

Author SHA1 Message Date
tron
fdfa741b07 Update "libtorrent" and "rtorrent" package to version 0.12.5/0.8.5:
- Add support for any number of custom download values identified by
  string keys.
  d.set_custom=key,value
  d.get_custom=key (returns "" if not set)
  d.get_custom_throw=key (returns error if not set)
- With this patch, rtorrent will detect and complain about .torrent
  files with broken bencode representation (e.g. where the order of
  dictionary keys is not lexicographic).
- Choose a different poll type using the RTORRENT_POLL env. variable
  (if it's implemented), probably only useful as RTORRENT_POLL=select.
- Add the commands execute_capture and execute_capture_nothrow that
  work like their other counterparts but return the OUTPUT (stdout) of
  the given command.
- Fixes the code that detects which peer was sending bad data. Peers
  are then automatically banned after sending three bad chunks.
- Stops rtorrent from always creating and resizing ALL files, even
  those set to "off". Files will still be created, but with a size of
  zero, until a part of them is getting downloaded. This helps with
  filesystems that don't support sparse files (such as FAT, HFS+, and
  others).
- Fix inefficient piece distribution due to linear chunk request
  strategy by randomizing position every few (on average 32) chunks, see
  ticket #190.
- Enable custom throttles, both per-download or per-IP. See
  http://libtorrent.rakshasa.no/ticket/20 for info and instructions.
- Fix crashes/errors due to rtorrent attempting to pass non-utf-8
  strings to xmlrpc.
- Added support for using posix_fallocate on newly resized files.
- Include locally available chunks in the "chunks seen" statistics for
  completed/distributed copies. Patch by Josef Drexler.
- Added 'd.get_bitfield' command for retrieving the bitfield in hex
  format. Patch by Thomas Rosner.
- Fixed include headers for gcc-4.4.0. Patch by 'kloeri'.
2009-10-29 11:42:30 +00:00
tron
7220bfbb57 Update "libtorrent" package to version 0.12.4 and "rtorrent" package
to version 0.8.4. Changes since 0.12.2 respectively 0.8.2:
- Fixed EINTR handling in execute command.
- Fixed a couple of memory leaks in xmlrpc.cc.
- Initial seeding support added.
- Added a work-around for the stdin kqueue bug in MacOSX.
- Numerous bug-fixes and patches.
- Work-around for OpenBSD's broken sys/event.h, which fails to compile
  if it's the first (or only) included header. (Ticket #1470)
- Fixes compilation with old libcurl versions. (Ticket #1471)
- Fix compile error on systems that lack mincore(2).
- Fixes a crash in epoll due to libcurl/c-ares bug:
  PollEPoll::modify(...) epoll_ctl call failed.
- Enforce an http transfer timeout when libcurl fails to honor
  it. Also set a 5-minute timeout for (previously unlimited) torrent
  transfers and fixes the argument type for curl_easy_setopt values.
- Allows bandwidth throttles to work without floating point support.
- Added the 'd.add_peer=host[:port]' command to manually add a peer
  (not for torrents marked "private"), port 6881 is the default.
- Allows banning the selected peer with "B". No unbanning is possible
  yet.
- Added system.method.{insert,erase} commands that allows
  user-specified commands. E.g "system.method.insert=foo,print=Bar".
- Differentiate between commands that have no target, and those that
  take generic targets, when using XMLRPC.
- Added 'event.download.inserted_{new,session}' that are triggered
  when a new or a session torrent is added. Ticket #1516.
- Added 'system.method.get', 'ui.current_view.set' and 'group.insert'
  commands.
- Enabled different ratio settings for different groups of
  downloads.
- Added 'view.persistance' command that makes downloads inserted into
  that view persist across sessions. Only call on user-created views.
- Added 'ratio.*' commands that call the 'group.seeding.ratio.*'
  equivalents.
- Changed torrent::DownloadList::close_directly() so doesn't save the
  session if the underlying file/directory has been moved or
  removed. This change, in addition to calling 'd.set_directory=' before
  'execute=mv,...', as previously shown in the examples, will make
  rtorrent behave correctly when 'check_hash=no' is set.
2009-07-09 10:42:28 +00:00
tron
0c08e53a2a Add URL of upstream bug report. 2009-06-04 19:23:51 +00:00
tron
a904e7d5f0 Add patch by Joerg Sonnenberger with small modification by myself that
addresses the API difference in kqueue(2) between NetBSD and FreeBSD.
Turn on kqueue(2) support now that it actually works under NetBSD.
2009-06-04 19:15:46 +00:00
tron
8d87aa23a5 Add two patches taken from "xnet.fi" to fix the build under SunOS 5.11
(and eventually older versions). Problem reported by Tom Hensel in
private e-mail.
2009-04-10 09:06:20 +00:00
tron
f0bcb129a6 Update "libtorrent" package to version 0.11.4 and "rtorrent" package
to version 0.7.4. Changes since versions 0.11.1 and 0.7.1 respectively:
- Added "max_open_http" option that limits the max number of simultaneous
  http connections. By default set to 32.
- Directory structured view of the file list. The '/' key collapses
  directories, while the right arrow or ^F enters the selected directory.
  Changing the priority for a directory changes all contained files.
- Added "create_link" and "delete_link" options which apply to a download.
  These must be used with the new "on_*" options, so as to allow you to
  create symbolic links when starting, stopping, finishing, etc, a torrent.
- The "tos" option was parsing the hex value with unit == 0, which caused
  it to always zero it.
- Forgot to check if there were any torrents hashing before starting new
  non-fast-resume checks, which would cause multiple torrents to be hashed
  at once.
- File progress is now updated when hash_check is called, and no longer
  cleared on close. This fixes a bug with >100% file progress being reported
  and optimizes file progress updating for completed torrents.
- Disabled IPv6 http requests so the trackers won't think we support it,
  and enabled curl's support for gzip encodings.
- Added 'seeding' view on key 8.
- Added "max_{up,down}loads_{div,global}" options. See the man page for
  more information.
- Added support for dvorak keyboard layout. Patch by matled at gmx.net.
- The STOPPED request was being canceled when a download was closed with
  f.ex ^K, moved it so it only happens when the download is removed.
- Allow properly quoted and escaped arguments to options. F.ex "schedule
  = wd,10,10,load_start=~/Foo\ Bar/*.torrent" and "schedule =
  wd,10,10,load_start="~/Foo Bar/*.torrent"" now works.
- Added unlimited setting for max unchoked in ChokeManager and made it
  the default. Set with 0 as a temporary hack.
- Don't resize empty files used for creating directories.
2007-04-20 13:37:57 +00:00
tron
0d390f4fa3 Update "libtorrent" package to version 0.11.1 and "rtorrent" package to
version 0.7.1. Major changes since 0.10.4/0.6.4:
- support for the CANCEL piece request message
- support for tunneling through HTTP 1.0 proxies
- Azureus-style encryption
2007-01-26 18:48:52 +00:00
tron
725248de0f Fix build under Solaris. Patch provided by Peter Schuller in PR pkg/35356. 2007-01-04 12:45:41 +00:00
joerg
e8b4578ed9 Retire propolice hack, it compiles now. Add a small patch to fix
compilation on DragonFly 1.4.
2006-09-18 22:04:52 +00:00
tron
7b74506529 Update "libtorrent" package to version 0.10.1 and "rtorrent" package
to version 0.6.1. Changes since version 0.8.5 respectively 0.4.5 are:
- improved user interface (apparently also fixing redraw problems
  under DragonFly BSD)
- better diskspace handling
- show client names and versions in the peer list
- improved tracker communication
- lots of bug fixes

Based on patches provided by Jan 'Rumko' Kosir in private e-mail.
2006-09-13 21:04:19 +00:00
tron
fec0eb4220 Add a fix from Jari Petter Sundell which prevents stalled connections
when a "libtorrent" based BitTorrent client is uploading to another
BitTorrent client which uses pipelined Request messages (e.g. BitComet).
2006-03-03 15:30:52 +00:00
tron
4b7fa3a1b5 Update "libtorrent" package to version 0.8.3 and "rtorrent" package to
version 0.4.3. Changes since 0.7.6/0.3.6:
- New throttle implementation
- Improved config file parser
- Settings for using a http proxy and changing the process's umask.
- Many more bug fixes and improvements
2006-01-30 00:52:28 +00:00
adam
dd7f67f615 Changes 0.7.5:
* Improvements
2005-10-24 08:41:11 +00:00
joerg
9ff2d3de17 Include unistd.h to get close() and getpagesize() on DragonFly. 2005-10-03 18:09:55 +00:00
adam
b7e0ea16f5 LibTorrent is a BitTorrent library written in C++ for *nix. It is designed to
avoid redundant copying and storing of data that other clients and libraries
suffer from. Licensed under the GPL.
2005-07-22 22:24:39 +00:00