Commit Graph

74 Commits

Author SHA1 Message Date
Charles Kerr cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Charles Kerr 1c3b53244d (trunk) clean up the return value of tr_torrentParse() 2009-08-05 01:59:16 +00:00
Charles Kerr ffc54a8c7e (trunk) #2245: defined macros 2009-06-25 01:57:31 +00:00
Charles Kerr 6f40f83a1f (trunk) #2204: wrong variable used in rpc-impl for webseedCount 2009-06-12 12:10:09 +00:00
Charles Kerr 4c02edf6d4 (trunk libT) fix a minor tr-dht memory leak found by valgrind. 2009-06-03 23:42:13 +00:00
Charles Kerr 9238fb0299 (trunk) #2131: clean up benc read/write API 2009-06-02 01:48:48 +00:00
Charles Kerr 7f85090587 (trunk) add a "source" argument to tr_jsonParse() so that if there's an error we can log the filename, or that it came from rpc, etc. 2009-06-01 18:57:37 +00:00
Charles Kerr 73add1f2f9 (trunk) add hooks for disabling/enabling DHT in gtk client, qt client, and transmission-remote 2009-05-21 00:15:54 +00:00
Charles Kerr 7d844ec279 (trunk) #920 Add "Move Data" to libT so all clients can use it 2009-05-20 16:02:12 +00:00
Charles Kerr 1c3f3acbca (trunk) add an option to the JSON generator to disable the human-readable indentations. Keep indenting the data files such as settings.json, but don't indent the messages used for RPC. This cuts the cost of deflate()ing those RPC messages by about 80%... 2009-05-16 05:51:52 +00:00
Charles Kerr bd4f0e5c37 (trunk libT) speed up rpcimpl's torrentGet() by about 75% 2009-05-15 20:00:12 +00:00
Charles Kerr 29b1d3e2cc (trunk) #920: add "move data" to libT so all clients can use it 2009-05-13 15:54:04 +00:00
Charles Kerr 0209b783eb (trunk) #2031: Unable to select torrent by hash 2009-05-08 17:24:16 +00:00
Charles Kerr 879f287c9a (trunk libT) remove debugging message that got committed by accident :/ 2009-04-26 00:52:48 +00:00
Charles Kerr 94c1b90fe1 (trunk libT) small bandwidth patch from wereHamster 2009-04-25 19:04:48 +00:00
Charles Kerr e3994f90df (trunk) #1997: rpc spec cleanup 2009-04-19 17:02:27 +00:00
Charles Kerr 03fa0b3e7d (trunk) experimental support for tr_torrentSetPriority() 2009-04-18 23:17:30 +00:00
Charles Kerr 03a7251054 (trunk) make it possible to #include "version.h" without having to add -I${TOP}/libtransmission/ to your CFLAGS 2009-04-13 19:04:21 +00:00
Charles Kerr 221b6903ee (trunk rpc) bump rpc-version to "5" to denote the new features are present since 1.5x 2009-04-13 15:55:06 +00:00
Charles Kerr 640c9a25dd (trunk libT) update the blocklist URL to "http://update.transmissionbt.com/level1" 2009-04-07 20:38:15 +00:00
Charles Kerr f4c0b8c3c2 (trunk libT) fix typo 2009-04-06 20:33:50 +00:00
Charles Kerr 0727849c7f (trunk rpc) add a method to make the daemon test & see if the incoming peer port is open 2009-04-06 16:36:00 +00:00
Charles Kerr fa509c1e90 (trunk) fix another rpc seed-ratio problem reported by livings 2009-04-05 15:37:45 +00:00
Charles Kerr a1adee368f (trunk)
1. add to the "recently-changed" torrent a list of recently-removed torrent ids.
2. make the day-of-week alt speed a bitfield of days or'ed together, so that you can have (say) speed limits on monday and wednesday
2009-04-04 05:29:08 +00:00
Mitchell Livingston f3cf4b4ef5 libT support for #1679 Schedule Speed Limit mode based on days, not just time 2009-04-04 02:17:39 +00:00
Charles Kerr cb179b58ba (trunk rpc) add rpc command to tell libtransmission when to update its blocklist 2009-04-03 23:21:40 +00:00
Mitchell Livingston aab0c1b87c #1969 separate picking a random port from choosing a random port at startup 2009-04-03 04:29:27 +00:00
Mitchell Livingston a621b7eedb attempt to add random-port functionality to the rpc code 2009-04-03 03:40:37 +00:00
Charles Kerr 96b726c08a (trunk rpc) add "torrentFile" to the list of allowed arguments to the "torrent-get" method 2009-04-02 22:59:30 +00:00
Charles Kerr b6daa50ecf (trunk rpc) add the ability to set file priorities and download flags when adding a new torrent via rpc 2009-04-02 20:43:42 +00:00
Charles Kerr c3b24bc471 (trunk) modify tr_torrentParse() and tr_torrentNew() arguments s.t. they use the ctor's session instead of passing it in again. Allow a NULL session pointer for some cases of tr_torrentParse(). 2009-04-02 17:30:29 +00:00
Charles Kerr e649e80fe5 (trunk rpc) added "fileStats" to rpc s.t. there's a simple interface for getting all the torrent's stat fields 2009-03-31 22:13:43 +00:00
Charles Kerr 5be5c803b9 (trunk) add arg "percentDone" to RPC "torrentGet" 2009-03-30 00:57:41 +00:00
Charles Kerr f4557fab8e (trunk) use tr_bencDict{Find,Add}Bool() where appropriate 2009-03-29 23:05:32 +00:00
Charles Kerr d2d507725b (trunk rpc) add "seed ratio" feature to RPC 2009-03-29 18:45:35 +00:00
Charles Kerr f1d92708e7 (trunk) more speedlimit work 2009-03-28 16:47:01 +00:00
Charles Kerr bed0681dd9 (trunk rpc) add peer-limit to torrent-get 2009-03-27 12:05:41 +00:00
Charles Kerr 57fe19acd6 (trunk) roll back a couple of the RPC naming changes for slightly better compatiblity with 1.5x 2009-03-27 01:40:51 +00:00
Charles Kerr cc1a4ec1e9 (trunk) rpc changes:
1. new field "blocklist-size" to session-info, so RPC clients can know how big the blocklist is
2. new method "torrent-reannounce" so RPC clients can ask the tracker for more peers
2009-03-26 18:06:54 +00:00
Charles Kerr b1fc4ed8c4 (trunk) #1950: Add off-peak hour bandwidth limiting to libtransmission, rpc 2009-03-25 19:18:00 +00:00
Charles Kerr 5cd6c41ec7 (trunk rpc) added "recently-active" as a valid "ids" argument in torrent-get, etc. 2009-03-23 00:16:37 +00:00
Charles Kerr 41b0cc8cdd (trunk) libT and gtk+ parts for #1889: per-torrent vs. global speed limit confusion 2009-03-04 19:52:57 +00:00
Charles Kerr 74e544ca22 (trunk libT) when a "torrent-set" request is sent to change files' priorities and/or download flags, and some of the file indices are out-of-range, return an error message in the rpc response's "result" string. 2009-03-03 20:06:45 +00:00
Charles Kerr e47808c277 (trunk) #1608: Completed pieces bitfield in rpc 2009-03-02 05:48:32 +00:00
Charles Kerr 3f9a1d090b (trunk) #1787: add support for seeding ratio limiting in libtransmission 2009-02-13 18:23:56 +00:00
Charles Kerr 65bba3fdfb (trunk libT) #1671: transmission-remote --get option not including all files 2009-02-09 17:25:48 +00:00
Charles Kerr c08f370e8a (trunk libT) #1798: TM crashes when receiving malformed JSON packet 2009-02-09 16:01:10 +00:00
Charles Kerr 13c22f88ff (trunk libT) fix some code that the newly-added gcc warnings didn't like 2009-01-23 18:44:15 +00:00
Charles Kerr dfd5c70916 (trunk libT) fix crash-on-add-torrent-from-clutch reported by anf6 2009-01-20 02:03:09 +00:00
Charles Kerr 2131e8f403 (trunk libT) fix two bugs introduced yesterday's add-torrent changes and uncovered/reported by anf6 2009-01-19 21:37:34 +00:00