1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
Commit graph

398 commits

Author SHA1 Message Date
Charles Kerr
57716a0950 (trunk libT) #2211: Behaviour when tracker barfs 2009-08-11 21:31:33 +00:00
Charles Kerr
1c3b53244d (trunk) clean up the return value of tr_torrentParse() 2009-08-05 01:59:16 +00:00
Charles Kerr
a4767894e7 (trunk) #1400, #2308: differentiate warnings and errors; differentiate between local messages and messages from the tracker 2009-08-05 01:25:36 +00:00
Charles Kerr
5258ac0a83 (trunk libT) #2234: add support for setting the file creation umask 2009-07-02 02:37:49 +00:00
Charles Kerr
58ba65f55b (trunk, gtk/qt) use Monsoon's strings for encryption preferences and Deluge's system tray tooltip. 2009-06-30 18:08:50 +00:00
Charles Kerr
ae8783d6e9 (trunk libT) this is so minor I hesitate to commit it, but... save 16 bytes per torrent by more efficient alignment of tr_info's fields :) 2009-06-24 04:36:18 +00:00
Charles Kerr
452cb27f9e (trunk libT) re-start work on making libT doxygen friendly. still a long ways to go on this. 2009-05-29 19:17:12 +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
3d7cc36424 (trunk) #7: DHT support. This is a work in progress... no gui/rpc support yet 2009-05-19 18:38:26 +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
6559fbbd16 (trunk) support an X-Transmission-Session-Id header in the RPC server. Yesterday's approach of including the session_id in posted forms -- which is a typical approach -- isn't sufficient for Transmission, since it also allows remote access via JSON/RPC. (part 1 of 2. part 2 is kjg's web ui patch) 2009-05-08 14:56:11 +00:00
Charles Kerr
7f60d9db17 (trunk gtk) #1473: Properties dialog should let you edit/view multiple torrents at once 2009-04-24 01:37:04 +00:00
Charles Kerr
03fa0b3e7d (trunk) experimental support for tr_torrentSetPriority() 2009-04-18 23:17:30 +00:00
Charles Kerr
e2b7b05e55 (trunk) remove obscure macro 2009-04-17 17:34:21 +00:00
Charles Kerr
cdd779bb2a (trunk libT) fix long-standing wart of a few public API calls returning strdup'ed char*, rather than a const char* like all the others 2009-04-16 19:14:37 +00:00
Erick Turnquist
2719372bc6 (trunk) #1497 Options to listen on specific network sockets 2009-04-15 21:05:58 +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
81766a8dcb (trunk libT) another possible fix for #1894: Crash when download finishes and seed ratio is already met 2009-04-09 14:10:31 +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
Mitchell Livingston
aab0c1b87c #1969 separate picking a random port from choosing a random port at startup 2009-04-03 04:29:27 +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
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
f1d92708e7 (trunk) more speedlimit work 2009-03-28 16:47:01 +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
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
Erick Turnquist
81a01fe1d3 (trunk libT) re-add rpc password to settings benc dict 2009-03-25 00:36:11 +00:00
Mitchell Livingston
50c9385ceb #1276 encrypt the password to access web client interface using SHA-2 2009-03-17 21:50:20 +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
Mitchell Livingston
2dabe5ce34 move the percent to the stop ratio into libtransmission 2009-03-01 23:48:04 +00:00
Charles Kerr
52777f376f (trunk libT) make TR_DEFAULT_PEER_SOCKET_TOS_STR default to "0" based on a suggestion from sylware in #transmission 2009-02-20 17:34:35 +00:00
Mitchell Livingston
39b0108366 have the mac ui use libT's ratio settings (attempt 1); when seed ratio is reached in libT, set the seed ratio setting to "seed forever" 2009-02-14 21:15:57 +00:00
Mitchell Livingston
fa3b9a12c5 eta will now indicate time remaining to reach seed ratio when seeding 2009-02-14 05:15:23 +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
c99f941d16 (trunk libT) make file preallocation optional via settings.json. choices are: full, sparse, and none 2009-01-16 16:38:16 +00:00
Charles Kerr
08403324bd (trunk libT) Remove tr_torrentNext() from the public libT API (wereHamster) 2009-01-13 16:39:19 +00:00
Charles Kerr
2f6b56671f (trunk libT) win32 portability patch from Alexey 2009-01-11 17:02:04 +00:00
Charles Kerr
c6a454d2e2 (trunk libT) win32 portability fixes, reported by Alexey 2009-01-10 02:22:13 +00:00
Charles Kerr
2702fc289a (trunk libT) finally get around to making upload-slots-per-torrent a settings.json option, thanks to friendly prodding from ful in #transmission 2009-01-09 15:45:44 +00:00
Charles Kerr
55aa6d834f (trunk libT) make the default number of open files 32 rather than 16, and make it configurable via settings.json. (Reported by Lucius Windschuh via denis_) 2009-01-08 19:20:24 +00:00
Charles Kerr
b41cf9f231 (trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_bandwidth, contain the it directly rather than a pointer to one allocated elsewhere on the heap. 2009-01-02 19:56:06 +00:00
Charles Kerr
199e38dd66 (trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap. 2009-01-02 17:01:55 +00:00
Charles Kerr
d6b4db4a78 (trunk libT) add "inline" hint to several one-liner functions 2009-01-02 06:28:22 +00:00
Charles Kerr
5e806dc816 * add autoconf test AC_C_INLINE to do the Right Thing for "inline", "__inline__", and "__inline".
* make tr_isAddress(), tr_isDirection(), and a bunch of the tr_torrent() macro functions into true inline functions
2009-01-02 05:11:50 +00:00
Charles Kerr
0cd572a0da (trunk libT) make tr_isAddress() and tr_isDirection() inline 2009-01-02 04:47:37 +00:00
Charles Kerr
694a980348 (trunk daemon) #1618: patch from er13 to make transmission-daemon's encryption, port, and peer limit command-line arguments similar to transmission-remote's 2008-12-30 18:18:34 +00:00
Charles Kerr
dfcc9173e5 (trunk libT) #include "session.h" cleanup from wereHamster 2008-12-23 17:27:15 +00:00
Charles Kerr
303356d110 (trunk) #1029: When removing local data only remove data from the torrent 2008-12-23 16:04:11 +00:00
Charles Kerr
55f263312f (trunk) patch from wereHamster to finish off tr_handle 2008-12-22 19:14:43 +00:00
Charles Kerr
acdd8c860c (trunk libT) minor cleanups found while diffing for backport to 1.4x in r7455 2008-12-22 00:52:44 +00:00
Charles Kerr
8556ce653f (trunk libT) comments, tr_bool correctness, better runtime tests. 2008-12-21 18:15:00 +00:00
Charles Kerr
a9f8c517a0 (trunk) fix gtk bug of not remembering users' settings for per-torrent peer limits 2008-12-14 22:57:08 +00:00
Mitchell Livingston
02521f4bf8 simplify the "randomize port" text 2008-12-14 00:50:41 +00:00
Mitchell Livingston
2707962707 #1559 Simplify tr_sessionInitFull - Mac client 2008-12-14 00:31:33 +00:00
Charles Kerr
78a68337fd (trunk libT) remove unneeded key 2008-12-14 00:23:00 +00:00
Charles Kerr
f1419a95c0 (trunk libT) semantic cleanup: int -> tr_bool 2008-12-13 23:39:12 +00:00
Charles Kerr
6b0d98a695 (trunk) #1559: Simplify tr_sessionInitFull 2008-12-13 23:17:36 +00:00
Charles Kerr
35f40bdfa6 (trunk libT) #1593: Setting upload to 0 kills all download 2008-12-13 22:52:15 +00:00
Mitchell Livingston
7b17087c70 #1157 ability to pick a random port in libtransmission; mac preference to pick a random port on launch and on button click 2008-12-11 04:41:23 +00:00
Charles Kerr
3a970c9fd9 (trunk libT) fix INET6_ADDRSTRLEN build error on cygwin, reported by stdisease in #transmission 2008-12-09 20:56:24 +00:00
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
92dff35710 (libT) more tr_bool, tr_port junk 2008-12-03 07:10:09 +00:00
Charles Kerr
aa9b1d2b8e (libT) misc cleanup: use tr_bool and tr_port where appropriate 2008-12-03 04:55:10 +00:00
Charles Kerr
166c6e5f3c (libT) add tr_peer_stat.isSeed 2008-12-02 23:16:01 +00:00
Charles Kerr
d4ee0d714a (libT) #1379: support "partial seeds" BEP 22 2008-12-02 19:46:51 +00:00
Charles Kerr
0d5fed6442 (libT) re-apply jhujhiti's IPv6 patch. This merges in my tr_port cleanup, so any new bugs are mine :/ 2008-12-02 03:41:58 +00:00
Charles Kerr
a14621c363 (libT) janitorial: use the tr_port type whenever we have a `port' as a function argument or as a field in a struct. 2008-12-01 20:51:01 +00:00
Charles Kerr
7fa9813955 (libT) #252: revert r7195 (jhujhiti's IPv6 test patch). It seems to be the culprit in a `thrashing' issue reported by Waldorf and m1b in irc -- the behavior appeared between r7183 and r7187 -- so this commit is to trigger off a nightly build w/o the patch to test with in irc. 2008-12-01 20:21:06 +00:00
Charles Kerr
c910993b68 #1379 lay some very early groundwork for "partial seeds" -- change tr_completion's enum to use the partial seed terminology 2008-11-30 01:52:45 +00:00
Charles Kerr
a2ad4f6543 (libT) patch from jhujhiti to add ipv6 support. 2008-11-30 00:47:18 +00:00
Charles Kerr
d12af295c1 use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx) 2008-11-28 22:11:41 +00:00
Charles Kerr
a1cd6d85dc (libT) add #ifdefs to ensure that client apps don't #include private libtransmission headers. 2008-11-24 20:17:36 +00:00
Charles Kerr
0bcff74d52 minor code cleanup 2008-11-23 16:30:09 +00:00
Charles Kerr
f8a7c4b347 #1406: need tr_getDefaultDownloadDir() for consistency between apps 2008-11-15 17:39:54 +00:00
Charles Kerr
42fe27c067 more fucking around with the speed measurements. 2008-11-08 02:49:04 +00:00
Charles Kerr
10566eece9 (libT) #849: preallocate files when possible to prevent disk fragmentation 2008-11-05 05:56:06 +00:00
Charles Kerr
b263a5f0e2 (libT) tr_handle --> tr_session 2008-11-02 22:21:59 +00:00
Charles Kerr
188adb1d6a reverse patch #6948. one of the new gcc attributes seems to be causing trouble. 2008-10-23 02:37:21 +00:00
Charles Kerr
f0eddb5c20 (libT) move the TR_GNUC macros from utils.h to a standalone header file so other libT headers can use them without getting an extra dependency tree. 2008-10-22 18:42:37 +00:00
Charles Kerr
674307add7 Add a new token, TR_DEFAULT_ENCRYPTION, and use it as the default in the various clients.
Add a new #define, TR_EMBEDDED.  When it's set, gettext is disabled and non-encrypted connections are the default.
2008-10-22 17:16:12 +00:00
Charles Kerr
6c96058d32 (libT) add tr_getMessageQueuing() for Spry 2008-10-21 19:40:12 +00:00
Charles Kerr
0c4f300f1b #1369: clarify the different torrent status & callbacks' APIs and typenames 2008-10-20 17:54:56 +00:00
Charles Kerr
9d7ef3bf38 #1366: annotated the tr_info.torrent field to reflect its deprecated nature 2008-10-20 16:04:26 +00:00
Charles Kerr
2adcf84784 #1366: move tr_ctor{Set,Get}Save() to a package-private header. 2008-10-20 16:00:14 +00:00
Charles Kerr
67282cb794 further win32 portability fixes from Spry 2008-10-19 17:43:04 +00:00
Charles Kerr
b04be5fb2e make MAX_PATH_LENGTH private to libtransmission. add tr_dirname() and tr_basename() utility / portability wrappers 2008-10-14 03:39:16 +00:00
Charles Kerr
24b75a7d74 maybe fix the mac build 2008-10-03 04:57:06 +00:00
Charles Kerr
4fab4c9e9b (libT) finish killing tr_errno. 2008-10-03 04:49:06 +00:00
Charles Kerr
6cba9305ae add a separate flag for enabling/disabling the rpc address whitelist 2008-10-01 22:59:29 +00:00
Charles Kerr
bddf34d7a8 #1309: Web/RPC interface ACL ignored 2008-10-01 20:23:57 +00:00
Charles Kerr
8903960174 a little more cleanup of the rpc server stuff. 2008-09-26 04:41:13 +00:00
Charles Kerr
4c34b2bc89 rpc-server cleanups. add true wildmat control. break the Mac build a little harder. 2008-09-25 18:48:09 +00:00
Charles Kerr
cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Charles Kerr
4fe1e1dae3 first draft at having more accurate speed controls 2008-09-17 19:44:24 +00:00
Mitchell Livingston
7b62feac10 enable lazy bitfields 2008-08-26 21:44:51 +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