Charles Kerr
dcecf09d96
bencode cleanup: remove unused functions and unnecessary #includes
2008-08-21 14:57:59 +00:00
Charles Kerr
812b6a1218
roll back the last two diffs (r6582 and r6583) in favor of a simpler/cleaner/better fix
2008-08-18 03:44:09 +00:00
Charles Kerr
0396d9691f
(libT) better handling of non-ascii characters when parsing JSON files
2008-08-18 03:10:59 +00:00
Charles Kerr
94c106388b
(libT) don't use goto when we don't have to :)
2008-08-14 11:45:12 +00:00
Mukund Sivaraman
3895b39d60
Fix leak of torrents
2008-08-14 10:39:27 +00:00
Charles Kerr
f4a5315ec4
#1156 : make the RPC callbacks a little more flexible to make thread issues easier on the mac client
2008-08-14 02:12:29 +00:00
Charles Kerr
c75c512ff1
readability improvments #1 , #2 , #3 , #4 . (muks)
2008-08-12 13:51:11 +00:00
Charles Kerr
51aff87443
lots of C correctness tweaks suggested by sparse/cgcc
2008-08-11 19:05:02 +00:00
Charles Kerr
b860119cd3
minor text cleanup
2008-08-01 16:43:22 +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
7372c4f39f
add more rpc unit tests. man page cleanups.
2008-07-21 16:11:47 +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
af626c9e0b
(clutch) fix error with setting the incoming port via clutch preferences. reported by lolek in irc
2008-07-16 20:06:28 +00:00
Charles Kerr
92c42168ee
fix rpc `uploadRatio' field as reported by blueluna
2008-07-15 03:26:01 +00:00
Charles Kerr
45a216bdc2
(daemon) let file download flags and priorities be set by transmission-remote. Add examples to the man page and --help.
...
(libT) minor tweaks to tr-getopt
(gtk) tweak the preference dialog's "port forwarding" text for clarity as suggested in the forums
2008-07-10 20:59:15 +00:00
Charles Kerr
1b8435aa02
(1) remote: fix bug with specifying torrent id for file list.
...
(2) very minor cleanup
2008-07-10 14:20:36 +00:00
Charles Kerr
6059240cb2
spec fix: timesCompleted is an int, not a double.
2008-07-07 06:06:00 +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
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
3a3397ca84
modify the torrent-list response as per Gimp_'s request
2008-06-04 07:06:47 +00:00
Charles Kerr
f61205e708
fix svn id property
2008-05-28 17:17:12 +00:00
Charles Kerr
0ab37e45d5
(rpc)
...
1. fix #968 : 'transmission-remote -r' deletes all
2. fix error in escaping control characters when serializing tr_benc to JSON
3. fix small memory leak in rpc command parsing
2008-05-24 18:22:16 +00:00
Charles Kerr
d18fb68fbc
sine we now have two public ports (peer and rpc), rename "publicPort" as "peerPort"
2008-05-23 16:18:58 +00:00
Charles Kerr
f9e8b56816
add `hashString' to torrent-stat's response
2008-05-23 13:18:17 +00:00
Charles Kerr
0621c67c41
more cleanup work:
...
(1) kill the pointless "tr_tracker_stat" struct.
(2) kill the unused "tr_torrentRemoveSaved()" function.
(3) kill the redundant "nextManualAnnounceTime" variable.
(4) make the TR_ERROR_IS_* macros private.
2008-05-22 23:11:21 +00:00
Charles Kerr
26b5a16630
(libt) more janitorial work on cleaning up tr_session*() and tr_torrent*() functions: session stats, torrent count, and manual update.
2008-05-22 20:44:41 +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
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
bfd89b685d
more work on rpc. bug fixes, regression tests, and spec tweaks.
2008-05-13 17:31:09 +00:00
Charles Kerr
6aaa2fd39e
fix bug in the benc-to-json converter.
...
add rison-to-json converter so we can pass commands to transmission in a uri.
add unit tests for the new code.
2008-05-13 12:52:58 +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