Commit Graph

62 Commits

Author SHA1 Message Date
Charles Kerr a33b78fc53 (daemon) #1510: kysucix's patch to give an option to delete local data via RPC when removing a torrent. 2008-12-09 17:01:49 +00:00
Charles Kerr 11e3957887 add "downloaders" to the spec; it's already in trunk 2008-12-04 00:27:04 +00:00
Charles Kerr bffb4e6d4c annotate the ut_pex message to (1) take partial seeds into account, and (2) tell not to send periodic pex messages when there are no added or dropped peers. 2008-11-30 01:15:43 +00:00
Charles Kerr d7b3024dbc (libT) #1488: peer port missing in json rpc interface 2008-11-20 20:39:19 +00:00
Charles Kerr 972964b641 make the json/benc mapping a little more explicit 2008-10-16 17:56:17 +00:00
Charles Kerr 8323fbf3f6 (rpc) fix the spec: recheckProgress is a 'double', not a whole number 2008-10-15 19:53:57 +00:00
Charles Kerr 1bd787bbfe clarify part of the RPC spec 2008-08-26 15:27:00 +00:00
Charles Kerr 82815a74d2 #1214: add RPC support for per-peer status,ul,dl,address info 2008-08-22 17:59:31 +00:00
Charles Kerr 9aeb9a86a3 tweak 2008-08-20 01:55:28 +00:00
Charles Kerr f205d487c6 fix a misplaced comma in the rpc spec's JSON example 2008-08-19 16:36:59 +00:00
Charles Kerr e8946b8691 fix a cut/paste error in the spec. 2008-08-13 17:02:51 +00:00
Charles Kerr 0cf05b8f2f fix an error in the rpc spec's example: "sort-method" didn't make the final cut, so remove it. 2008-08-13 16:57:12 +00:00
Charles Kerr d65470c9d3 * fix minor error in the rpc spec's examples
* refresh the display more often in the cli client
2008-07-27 14:31:18 +00:00
Charles Kerr 771f299c53 (rpc) to lower the bandwidth/cpu used up by very large torrent lists, allow finer-grained control over which fields to return in the `torrent-get' request. 2008-07-26 14:47:07 +00:00
Charles Kerr c06be77724 #1101 (rpc): add individual file progress to torrent-get's "files" message 2008-07-21 18:42:51 +00:00
Charles Kerr 2bd8dbf33a (rpc) allocate a bit in torrent-set/torrent-get for detailed peer information 2008-07-16 20:31:17 +00:00
Charles Kerr cd6ff83415 (RPC) make all the speed units consistent. 2008-06-22 13:44:50 +00:00
Charles Kerr 751c166e9f (rpc) remove the sort and filter options from the "torrent-get" rpc command. NOTE: probably breaks the mac build; xcode needs to drop "rpc-utils" from its list of libtransmission source files 2008-06-21 15:08:34 +00:00
Charles Kerr 5c3cb6fbf2 add `isPrivate' to the info section of the torrent-get method 2008-06-20 19:55:34 +00:00
Charles Kerr 509dbaae3d senseless RPC changes 2008-06-18 22:01:15 +00:00
Charles Kerr 4de77e3d2d fix very minor oops from previous commit. (hi, titer) 2008-06-17 16:35:33 +00:00
Charles Kerr 75cb355579 (rpc) fix sorting. simplify the spec, folding similar functions together 2008-06-17 16:25:13 +00:00
Charles Kerr 9ca2a3e0f8 (rpc) tweaks to the rpc spec. 2008-06-17 04:47:20 +00:00
Charles Kerr 518f277e9f (RPC) add utility arguments for torrent-info: sort by (activity|age|id|name|progress|ratio|state|tracker), filter by (active|all|downloading|paused|seeding) 2008-06-16 22:11:50 +00:00
Charles Kerr 6cce27bf54 (rpc) simplify the rpc accessors 2008-06-16 03:47:50 +00:00
Charles Kerr 10302af22a fix copy-and-paste error in the RPC spec. Thanks to KyleK for reporting this. 2008-06-10 00:18:17 +00:00
Charles Kerr 3a3397ca84 modify the torrent-list response as per Gimp_'s request 2008-06-04 07:06:47 +00:00
Charles Kerr f9e8b56816 add `hashString' to torrent-stat's response 2008-05-23 13:18:17 +00:00
Charles Kerr 9fdb8afdf0 (rpc) remove TR_RPC_TORRENT_CLOSING. formalize "torrent-list"'s response in the rpc spec. 2008-05-22 19:24:11 +00:00
Charles Kerr dceabc5661 make tr_stat identical in transmission.h and rpc-spec.txt. 2008-05-22 16:59:51 +00:00
Charles Kerr e406dcc2ab rename tr_torrentClose() as tr_torrentFree() and make it private. change client code to use tr_torrentRemove() instead. This fixes the confusion between the two methods that led to #954 2008-05-21 17:14:58 +00:00
Charles Kerr 9d7501bfd5 (rpc) ensure "doc/rpc-spec.txt" is added to the tarball 2008-05-21 14:31:43 +00:00
Charles Kerr c7b9c8c043 (#954) rpc: add "torrent-remove" method. rename tr_torrentDelete() as tr_torrentRemove() for consistency with various parts of the code. 2008-05-20 23:58:59 +00:00
Charles Kerr 7beacb3032 (1) RPC "add-torrent" now lets clients embed base64-encoded metainfo directly into the request
(2) remove the RISON code; it didn't make the final cut
(3) add base64 encode/decode utilities and unit tests
2008-05-20 17:33:54 +00:00
Charles Kerr 2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Charles Kerr b626d87121 update the rpc spec. 2008-05-16 07:31:22 +00:00
Charles Kerr dd3ce4c36c added "download-dir" to session variables.
added section describing uri notation.
2008-05-15 05:11:50 +00:00
Charles Kerr bfd89b685d more work on rpc. bug fixes, regression tests, and spec tweaks. 2008-05-13 17:31:09 +00:00
Charles Kerr 17b9dc7462 make the request/response messages a little terser. add per-torrent speed limit toggles. rename ipc -> rpc. 2008-05-12 23:51:17 +00:00
Charles Kerr be9427931a ipc: add session accessor/mutators.
transmission.h: make the session API more consistent.
2008-05-12 16:33:17 +00:00
Charles Kerr 2186d852f1 json ipc: implement torrent-add, torrent-set-file, torrent-get-file 2008-05-12 13:05:06 +00:00
Charles Kerr 63b82714f8 partial implementation of json-ipc backend: torrent start/stop/close/verify/stat/info, as are getting & setting per-torrent peer limits, upload speeds, and download speeds. this is a work in progress. 2008-05-12 00:41:55 +00:00
Charles Kerr 67068235a2 eliminate spec ambiguity from the last commit. it's stupid to have features like "set the 4th file in every torrent to high priority" 2008-05-10 22:14:19 +00:00
Charles Kerr eaa756c31f revised the spec based on Gimp_ and hawkman's feedback: (1) made a manditory `result' argument to tell if a request was successful or not. (2) spec'ed out how to get/set a torrent's up/down speeds and peer limit (3) spec'ed out how to set file priorities and DND 2008-05-10 22:03:03 +00:00
Charles Kerr 3fd25afd10 fix an error in the examle. 2008-05-10 16:59:44 +00:00
Charles Kerr be95ad8333 readability. better explain the response arguments a bit. 2008-05-10 16:38:42 +00:00
Charles Kerr b33d40c47e readability 2008-05-10 16:11:00 +00:00
Charles Kerr 74f0e7d36c (very) rough draft of the new ipc protocol 2008-05-10 14:29:59 +00:00
Charles Kerr f0f8cfae50 finish documentation for the "encryption" message and add an option for "plaintext preferred" to transmission-remote 2008-04-05 16:32:09 +00:00
Charles Kerr 8e8ef70856 fix typo 2008-02-27 17:43:27 +00:00