diff --git a/ChangeLog b/ChangeLog index 7513f29da..95a853cec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + * fixed an integer overflow bug occuring when built with gcc 4.1.x * fixed crasing bug when closing while checking a torrent * fixed bug causing a crash with a torrent with piece length 0 * added an extension to the DHT network protocol to support the diff --git a/docs/building.html b/docs/building.html index cd5e346fd..cc320d843 100644 --- a/docs/building.html +++ b/docs/building.html @@ -293,6 +293,14 @@ LDFLAGS, as Boost::Thread detection will fail without it, even if Boost::Thread is installed.
If you need to set these variables, it may be a good idea to add those lines to your ~/.profile or ~/.tcshrc depending on your shell.
+If the boost libraries are named with a suffix on your platform, you may use +the --with-boost-thread= option to specify the suffix used for the thread +library in this case. For more information about these options, run:
++./configure --help ++
On gentoo the boost libraries that are built with multi-threading support have +the suffix mt.
You know that the boost libraries were found if you see the following output from the configure script:
diff --git a/docs/building.rst b/docs/building.rst index 271d34114..7315bf08c 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -291,6 +291,15 @@ Boost::Thread is installed. If you need to set these variables, it may be a good idea to add those lines to your ``~/.profile`` or ``~/.tcshrc`` depending on your shell. +If the boost libraries are named with a suffix on your platform, you may use +the ``--with-boost-thread=`` option to specify the suffix used for the thread +library in this case. For more information about these options, run:: + + ./configure --help + +On gentoo the boost libraries that are built with multi-threading support have +the suffix ``mt``. + You know that the boost libraries were found if you see the following output from the configure script:: diff --git a/docs/gtorrent_thumb.jpg b/docs/gtorrent_thumb.jpg new file mode 100644 index 000000000..ba3896110 Binary files /dev/null and b/docs/gtorrent_thumb.jpg differ diff --git a/docs/index.html b/docs/index.html index e21db8deb..53fbbc7fd 100755 --- a/docs/index.html +++ b/docs/index.html @@ -21,6 +21,11 @@
Written by Arvid Norberg. Copyright (c) 2003
+Written by Arvid Norberg. Copyright (c) 2003-2006
Contributions by Magnus Jonsson, Daniel Wallin and Cory Nelson
Thanks to Reimond Retz for bugfixes, suggestions and testing
Project is hosted by sourceforge.
diff --git a/docs/index.rst b/docs/index.rst index 97ecf3737..779f1f3bb 100755 --- a/docs/index.rst +++ b/docs/index.rst @@ -11,7 +11,12 @@ * `mailing list`_ (archive_) * `who's using libtorrent?`_ * `report bugs`_ -* `sourceforge page`_ +* `sourceforge page`_ + +-------- + +* `ruby bindings`_ +* `python bindings`_ .. raw:: html @@ -34,6 +39,9 @@ libtorrent .. _`report bugs`: http://sourceforge.net/tracker/?group_id=79942&atid=558250 .. _sourceforge page: http://www.sourceforge.net/projects/libtorrent +.. _`ruby bindings`: http://libtorrent-ruby.rubyforge.org/ +.. _`python bindings`: http://code.google.com/p/python-libtorrent/ + libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working @@ -81,7 +89,7 @@ You can usually find me as hydri in ``#libtorrent`` on ``irc.freenode.net``. Acknowledgements ================ -Written by Arvid Norberg. Copyright (c) 2003 +Written by Arvid Norberg. Copyright (c) 2003-2006 Contributions by Magnus Jonsson, Daniel Wallin and Cory Nelson diff --git a/docs/manual.html b/docs/manual.html index 1ccda3298..d0ad9794e 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -426,7 +426,7 @@ void set_max_half_open_connections(int limit);Sets the maximum number of half-open connections libtorrent will have when connecting to peers. A half-open connection is one where connect() has been -called, but the connection still hasn't been established (nor filed). Windows +called, but the connection still hasn't been established (nor failed). Windows XP Service Pack 2 sets a default, system wide, limit of the number of half-open connections to 10. So, this limit can be used to work nicer together with other network applications on that system. The default is to have no limit, @@ -2458,7 +2458,7 @@ struct peer_error_alert: alert
This is a debug alert that is generated by an incoming invalid piece request. The handle -is a handle to the torrent the peer is a member of. Ïp is the address of the peer and the +is a handle to the torrent the peer is a member of. ìp is the address of the peer and the request is the actual incoming request from the peer. The alert is generated as severity level debug.
@@ -3045,13 +3045,13 @@ boost::filesystem::path::default_name_check(boost::filesystem::native);
Written by Arvid Norberg. Copyright © 2003-2005
+Written by Arvid Norberg. Copyright © 2003-2006
Contributions by Magnus Jonsson, Daniel Wallin and Cory Nelson
Lots of testing, suggestions and contributions by Massaroddel and Tianhao Qiu.
Big thanks to Michael Wojciechowski and Peter Koeleman for making the autotools scripts.
Thanks to Reimond Retz for bugfixes, suggestions and testing
-Thanks to University of Ume for providing development and test hardware.
+Thanks to University of Umeå for providing development and test hardware.
Project is hosted by sourceforge.
deluge torrent
+deluge Torrent is a more full-featured yet still lightweight bittorrent +client. It has the ability to automatically resume partial downloads and +background to the system tray.
+ZipTorrent
ZipTorrent is another windows
bittorrent client with
diff --git a/docs/projects.rst b/docs/projects.rst
index f07f75351..5a9f188ba 100644
--- a/docs/projects.rst
+++ b/docs/projects.rst
@@ -69,6 +69,12 @@ project listed here, let me_ know.
| bittorrent client for windows. | |
| Written by Cory Nelson. | |
+-------------------------------------------------------------------------------+-------------------------------------+
+| **deluge torrent** | .. image:: gtorrent_thumb.jpg |
+| | |
+| `deluge Torrent`_ is a more full-featured yet still lightweight bittorrent | |
+| client. It has the ability to automatically resume partial downloads and | |
+| background to the system tray. | |
++-------------------------------------------------------------------------------+-------------------------------------+
| **ZipTorrent** | .. image:: ziptorrent_thumb.gif |
| | |
| ZipTorrent_ is another windows | |
@@ -108,6 +114,7 @@ project listed here, let me_ know.
.. _BitSlug: http://bitslug.sourceforge.net/
.. _BitBuddy: http://www.btvampire.com
.. _`Arctic Torrent`: http://www.int64.org/arctic.html
+.. _`deluge Torrent`: http://code.google.com/p/deluge-torrent/
.. _ZipTorrent: http://www.ziptorrent.com/
.. _FireANT: http://antisnottv.net/
.. _eDonkey2000: http://www.edonkey2000.com/
diff --git a/include/libtorrent/allocate_resources.hpp b/include/libtorrent/allocate_resources.hpp
index 318f8939d..b859b6b47 100644
--- a/include/libtorrent/allocate_resources.hpp
+++ b/include/libtorrent/allocate_resources.hpp
@@ -55,12 +55,7 @@ namespace libtorrent
// sure "used" is updated between calls!).
// If resources = std::numeric_limits