Changeset 14009
- Timestamp:
- Feb 10, 2013, 7:36:13 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extras/rpc-spec.txt
r13991 r14009 759 759 | | yes | | new method "torrent-start-now" 760 760 ------+---------+-----------+--------------------------+------------------------------- 761 15 | 2.80 | NO | session-get | removed arg "download-dir-free-space" 762 | | yes | torrent-get | new arg "etaIdle" 761 15 | 2.80 | yes | torrent-get | new arg "etaIdle" 763 762 | | yes | torrent-rename-path | new method 764 763 | | yes | free-space | new method 765 764 765 5.1. Upcoming Breakage 766 767 These features will be removed three months after 2.80's release: 768 769 1. session-get's 'download-dir-free-space' argument will be removed. 770 Its functionality has been superceded by the 'free-space' method. 771 772 2. HTTP POSTs to http://server:port/transmission/upload will fail. 773 It's been superceded by http://server:port/transmission/upload2. 774 Example in https://trac.transmissionbt.com/changeset/14005/#file8 775 NB: not to be confused with section 3.4's torrent-add method. 776 /upload and /upload2 are undocumented features to help web clients 777 upload .torrent files. -
trunk/libtransmission/quark.c
r13991 r14009 79 79 { "doneDate", 8 }, 80 80 { "download-dir", 12 }, 81 { "download-dir-free-space", 23 }, 81 82 { "download-queue-enabled", 22 }, 82 83 { "download-queue-size", 19 }, -
trunk/libtransmission/quark.h
r13991 r14009 89 89 TR_KEY_doneDate, 90 90 TR_KEY_download_dir, 91 TR_KEY_download_dir_free_space, 91 92 TR_KEY_download_queue_enabled, 92 93 TR_KEY_download_queue_size, -
trunk/libtransmission/rpc-test.c
r13991 r14009 107 107 check (tr_variantDictFind (args, TR_KEY_dht_enabled) != NULL); 108 108 check (tr_variantDictFind (args, TR_KEY_download_dir) != NULL); 109 check (tr_variantDictFind (args, TR_KEY_download_dir_free_space) != NULL); 109 110 check (tr_variantDictFind (args, TR_KEY_download_queue_enabled) != NULL); 110 111 check (tr_variantDictFind (args, TR_KEY_download_queue_size) != NULL); -
trunk/libtransmission/rpcimpl.c
r13991 r14009 27 27 #include "fdlimit.h" 28 28 #include "log.h" 29 #include "platform.h" /* tr_device_info_get_free_space() */ 29 30 #include "rpcimpl.h" 30 31 #include "session.h" … … 1883 1884 static const char* 1884 1885 sessionGet (tr_session * s, 1885 tr_variant 1886 tr_variant 1886 tr_variant * args_in UNUSED, 1887 tr_variant * args_out, 1887 1888 struct tr_rpc_idle_data * idle_data UNUSED) 1888 1889 { … … 1904 1905 tr_variantDictAddStr (d, TR_KEY_config_dir, tr_sessionGetConfigDir (s)); 1905 1906 tr_variantDictAddStr (d, TR_KEY_download_dir, tr_sessionGetDownloadDir (s)); 1907 tr_variantDictAddInt (d, TR_KEY_download_dir_free_space, tr_device_info_get_free_space (s->downloadDir)); 1906 1908 tr_variantDictAddBool (d, TR_KEY_download_queue_enabled, tr_sessionGetQueueEnabled (s, TR_DOWN)); 1907 1909 tr_variantDictAddInt (d, TR_KEY_download_queue_size, tr_sessionGetQueueSize (s, TR_DOWN));
Note: See TracChangeset
for help on using the changeset viewer.