strip trailing dots and spaces in filenames

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9389 a83610d8-ad2a-0410-a6ab-fc0612d85776
mark some expensive parts of invariant checks as expensive and disabled by default. introduce undead_peers to destruct all peer_connections in the network thread. they hang around while waiting for all outstanding disk jobs to complete. make the asio-debugging output a bit prettier

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9390 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix terminal window size issue in client_test under lldb. make client_test respond to keyboard input quicker

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9391 a83610d8-ad2a-0410-a6ab-fc0612d85776
don't use bitfield for disk_io_job::action

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9393 a83610d8-ad2a-0410-a6ab-fc0612d85776