* Renamed 'system.method.*' to 'method.*'.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1139 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-03-03 13:45:34 +00:00
parent db8f217569
commit 44e77016a9
8 changed files with 95 additions and 91 deletions
+56 -52
View File
@@ -188,47 +188,47 @@ main(int argc, char** argv) {
rpc::parse_command_multiple
(rpc::make_target(),
// "system.method.insert = test.value,value\n"
// "system.method.insert = test.value2,value,6\n"
// "method.insert = test.value,value\n"
// "method.insert = test.value2,value,6\n"
// "system.method.insert = test.string,string,6\n"
// "system.method.insert = test.bool,bool,true\n"
// "method.insert = test.string,string,6\n"
// "method.insert = test.bool,bool,true\n"
"system.method.insert = test.method.simple,simple,\"print=simple_test_,$argument.0=\"\n"
"method.insert = test.method.simple,simple,\"print=simple_test_,$argument.0=\"\n"
"system.method.insert = event.download.inserted,multi\n"
"system.method.insert = event.download.inserted_new,multi\n"
"system.method.insert = event.download.inserted_session,multi\n"
"system.method.insert = event.download.erased,multi\n"
"system.method.insert = event.download.opened,multi\n"
"system.method.insert = event.download.closed,multi\n"
"system.method.insert = event.download.resumed,multi\n"
"system.method.insert = event.download.paused,multi\n"
"method.insert = event.download.inserted,multi\n"
"method.insert = event.download.inserted_new,multi\n"
"method.insert = event.download.inserted_session,multi\n"
"method.insert = event.download.erased,multi\n"
"method.insert = event.download.opened,multi\n"
"method.insert = event.download.closed,multi\n"
"method.insert = event.download.resumed,multi\n"
"method.insert = event.download.paused,multi\n"
"system.method.insert = event.download.finished,multi\n"
"system.method.insert = event.download.hash_done,multi\n"
"system.method.insert = event.download.hash_failed,multi\n"
"system.method.insert = event.download.hash_final_failed,multi\n"
"system.method.insert = event.download.hash_removed,multi\n"
"system.method.insert = event.download.hash_queued,multi\n"
"method.insert = event.download.finished,multi\n"
"method.insert = event.download.hash_done,multi\n"
"method.insert = event.download.hash_failed,multi\n"
"method.insert = event.download.hash_final_failed,multi\n"
"method.insert = event.download.hash_removed,multi\n"
"method.insert = event.download.hash_queued,multi\n"
"system.method.set_key = event.download.inserted, 1_connect_logs, d.initialize_logs=\n"
"system.method.set_key = event.download.inserted_new, 1_prepare, \"branch=d.get_state=,view.set_visible=started,view.set_visible=stopped ;d.save_full_session=\"\n"
"system.method.set_key = event.download.inserted_session, 1_prepare, \"branch=d.get_state=,view.set_visible=started,view.set_visible=stopped\"\n"
"method.set_key = event.download.inserted, 1_connect_logs, d.initialize_logs=\n"
"method.set_key = event.download.inserted_new, 1_prepare, \"branch=d.get_state=,view.set_visible=started,view.set_visible=stopped ;d.save_full_session=\"\n"
"method.set_key = event.download.inserted_session, 1_prepare, \"branch=d.get_state=,view.set_visible=started,view.set_visible=stopped\"\n"
"system.method.set_key = event.download.erased, !_download_list, ui.unfocus_download=\n"
"system.method.set_key = event.download.erased, ~_delete_tied, d.delete_tied=\n"
"method.set_key = event.download.erased, !_download_list, ui.unfocus_download=\n"
"method.set_key = event.download.erased, ~_delete_tied, d.delete_tied=\n"
"system.method.insert = ratio.enable, simple|const,group.seeding.ratio.enable=\n"
"system.method.insert = ratio.disable,simple|const,group.seeding.ratio.disable=\n"
"system.method.insert = ratio.min, simple|const,group.seeding.ratio.min=\n"
"system.method.insert = ratio.max, simple|const,group.seeding.ratio.max=\n"
"system.method.insert = ratio.upload, simple|const,group.seeding.ratio.upload=\n"
"system.method.insert = ratio.min.set, simple|const,group.seeding.ratio.min.set=$argument.0=\n"
"system.method.insert = ratio.max.set, simple|const,group.seeding.ratio.max.set=$argument.0=\n"
"system.method.insert = ratio.upload.set,simple|const,group.seeding.ratio.upload.set=$argument.0=\n"
"method.insert = ratio.enable, simple|const,group.seeding.ratio.enable=\n"
"method.insert = ratio.disable,simple|const,group.seeding.ratio.disable=\n"
"method.insert = ratio.min, simple|const,group.seeding.ratio.min=\n"
"method.insert = ratio.max, simple|const,group.seeding.ratio.max=\n"
"method.insert = ratio.upload, simple|const,group.seeding.ratio.upload=\n"
"method.insert = ratio.min.set, simple|const,group.seeding.ratio.min.set=$argument.0=\n"
"method.insert = ratio.max.set, simple|const,group.seeding.ratio.max.set=$argument.0=\n"
"method.insert = ratio.upload.set,simple|const,group.seeding.ratio.upload.set=$argument.0=\n"
"system.method.insert = group.insert_persistent_view,simple|const,"
"method.insert = group.insert_persistent_view,simple|const,"
"view_add=$argument.0=,view.persistent=$argument.0=,\"group.insert=$argument.0=,$argument.0=\"\n"
// Allow setting 'group.view' as constant, so that we can't
@@ -321,28 +321,32 @@ main(int argc, char** argv) {
// - command_tracker.cc
// - command_ui.cc
"system.method.insert = get_handshake_log,redirect|const,log.handshake\n"
"system.method.insert = set_handshake_log,redirect|const,log.handshake.set\n"
"system.method.insert = get_log.tracker,redirect|const,log.tracker\n"
"system.method.insert = set_log.tracker,redirect|const,log.tracker.set\n"
"method.insert = system.method.insert,redirect|const,method.insert\n"
"method.insert = system.method.set,redirect|const,method.set\n"
"method.insert = system.method.set_key,redirect|const,method.set_key\n"
"system.method.insert = get_name,redirect|const,system.session_name\n"
"system.method.insert = set_name,redirect|const,system.session_name.set\n"
"system.method.insert = system.file_allocate,redirect|const,system.file.allocate\n"
"system.method.insert = system.file_allocate.set,redirect|const,system.file.allocate.set\n"
"method.insert = get_handshake_log,redirect|const,log.handshake\n"
"method.insert = set_handshake_log,redirect|const,log.handshake.set\n"
"method.insert = get_log.tracker,redirect|const,log.tracker\n"
"method.insert = set_log.tracker,redirect|const,log.tracker.set\n"
"system.method.insert = get_preload_type,redirect|const,pieces.preload.type\n"
"system.method.insert = get_preload_min_size,redirect|const,pieces.preload.min_size\n"
"system.method.insert = get_preload_required_rate,redirect|const,pieces.preload.min_rate\n"
"system.method.insert = set_preload_type,redirect|const,pieces.preload.type.set\n"
"system.method.insert = set_preload_min_size,redirect|const,pieces.preload.min_size.set\n"
"system.method.insert = set_preload_required_rate,redirect|const,pieces.preload.min_rate.set\n"
"system.method.insert = get_stats_preloaded,redirect|const,pieces.stats_preloaded\n"
"system.method.insert = get_stats_not_preloaded,redirect|const,pieces.stats_not_preloaded\n"
"method.insert = get_name,redirect|const,system.session_name\n"
"method.insert = set_name,redirect|const,system.session_name.set\n"
"method.insert = system.file_allocate,redirect|const,system.file.allocate\n"
"method.insert = system.file_allocate.set,redirect|const,system.file.allocate.set\n"
"system.method.insert = get_memory_usage,redirect|const,pieces.memory.current\n"
"system.method.insert = get_max_memory_usage,redirect|const,pieces.memory.max\n"
"system.method.insert = set_max_memory_usage,redirect|const,pieces.memory.max.set\n"
"method.insert = get_preload_type,redirect|const,pieces.preload.type\n"
"method.insert = get_preload_min_size,redirect|const,pieces.preload.min_size\n"
"method.insert = get_preload_required_rate,redirect|const,pieces.preload.min_rate\n"
"method.insert = set_preload_type,redirect|const,pieces.preload.type.set\n"
"method.insert = set_preload_min_size,redirect|const,pieces.preload.min_size.set\n"
"method.insert = set_preload_required_rate,redirect|const,pieces.preload.min_rate.set\n"
"method.insert = get_stats_preloaded,redirect|const,pieces.stats_preloaded\n"
"method.insert = get_stats_not_preloaded,redirect|const,pieces.stats_not_preloaded\n"
"method.insert = get_memory_usage,redirect|const,pieces.memory.current\n"
"method.insert = get_max_memory_usage,redirect|const,pieces.memory.max\n"
"method.insert = set_max_memory_usage,redirect|const,pieces.memory.max.set\n"
);
if (OptionParser::has_flag('n', argc, argv))