]>
granicus.if.org Git - transmission/log
Jordan Lee [Sun, 13 Mar 2011 20:39:08 +0000 (20:39 +0000)]
(trunk libT) add attribution for the fallback tr_htonll() and tr_ntohll() code
Jordan Lee [Sun, 13 Mar 2011 20:23:23 +0000 (20:23 +0000)]
(trunk libT) better implementation of tr_htonll() and tr_ntohll()
Jordan Lee [Sun, 13 Mar 2011 19:47:21 +0000 (19:47 +0000)]
(trunk libT) minor tweak: use evutil_closesocket() instead of the older EVUTIL_CLOSESOCKET() macro.
Mitchell Livingston [Sun, 13 Mar 2011 17:11:47 +0000 (17:11 +0000)]
#4099 add "none of the following" to the group rules editor
Jordan Lee [Sun, 13 Mar 2011 16:45:32 +0000 (16:45 +0000)]
(trunk gtk) fix condition that could crash in some cases when right-clicking in the file list menu.
Jordan Lee [Sun, 13 Mar 2011 15:56:12 +0000 (15:56 +0000)]
(trunk gtk) #4075 "add x-scheme-handler/magnet to desktop file" -- fixed.
Thanks to ampelbein for the patch :)
Jordan Lee [Sun, 13 Mar 2011 14:38:49 +0000 (14:38 +0000)]
(trunk) make sure all files with $Id$ has svn:properties set
Jordan Lee [Sun, 13 Mar 2011 14:37:30 +0000 (14:37 +0000)]
Add htonll() ntohll() to our AC_CHECK_FUNCS set s.t. the wrappers in libtransmission/utils.c can shop the work out to the system libraries if those functions are available.
Jordan Lee [Sun, 13 Mar 2011 14:33:28 +0000 (14:33 +0000)]
(trunk libT) tweak #includes in announcer-http.c
Jordan Lee [Sun, 13 Mar 2011 14:18:35 +0000 (14:18 +0000)]
(trunk libT) fix tau_send crash reported by Waldorf overnight in #4114
Jordan Lee [Sun, 13 Mar 2011 08:21:55 +0000 (08:21 +0000)]
(trunk libT) use libevent's portability wrapper for strcasecmp()
Jordan Lee [Sun, 13 Mar 2011 08:15:40 +0000 (08:15 +0000)]
(trunk libT) use libevent2's portability wrappers for inet_ntop() and inet_pton().
We currently implement our own versions of these on mingw because that platform doesn't have them... but why reinvent the wheel; libevent has already done the same thing. Let's use libevent2's implementation.
has already done it for us.
Mitchell Livingston [Sun, 13 Mar 2011 08:03:44 +0000 (08:03 +0000)]
fix Mac build
Jordan Lee [Sun, 13 Mar 2011 07:49:32 +0000 (07:49 +0000)]
(trunk gtk) when a tracker is manually added to a torrent, check the tracker's validity with tr_urlIsValidTracker()
Jordan Lee [Sun, 13 Mar 2011 06:38:54 +0000 (06:38 +0000)]
(trunk libT) #117 "UDP tracker support (BEP #15)" -- added request timeout
UDP announce and scrapes now have a 120 second TTL.
Jordan Lee [Sun, 13 Mar 2011 05:45:34 +0000 (05:45 +0000)]
(trunk libT) tweaks by werehamster
Jordan Lee [Sun, 13 Mar 2011 00:35:11 +0000 (00:35 +0000)]
(trunk libT) fix minor memory leak reported by rpc-server.c
Jordan Lee [Sun, 13 Mar 2011 00:18:11 +0000 (00:18 +0000)]
(trunk libT) #117 "UDP tracker protocol support" -- working implementation; needs testing and valgrinding and review.
Juliusz Chroboczek [Sat, 12 Mar 2011 22:45:14 +0000 (22:45 +0000)]
Revert "Protect against broken implementations of monotonic time."
There are other instances of GetMicroseconds in the code, so a proper
paranoiac would want to work around that at a lower level.
Mitchell Livingston [Sat, 12 Mar 2011 03:50:17 +0000 (03:50 +0000)]
left out a 'p'
Mitchell Livingston [Sat, 12 Mar 2011 03:46:55 +0000 (03:46 +0000)]
#4104 temporarily reenable PPC support for the development period
Mitchell Livingston [Fri, 11 Mar 2011 22:58:34 +0000 (22:58 +0000)]
remove a bunch of unnecessary target-level build settings
Jordan Lee [Fri, 11 Mar 2011 19:28:44 +0000 (19:28 +0000)]
(trunk libT) #4106 "Assert in buildHandshakeMessage, r12131" -- probable fix
Jordan Lee [Fri, 11 Mar 2011 17:26:41 +0000 (17:26 +0000)]
remove unused field
Jordan Lee [Fri, 11 Mar 2011 15:44:24 +0000 (15:44 +0000)]
(trunk libT) copyediting: removing trailing spaces from lines
Jordan Lee [Fri, 11 Mar 2011 15:11:37 +0000 (15:11 +0000)]
(trunk libT) implement multiscrape.
Jordan Lee [Fri, 11 Mar 2011 15:00:10 +0000 (15:00 +0000)]
(trunk libT) ensure that a tr_torrent's peer id is initialized when the tr_torrent is constructed
Jordan Lee [Fri, 11 Mar 2011 13:04:09 +0000 (13:04 +0000)]
(trunk libT) repeat the r12129 fix for delegating https scrapes
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