1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00
Commit graph

2342 commits

Author SHA1 Message Date
Charles Kerr
dce5997f29 (trunk) fix another new bencode bug. add some more unit tests for benc. 2009-04-05 23:16:45 +00:00
Charles Kerr
8f256a4648 (trunk libT) update one of the validity tests to understand the bool and double types 2009-04-05 21:33:06 +00:00
Charles Kerr
248a0c7fcb (trunk) change the bencode type enum to prevent OS-level collision 2009-04-05 18:02:11 +00:00
Charles Kerr
8a8c8711d8 (trunk) Use proper notation for json floating-point and bool types. For backwards compatability, still allow old-style printf strings as doubles, and 0s and 1s as bools. 2009-04-05 17:52:21 +00:00
Charles Kerr
6bcce280dc (trunk) back out the avahi patch 2009-04-05 17:34:34 +00:00
Charles Kerr
3ef8240b80 (trunk) If avahi's zeroconf implementation is available, use it to advertise our web ui 2009-04-05 15:49:03 +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
1e327f593d (trunk libT) #1966: add explicit support for preallocating files on XFS filesystems 2009-04-05 14:04:07 +00:00
Charles Kerr
822a192758 (trunk libT) fix Solaris build error reported by wereHamster 2009-04-05 13:56:41 +00:00
Charles Kerr
836330d834 (trunk libT) fix xdg oops 2009-04-05 13:41:38 +00:00
Charles Kerr
fa7f320f5b (trunk libT) #1957: tr_getDownloadDir() should honor XDG 2009-04-05 13:33:32 +00:00
Charles Kerr
9e9743c6b1 (trunk libT) re-add the curl "easy queue" from 1.4x to queue libcurl tasks to ameliorate complaints of "too many open files" 2009-04-05 13:00:17 +00:00
Charles Kerr
2e9546d70e fix oops 2009-04-04 05:32:37 +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
7f99b81293 whoops 2009-04-03 04:31:25 +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
2290c49898 (trunk) add a did-the-user-do-this flag to the "alt speed toggled" callback 2009-03-30 17:25:35 +00:00
Charles Kerr
73b546c817 (trunk libT) possible fix for #1894: Crash when download finishes and seed ratio is already met 2009-03-30 05:30:28 +00:00
Charles Kerr
beb71cd7ed (trunk) make tr_bencGetReal() work better in i18n settings 2009-03-30 04:45:40 +00:00
Charles Kerr
b827a37dbd (trunk libT) add tr_bencGetBool() and tr_bencGetDouble() 2009-03-30 01:46:48 +00:00
Charles Kerr
5be5c803b9 (trunk) add arg "percentDone" to RPC "torrentGet" 2009-03-30 00:57:41 +00:00
Charles Kerr
730dd0ec20 (trunk) fix oops 2009-03-29 23:13:46 +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
adc5bec662 (trunk libT) silence a couple of session.c warnings from last night 2009-03-29 16:44:59 +00:00
Mitchell Livingston
66850624c5 ensure alt speed limit is set on launch when using the scheduler 2009-03-28 20:07:38 +00:00
Mitchell Livingston
1a716f2c76 on startup, if the speed limit timer is set, check the timer and ignore TR_PREFS_KEY_ALT_SPEED_ENABLED 2009-03-28 19:53:44 +00:00
Mitchell Livingston
828e0356cc improve the logic when toggling the use of the speed limit timer 2009-03-28 19:46:34 +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
93ffda5b5a (trunk) fix a bug with the new libT alt speed limit code 2009-03-27 01:39:35 +00:00
Erick Turnquist
2f8d56e77f (trunk libT) make IPv6's two IPv4-compatible address formats invalid peer addresses
IPv4 peers should only be seen from an IPv4-connected tracker.
2009-03-27 01:31:17 +00:00
Erick Turnquist
dd7eb76718 (trunk libT) remove tr_suspectAddress() since all seems well 2009-03-27 01:14:25 +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
d2d2364077 (trunk libT) modification to r8088 at livings1's request: make sure the alternate speed test takes place at the top of the minute 2009-03-25 19:50:58 +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
5df2570fdf (trunk libT) make tr_localtime_r() a public function 2009-03-25 18:42:39 +00:00
Charles Kerr
81c431d006 (trunk libT) make rpcimpl.h includable from C++
M    rpcimpl.h
2009-03-25 18:41:48 +00:00
Erick Turnquist
81a01fe1d3 (trunk libT) re-add rpc password to settings benc dict 2009-03-25 00:36:11 +00:00
Charles Kerr
9ca15eb183 (trunk libT) wrap rpcimpl.h in 'namespace "C"' when #included from C++ 2009-03-25 00:15:42 +00:00
Erick Turnquist
4b92e07ce0 (trunk libT) fix a couple warnings from r8080 2009-03-24 21:49:19 +00:00
Charles Kerr
0a6ab3014c (trunk libT) #1944: Web Client 301 redirect violates w3c.org specification 2009-03-24 17:11:53 +00:00