]>
granicus.if.org Git - transmission/log
Mitchell Livingston [Fri, 11 Mar 2011 11:53:21 +0000 (11:53 +0000)]
fix Mac build
Jordan Lee [Fri, 11 Mar 2011 05:48:57 +0000 (05:48 +0000)]
(trunk libT) fix r12127 bug with delegating https trackers
Jordan Lee [Fri, 11 Mar 2011 04:57:53 +0000 (04:57 +0000)]
(trunk libT) optimization for ocelot.
When seeding on a private tracker, ocelot omits other seeds from the list of peers returned. We can test for this and update our "seed probability" field accordingly.
Jordan Lee [Fri, 11 Mar 2011 04:19:01 +0000 (04:19 +0000)]
(trunk libT) #117 "UDP tracker protocol support (BEP #15)" -- refactor announcer.c so that alternate tracker protocols can be supported.
This commit adds a set of package-visible structs and functions to allow delegating announces and scrapes to different protocol handlers. (Examples: struct tr_announce_request, struct tr_announce_response, struct tr_scrape_request, struct tr_scrape_response.) HTTP is the only protocol handler currently implemented; however, this provides a clean API for other protocol handlers, and having this in trunk will help shake out any bugs in this refactoring.
In addition, logging via the TR_DEBUG_FD environment variable is vastly improved in the announcer module now.
Jordan Lee [Fri, 11 Mar 2011 04:10:28 +0000 (04:10 +0000)]
(trunk gtk) fix 2.22+ time display regression in the GTK+ client.
Mitchell Livingston [Fri, 11 Mar 2011 02:29:42 +0000 (02:29 +0000)]
silence more warning by explicitly setting some file encodings
Mitchell Livingston [Fri, 11 Mar 2011 01:58:44 +0000 (01:58 +0000)]
silence a warning
Mitchell Livingston [Fri, 11 Mar 2011 01:42:19 +0000 (01:42 +0000)]
Resize the "recycle" cleanup icon
Mitchell Livingston [Fri, 11 Mar 2011 00:22:51 +0000 (00:22 +0000)]
Remove PPC support; remove a whole bunch of unneeded build settings.
Jordan Lee [Thu, 10 Mar 2011 12:35:23 +0000 (12:35 +0000)]
(trunk libT) Add an enumeration for the peer id length. Use that enum for the peer_id fields in tr_session and tr_torrent.
This also avoids an extra malloc/free per-torrent and per-session, but mostly this tweak is for the extra readability of the PEER_ID_LEN=20 enum.
Jordan Lee [Thu, 10 Mar 2011 11:46:22 +0000 (11:46 +0000)]
(trunk libT) use a hex key for tracker announces.
Mitchell Livingston [Thu, 10 Mar 2011 01:37:58 +0000 (01:37 +0000)]
#4093 Peer and network settings accessible through the Web Client
Mitchell Livingston [Thu, 10 Mar 2011 01:36:51 +0000 (01:36 +0000)]
add a button to the bottom-left of the main window to clean up all completed transfers
Juliusz Chroboczek [Wed, 9 Mar 2011 15:31:54 +0000 (15:31 +0000)]
Protect against broken implementations of monotonic time.
Fixes #4090.
Mitchell Livingston [Tue, 8 Mar 2011 23:35:37 +0000 (23:35 +0000)]
#4099 add 'not equal' in groups preferences
Mitchell Livingston [Tue, 8 Mar 2011 00:20:58 +0000 (00:20 +0000)]
hard-code the status bar and filter bar height, so that the max window size factors in their height
Jordan Lee [Mon, 7 Mar 2011 15:05:42 +0000 (15:05 +0000)]
(trunk qt) #3570 "Russian Translation" -- updated.
Jordan Lee [Mon, 7 Mar 2011 15:02:40 +0000 (15:02 +0000)]
(trunk daemon) #4094: "move 'Ratio Limit' to 'LIMITS & BANDWIDTH section'" -- fixed.
Jordan Lee [Mon, 7 Mar 2011 14:59:47 +0000 (14:59 +0000)]
(trunk libT) #4084 "after reaching seed state, no new peers are acquired" -- possible fix.
This revises r12110 based on feedback from sadface about the use of tr_atom.uploadOnly.
Jordan Lee [Mon, 7 Mar 2011 14:33:45 +0000 (14:33 +0000)]
(trunk libT) copyediting.
1. make some accidentally-public functions/variables private
2. comment out tr_generateAllowedSet() since we're not using it
3. argument list indentation
Jordan Lee [Mon, 7 Mar 2011 04:48:46 +0000 (04:48 +0000)]
(trunk libT) simpler implementation of the idea behind the code removed in r12108 and r12109.
Jordan Lee [Mon, 7 Mar 2011 03:46:26 +0000 (03:46 +0000)]
(trunk libT) finish r12108
Jordan Lee [Sun, 6 Mar 2011 23:49:40 +0000 (23:49 +0000)]
experimental fix for #4084
Jordan Lee [Sun, 6 Mar 2011 15:06:38 +0000 (15:06 +0000)]
(trunk gtk) fix time display oops
Jordan Lee [Sun, 6 Mar 2011 05:41:41 +0000 (05:41 +0000)]
add a missing icon
Jordan Lee [Sat, 5 Mar 2011 19:15:37 +0000 (19:15 +0000)]
(trunk gtk) #4088 "Transmission needs 256x256 icon too" -- added large Tango icon by Andreas Nilsson. Thanks Andreas!
This larger icon is apparently needed for GNOME 3.
Jordan Lee [Sat, 5 Mar 2011 16:29:19 +0000 (16:29 +0000)]
(trunk libT) #4085 "transmission crashed when adding a new torrent: assert failed" -- possible fix?
Jordan Lee [Sat, 5 Mar 2011 16:19:56 +0000 (16:19 +0000)]
(trunk libT) #2338: "uTP support" -- enable uTP by default.
Mitchell Livingston [Sat, 5 Mar 2011 04:01:46 +0000 (04:01 +0000)]
update the Add Magnet window's minimum size to match its new size
Jordan Lee [Sat, 5 Mar 2011 03:51:57 +0000 (03:51 +0000)]
(trunk libT) #4083 "Wrong shades of progress in Inspector pieces view." -- fixed.
The problem was reported by Rolcol and tracked down by livings124. It's flashing orange because the completion in "availability" doesn't match the completion in in "progress", which corresponds with tr_torrentAvailability() and tr_torrentAmountFinished(). tr_cpGetAmountDone() was recently reworked in r12012 for #4048, which caused the problem. Both functions need to sample the torrent using the same methodology so that their results can be used together.
Mitchell Livingston [Sat, 5 Mar 2011 03:19:26 +0000 (03:19 +0000)]
cleaner fix for #4066
Mitchell Livingston [Fri, 4 Mar 2011 23:38:25 +0000 (23:38 +0000)]
(trunk) tweak NEWS; typo fix
Jordan Lee [Fri, 4 Mar 2011 23:26:10 +0000 (23:26 +0000)]
(trunk) copyediting: remove trailing spaces from source code lines in daemon/ gtk/ libtransmission/ and utils/
Jordan Lee [Fri, 4 Mar 2011 21:38:04 +0000 (21:38 +0000)]
(trunk libT) fix possible memory leak in tr-udp's EV_READ handler.
The EV_READ callback allocates a buffer, but then returns without freeing it if recvfrom() returns <= 0. This commit inverts the logic to avoid returning until the buffer's been free()d.
Jordan Lee [Fri, 4 Mar 2011 21:00:52 +0000 (21:00 +0000)]
(trunk libT) new function: tr_ssToAddr()
This handles converting the data in a sockaddr_storage to a tr_address + port, and removes redundant code from fdlimit.c and tr-udp.c that previously did this work.
Jordan Lee [Fri, 4 Mar 2011 17:33:29 +0000 (17:33 +0000)]
(trunk libT) #3208 "Local Peer Discovery idea: prioritize LPD requests for downloads" -- add patch from Eszet
Jordan Lee [Fri, 4 Mar 2011 15:49:51 +0000 (15:49 +0000)]
(trunk gtk) copyediting.
Jordan Lee [Fri, 4 Mar 2011 15:21:00 +0000 (15:21 +0000)]
(trunk gtk) remove unused code: gtr_warn_if_fail()
Jordan Lee [Fri, 4 Mar 2011 14:31:23 +0000 (14:31 +0000)]
(trunk gtk) minor copyediting for clarity/readability
Jordan Lee [Fri, 4 Mar 2011 05:58:32 +0000 (05:58 +0000)]
(trunk gtk) #4080 "Toggling speed limit mode from the web interface doesn't affect GUI" -- fixed.
Jordan Lee [Fri, 4 Mar 2011 04:50:50 +0000 (04:50 +0000)]
(trunk) #4072 "remove the 'know peer count' field in Inspector" -- remove it from libtransmission too
Jordan Lee [Fri, 4 Mar 2011 04:45:34 +0000 (04:45 +0000)]
(trunk libT) fix tr_ctorFree() crash reported by Rolcol
Jordan Lee [Fri, 4 Mar 2011 04:45:12 +0000 (04:45 +0000)]
(trunk libT) fix peerDestruct() crash when peer doesn't have a corresponding atom
Mitchell Livingston [Fri, 4 Mar 2011 03:13:35 +0000 (03:13 +0000)]
typo fix
Mitchell Livingston [Fri, 4 Mar 2011 03:13:15 +0000 (03:13 +0000)]
remove unused totalPeersKnown method
Mitchell Livingston [Fri, 4 Mar 2011 02:58:08 +0000 (02:58 +0000)]
#4072 Remove "known" field in Inspector->Peers
Mitchell Livingston [Fri, 4 Mar 2011 00:10:12 +0000 (00:10 +0000)]
(trunk) bump to 2.22+
Mitchell Livingston [Thu, 3 Mar 2011 22:54:55 +0000 (22:54 +0000)]
update xcodeproj
Jordan Lee [Thu, 3 Mar 2011 21:51:11 +0000 (21:51 +0000)]
(trunk libT) a bit of futzing: remove a few more unnecessary casts from void*
Jordan Lee [Thu, 3 Mar 2011 19:59:12 +0000 (19:59 +0000)]
(trunk libT) add an "existing dir" argument to tr_fdFileCheckout().
existing_dir: An ancestor of filename which must already exist and won't be created by tr_fdFileCheckout(). In implementation this is the download directory and prevents directories from being created in error, such as a mount point for an external drive when the drive is unplugged.
Jordan Lee [Thu, 3 Mar 2011 19:56:44 +0000 (19:56 +0000)]
remove a handful of unnecessary casts
Jordan Lee [Thu, 3 Mar 2011 18:33:24 +0000 (18:33 +0000)]
(trunk libT) remove the unused tr_ratecontrol code. switch webseed over to using tr_bandwidth.
Jordan Lee [Thu, 3 Mar 2011 17:28:04 +0000 (17:28 +0000)]
(trunk libT) #4070 "assertion failure happens soon after startup" -- fixed.
Thanks to User294 for helping to track down the problem.
Jordan Lee [Thu, 3 Mar 2011 07:20:18 +0000 (07:20 +0000)]
(trunk libT) minor revision to r12065: clamp the bandwidth before applying the ratio calculation
Jordan Lee [Thu, 3 Mar 2011 07:17:57 +0000 (07:17 +0000)]
(trunk gtk) some tr-core cleanup
Variable and function name cleanup; regrouping related functions together, etc.
Mitchell Livingston [Thu, 3 Mar 2011 03:53:21 +0000 (03:53 +0000)]
(trunk) when creating the dock icon badge view, we do not need to give it a frame
Jordan Lee [Thu, 3 Mar 2011 01:59:25 +0000 (01:59 +0000)]
(trunk gtk) remove the TrTorrent GObject subclass.
Jordan Lee [Wed, 2 Mar 2011 15:00:12 +0000 (15:00 +0000)]
(trunk libT) #4078 "Better calculation of the bitfield length while still a magnet link" -- fixed.
Jordan Lee [Wed, 2 Mar 2011 07:31:14 +0000 (07:31 +0000)]
(trunk) #4041 "FTBFS with enabled uTP on Debian" -- revised patch from taem which unbreaks autoconf build on darwin as reported by leena
Jordan Lee [Wed, 2 Mar 2011 07:21:58 +0000 (07:21 +0000)]
(trunk libT) work in progress, but this is a slightly better speed limiting for mixed tcp/utp peers
Jordan Lee [Tue, 1 Mar 2011 15:23:13 +0000 (15:23 +0000)]
(trunk libT) #4047 "transfer speed shown as 0" -- revert r11783 (#3950) because it caused speed misreporting.
Jordan Lee [Mon, 28 Feb 2011 13:10:56 +0000 (13:10 +0000)]
(trunk libT) #4073 "suggest inclusion of <signal.h> in torrent.c" -- done.
Mitchell Livingston [Mon, 28 Feb 2011 03:44:04 +0000 (03:44 +0000)]
pixel adjustment
Mitchell Livingston [Mon, 28 Feb 2011 03:41:56 +0000 (03:41 +0000)]
place the "download to" location in a box in the add window and the add magnet link window
Mitchell Livingston [Mon, 28 Feb 2011 02:45:17 +0000 (02:45 +0000)]
(trunk) #4071 Upload and Download rates swapped in transmission-cli
Jordan Lee [Sat, 26 Feb 2011 18:28:47 +0000 (18:28 +0000)]
tidy up .gitignore
Jordan Lee [Sat, 26 Feb 2011 18:27:44 +0000 (18:27 +0000)]
(trunk qt) #4067 "Kazakh translation small fix" -- committed patch by taem
Jordan Lee [Sat, 26 Feb 2011 18:17:53 +0000 (18:17 +0000)]
only ignore autogenerated files in the m4 directory
Mitchell Livingston [Sat, 26 Feb 2011 15:13:35 +0000 (15:13 +0000)]
(trunk) #4066 Fix the pieces view for magnet links
Mitchell Livingston [Sat, 26 Feb 2011 15:01:07 +0000 (15:01 +0000)]
store secondsDownloading and secondsSeeding as ints instead of time_t
Mitchell Livingston [Sat, 26 Feb 2011 14:59:05 +0000 (14:59 +0000)]
revert the last commit
Mitchell Livingston [Sat, 26 Feb 2011 14:56:58 +0000 (14:56 +0000)]
store secondsDownloading and secondsSeeding as ints instead of time_t
Jordan Lee [Sat, 26 Feb 2011 14:02:27 +0000 (14:02 +0000)]
(trunk qt) #4064 "add uTP codetip to torrnet peers details in" -- done.
Jordan Lee [Sat, 26 Feb 2011 13:59:43 +0000 (13:59 +0000)]
(trunk) update .gitignore with patch from taem
Jordan Lee [Fri, 25 Feb 2011 15:24:19 +0000 (15:24 +0000)]
Add a placeholder for 2.30 that mentions that the 'lazy bitfield' feature has been superceded.
Jordan Lee [Fri, 25 Feb 2011 01:48:46 +0000 (01:48 +0000)]
(trunk libT) peer-mgr.c peerCallbackFunc(): Replace some "should always be true" tests with assert()s. These tests used to be useful, but I don't think they are anymore. The assert()s have been put in their place to test that theory...
Jordan Lee [Fri, 25 Feb 2011 01:44:32 +0000 (01:44 +0000)]
(trunk) #2338 "Add uTP support" -- have the autoconf system default to build uTP support iff a C++ compiler can be found by AC_PROG_CXX
Mitchell Livingston [Fri, 25 Feb 2011 00:06:16 +0000 (00:06 +0000)]
update jquery to 1.5.1
Mitchell Livingston [Thu, 24 Feb 2011 23:40:36 +0000 (23:40 +0000)]
change the default toolbar to separate the remove button and the pause/resume all button with a space instead of a separator
Jordan Lee [Thu, 24 Feb 2011 18:05:00 +0000 (18:05 +0000)]
(trunk qt) fix build issue reported by taem
Jordan Lee [Thu, 24 Feb 2011 14:35:45 +0000 (14:35 +0000)]
(trunk libT) #4035 "In seed state, transmission disconnect from leechers" -- fixed.
Jordan Lee [Thu, 24 Feb 2011 04:16:47 +0000 (04:16 +0000)]
(trunk libT) utils-test.c: remove some debugging stubs that should not have been checked in
Jordan Lee [Thu, 24 Feb 2011 04:14:12 +0000 (04:14 +0000)]
(trunk libT) make the tr_bitsetToBenc() and tr_bitsetFromBenc() functions follow bitset.c's variable naming convention of how the "this" pointer is named
Jordan Lee [Thu, 24 Feb 2011 01:50:35 +0000 (01:50 +0000)]
(trunk libT) if we're a partial seed and the peer has everything we have, disconnect.
Mitchell Livingston [Wed, 23 Feb 2011 22:52:44 +0000 (22:52 +0000)]
(trunk) small update to Russian translation
Jordan Lee [Wed, 23 Feb 2011 15:56:00 +0000 (15:56 +0000)]
(trunk qt) #4052 "Qt Client Kazakh translation" -- added. Translation by taem.
Jordan Lee [Wed, 23 Feb 2011 06:18:09 +0000 (06:18 +0000)]
(trunk libT) minor cleanup: improve the function names torrentConstructor() and torrentDestructor().
These functions actually allocate/free the memory where these objects reside, so it's clearer to name them torrentNew() and torrentDelete().
Jordan Lee [Wed, 23 Feb 2011 06:14:06 +0000 (06:14 +0000)]
(trunk libT) minor cleanup: improve the function names peerConstructor() and peerDestructor().
These functions actually allocate/free the memory where these peer objects reside, so it's clearer to name them peerNew() and peerDelete().
Jordan Lee [Wed, 23 Feb 2011 06:01:16 +0000 (06:01 +0000)]
(trunk libT) #4051 "Use composition for the tr_history fields in tr_peer" -- fixed.
If we use composition on these objects we can save a handful of pointers per peer. This isn't a big deal, but it's an easy/safe change to do.
Jordan Lee [Wed, 23 Feb 2011 03:54:04 +0000 (03:54 +0000)]
(trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done.
Excuse the sprawl. Much of this didn't fit into self-contained commits.
Jordan Lee [Wed, 23 Feb 2011 02:16:16 +0000 (02:16 +0000)]
(trunk qt) #4050 "transmission-qt translations don't load under Linux" -- fixed via patch from taem
Jordan Lee [Mon, 21 Feb 2011 15:43:41 +0000 (15:43 +0000)]
(trunk libT) remove unused code: tr_bitfieldIsEmpty()
Jordan Lee [Mon, 21 Feb 2011 15:36:07 +0000 (15:36 +0000)]
(trunk libT) remove unused functions: tr_bitsetDifference() tr_bitfieldDifference()
Mitchell Livingston [Mon, 21 Feb 2011 04:18:58 +0000 (04:18 +0000)]
slightly simplify filter code
Mitchell Livingston [Mon, 21 Feb 2011 01:42:17 +0000 (01:42 +0000)]
Mac build compiles with r12003
Jordan Lee [Mon, 21 Feb 2011 01:40:19 +0000 (01:40 +0000)]
(trunk libT) code cleanup: moving bitset functions to their own .c file.
Jordan Lee [Mon, 21 Feb 2011 01:15:13 +0000 (01:15 +0000)]
(trunk libT) remove dead code in peer-common.h: the tr_addreq_t enum
Jordan Lee [Mon, 21 Feb 2011 01:13:28 +0000 (01:13 +0000)]
(trunk libT) web.c: free the unprocessed tasks before exiting the libcurl thread.
This is rare but can happen during shutdown if there are unresponsive trackers. Cleaning up the tasks improves the S/N ratio in valgrind a bit.
Jordan Lee [Sun, 20 Feb 2011 19:12:45 +0000 (19:12 +0000)]
(trunk libT) ensure that the last few log messages actually get logged before shutdown finishes.
Mitchell Livingston [Sun, 20 Feb 2011 15:05:01 +0000 (15:05 +0000)]
silence a warning