fixed issue with using a global semaphore on macs and brushed up disk thread debug logging a bit. Also fixed a race condition when tearing down undead peer connections on shutdown

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5751 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
updated docs

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5752 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fixed typo on features page

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5753 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
updated tuning docs

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5754 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
sort pieces by expiration time in client_test

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5755 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fixed typo

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5756 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
merged changes from trunk

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5757 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fixed bug in non-threaded case for threaded-hashing. fixed support for disabled storage (for easier benchmarking of threaded hashing)

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5758 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
make connection tester able to create variable sized torrents for more diverse testing. add option to client_test test to turn off disk storage

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5759 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
merged changes from trunk

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5760 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
formatting fix

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5761 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
add missing files

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5762 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
handle buggy upnp routers

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5763 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
updated build docs

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5766 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fix for pad-files

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5767 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
handle invalid handles when removing torrents

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5770 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fixed uTP socket leak

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@5771 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fixed async. call to get_cache_info

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5772 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
merged changes from trunk

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5773 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fixed undead peers bug

git-svn-id: http://libtorrent.googlecode.com/svn/branches/libtorrent_aio@5774 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda