xmlrpc command takes the download info-hash and the file index as the
first two parameters.
* Added several file commands.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@937 e378c898-3ddf-0310-93e7-cc216c733640
the string parser, so it must be preceeded by whitespace.
* Allow escaping of newlines in the resource file.
* Cleanup of the parse_command_* commands.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@936 e378c898-3ddf-0310-93e7-cc216c733640
* Commands that pass through rpc::parse_command_* now support inline
commands that start with a '$'. E.g 'print="$get_ip="'.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@933 e378c898-3ddf-0310-93e7-cc216c733640
closed Handshake to be inserted into SocketSet.
* Converted torrent::object_write_bencode(...) to use
torrent::object_write_bencode_c(...).
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@931 e378c898-3ddf-0310-93e7-cc216c733640
* Added support for writing Objects to generic char* buffers.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@927 e378c898-3ddf-0310-93e7-cc216c733640
* Fixed a crash when XMLRPC download commands were called without any
arguments.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@926 e378c898-3ddf-0310-93e7-cc216c733640
loaded was a multi-file torrent, not whether it contains more than one
file.
* Ignore attempts to load an empty URI in the client.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@925 e378c898-3ddf-0310-93e7-cc216c733640
* Moved CommandScheduler into src/rpc.
* Fixed a bug in the "download_list" command.
* Partial cleanup of the tracker list.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@924 e378c898-3ddf-0310-93e7-cc216c733640
parameter of the get_d/set_d commands is the info-hash.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@917 e378c898-3ddf-0310-93e7-cc216c733640
* Fixed a bug that would cause ^O to make an extra call to
"set_directory" for the log, instead of "get_directory".
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@909 e378c898-3ddf-0310-93e7-cc216c733640
* Starting work on moving the download commands to the new command
framework.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@901 e378c898-3ddf-0310-93e7-cc216c733640
utils::VariableMap::call_command(...).
* More cleanup of the command calls.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@895 e378c898-3ddf-0310-93e7-cc216c733640
variables, still might have missed some prior uses that might cause
exceptions to be thrown.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@890 e378c898-3ddf-0310-93e7-cc216c733640
multi-arg commands. So "on_start = link1,create_link=tied,,.started"
now works again.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@879 e378c898-3ddf-0310-93e7-cc216c733640
list instead of a string when calling a multi-parameter command, which
handles escaped spaces, commas and quotes correctly.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@877 e378c898-3ddf-0310-93e7-cc216c733640
ResourceManager::receive_upload_unchoke(...).
* Allow the client to manually cancel tracker requests so that quick
shutdown works correctly after moving the TrackerManager::close() call
to DownloadWrapper::~DownloadWrapper().
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@873 e378c898-3ddf-0310-93e7-cc216c733640