]> granicus.if.org Git - transmission/log
transmission
13 years ago(trunk) copyediting: remove some unneeded #includes, and annotate some needed ones
Jordan Lee [Thu, 24 Mar 2011 21:49:42 +0000 (21:49 +0000)]
(trunk) copyediting: remove some unneeded #includes, and annotate some needed ones

13 years ago(trunk gtk) gtr_compare_double() is only used in one place, so make it a private...
Jordan Lee [Thu, 24 Mar 2011 18:32:05 +0000 (18:32 +0000)]
(trunk gtk) gtr_compare_double() is only used in one place, so make it a private function there instead of leaving it public in utils.h

13 years ago(trunk gtk) gtr_localtime() is only used in one place, so make it a private function...
Jordan Lee [Thu, 24 Mar 2011 18:29:07 +0000 (18:29 +0000)]
(trunk gtk) gtr_localtime() is only used in one place, so make it a private function there instead of leaving it public in util.h

13 years ago(trunk gtk) gtr_cell_renderer_get_padding() is only used in one place, so make it...
Jordan Lee [Thu, 24 Mar 2011 18:24:21 +0000 (18:24 +0000)]
(trunk gtk) gtr_cell_renderer_get_padding() is only used in one place, so make it a private function there instead of leaving it public in util.h

13 years ago(trunk gtk) remove function gtr_strcmp0, which is redundant due to tr_strcmp0
Jordan Lee [Thu, 24 Mar 2011 18:20:47 +0000 (18:20 +0000)]
(trunk gtk) remove function gtr_strcmp0, which is redundant due to tr_strcmp0

13 years ago#4063 Adding a tracker before last failed add causes lockup
Mitchell Livingston [Thu, 24 Mar 2011 00:56:36 +0000 (00:56 +0000)]
#4063 Adding a tracker before last failed add causes lockup

13 years agoensure the Stats window's min and max widths are the current width
Mitchell Livingston [Wed, 23 Mar 2011 22:39:02 +0000 (22:39 +0000)]
ensure the Stats window's min and max widths are the current width

13 years agoupdate Brazilian Portuguese localization for 2.3
Mitchell Livingston [Wed, 23 Mar 2011 22:36:08 +0000 (22:36 +0000)]
update Brazilian Portuguese localization for 2.3

13 years agoupdate Chinese localization for 2.3
Mitchell Livingston [Wed, 23 Mar 2011 22:24:10 +0000 (22:24 +0000)]
update Chinese localization for 2.3

13 years ago(trunk qt) housekeeping: tr_bool --> bool
Jordan Lee [Wed, 23 Mar 2011 18:26:01 +0000 (18:26 +0000)]
(trunk qt) housekeeping: tr_bool --> bool

13 years ago(trunk libT) If transmission.h is being processed by a C++ compiler, it shouldn't...
Jordan Lee [Wed, 23 Mar 2011 18:25:41 +0000 (18:25 +0000)]
(trunk libT) If transmission.h is being processed by a C++ compiler, it shouldn't #include stdbool.h

13 years ago(trunk qt) move "#include <QFile>" from the header to the .cpp file
Jordan Lee [Wed, 23 Mar 2011 18:22:23 +0000 (18:22 +0000)]
(trunk qt) move "#include <QFile>" from the header to the .cpp file

13 years ago(trunk libT) tr_set_func is only used in one place, so make it a private function...
Jordan Lee [Tue, 22 Mar 2011 23:49:29 +0000 (23:49 +0000)]
(trunk libT) tr_set_func is only used in one place, so make it a private function there instead of leaving it public in utils.h

13 years ago(trunk libT) tr_strtruncd() is only used in one place, so make it a private function...
Jordan Lee [Tue, 22 Mar 2011 23:46:31 +0000 (23:46 +0000)]
(trunk libT) tr_strtruncd() is only used in one place, so make it a private function there instead of leaving it public in utils.h

13 years ago(trunk libT) tr_set_compare() is only used in one place, so make it a private functio...
Jordan Lee [Tue, 22 Mar 2011 23:42:25 +0000 (23:42 +0000)]
(trunk libT) tr_set_compare() is only used in one place, so make it a private function there instead of leaving it public in utils.h

13 years ago(trunk) remove unused gcc symbol: TR_GNUC_PURE
Jordan Lee [Tue, 22 Mar 2011 23:37:20 +0000 (23:37 +0000)]
(trunk) remove unused gcc symbol: TR_GNUC_PURE

13 years ago(trunk libT) #4136 "r12181 causes excessive disk activity and logfile bloat" -- fixed.
Jordan Lee [Tue, 22 Mar 2011 16:50:09 +0000 (16:50 +0000)]
(trunk libT) #4136 "r12181 causes excessive disk activity and logfile bloat" -- fixed.

13 years agostill trying to make hudson happy
Jordan Lee [Tue, 22 Mar 2011 16:07:49 +0000 (16:07 +0000)]
still trying to make hudson happy

13 years ago(trunk gtk) revert r12201 to try & make hudson happy
Jordan Lee [Tue, 22 Mar 2011 16:03:10 +0000 (16:03 +0000)]
(trunk gtk) revert r12201 to try & make hudson happy

13 years ago(trunk) #4138 "use stdbool.h instead of tr_bool" -- done.
Jordan Lee [Tue, 22 Mar 2011 15:19:54 +0000 (15:19 +0000)]
(trunk) #4138 "use stdbool.h instead of tr_bool" -- done.

13 years agotest & see if xcode/osx has stdbool.h
Jordan Lee [Tue, 22 Mar 2011 14:45:04 +0000 (14:45 +0000)]
test & see if xcode/osx has stdbool.h

13 years ago(trunk gtk) tweak Makefile.am
Jordan Lee [Mon, 21 Mar 2011 20:45:50 +0000 (20:45 +0000)]
(trunk gtk) tweak Makefile.am

13 years ago(trunk gtk) dbus tweaks in Makefile.am based on examples from http://live.gnome.org...
Jordan Lee [Mon, 21 Mar 2011 20:26:15 +0000 (20:26 +0000)]
(trunk gtk) dbus tweaks in Makefile.am based on examples from http://live.gnome.org/DBusGlibBindings .

1. tweak the way dbus-binding-tool is invoked... use --output=$@ $^

2. add the file generated by dbus-binding-tool to BUILT_SOURCES

13 years ago(trunk libt) more transmission.h copyediting
Jordan Lee [Mon, 21 Mar 2011 17:08:10 +0000 (17:08 +0000)]
(trunk libt) more transmission.h copyediting

13 years ago(trunk libT) discard out-of-range reject messages from peers.
Jordan Lee [Mon, 21 Mar 2011 16:42:32 +0000 (16:42 +0000)]
(trunk libT) discard out-of-range reject messages from peers.

13 years ago(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBi...
Jordan Lee [Mon, 21 Mar 2011 16:33:16 +0000 (16:33 +0000)]
(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBitfieldEnabled()

13 years agotidy up
Jordan Lee [Mon, 21 Mar 2011 16:30:58 +0000 (16:30 +0000)]
tidy up

13 years agomaybe fix the mac build?
Jordan Lee [Mon, 21 Mar 2011 16:28:44 +0000 (16:28 +0000)]
maybe fix the mac build?

13 years ago(trunk libT) copyediting in transmission.h: fix some line wraps
Jordan Lee [Mon, 21 Mar 2011 16:26:45 +0000 (16:26 +0000)]
(trunk libT) copyediting in transmission.h: fix some line wraps

13 years ago(trunk libT) remove unused configDir argument from tr_sessionGetDefaultSettings()
Jordan Lee [Mon, 21 Mar 2011 16:22:39 +0000 (16:22 +0000)]
(trunk libT) remove unused configDir argument from tr_sessionGetDefaultSettings()

13 years agoupdate Localizable.strings
Mitchell Livingston [Sun, 20 Mar 2011 17:22:50 +0000 (17:22 +0000)]
update Localizable.strings

13 years ago(trunk libT) tweak comments to fix inconsistent capitalization
Jordan Lee [Sun, 20 Mar 2011 15:56:32 +0000 (15:56 +0000)]
(trunk libT) tweak comments to fix inconsistent capitalization

13 years ago(trunk libT) #117 "UDP tracker support" -- fix add-UDP-tracker-URL-via-RPC bug report...
Jordan Lee [Sun, 20 Mar 2011 15:42:54 +0000 (15:42 +0000)]
(trunk libT) #117 "UDP tracker support" -- fix add-UDP-tracker-URL-via-RPC bug reported by johnea @ https://trac.transmissionbt.com/ticket/117#comment:79

13 years ago(trunk libT) #117 "UDP tracker protocol support" -- fix trivial r12141 log message...
Jordan Lee [Sun, 20 Mar 2011 15:33:45 +0000 (15:33 +0000)]
(trunk libT) #117 "UDP tracker protocol support" -- fix trivial r12141 log message typo: s/Unsupported ur/Unsupported url/

13 years ago(trunk libT) #117 "UDP tracker protocol support" -- (1) fix connection attempt retrie...
Jordan Lee [Sun, 20 Mar 2011 15:28:41 +0000 (15:28 +0000)]
(trunk libT) #117 "UDP tracker protocol support" -- (1) fix connection attempt retries after a failed connection attempt. (2) extract method from tau_tracker_upkeep() for clarity: tau_tracker_send_reqs() and tau_tracker_timeout_reqs()
refactor the timeout/request code a bit.

13 years ago(trunk libT) #4114 "crash on open r12168 in tau_sendto()" -- fixed.
Jordan Lee [Fri, 18 Mar 2011 17:11:42 +0000 (17:11 +0000)]
(trunk libT) #4114 "crash on open r12168 in tau_sendto()" -- fixed.

13 years ago(trunk qt) #4130 "Remove -levent from qtr.pro and let pkg-config takes care of it...
Jordan Lee [Fri, 18 Mar 2011 15:15:13 +0000 (15:15 +0000)]
(trunk qt) #4130 "Remove -levent from qtr.pro and let pkg-config takes care of it." -- apply patch from mezz.

13 years ago#4124 Show years in Statistics window
Mitchell Livingston [Thu, 17 Mar 2011 22:33:42 +0000 (22:33 +0000)]
#4124 Show years in Statistics window

13 years ago(trunk libT) tr_udpParse(): default to port 80 for URLs with a udp scheme and no...
Jordan Lee [Thu, 17 Mar 2011 21:22:58 +0000 (21:22 +0000)]
(trunk libT) tr_udpParse(): default to port 80 for URLs with a udp scheme and no explicit port.

13 years ago(trunk libT) better shutdown management of libutp and UDP trackers in tr_sessionClose().
Jordan Lee [Thu, 17 Mar 2011 18:51:31 +0000 (18:51 +0000)]
(trunk libT) better shutdown management of libutp and UDP trackers in tr_sessionClose().

This is a little overlapping since the utp code can be closed more-or-less immediately, but the udp manager needs to stay open in order to process the udp tracker connection requests before sending out event=stopped. Moreover DNS resolver can be shut down after the UDP tracker is shutdown.

13 years ago(trunk libT) as a followup to r12182, move LPD's periodic upkeep timer into the tr...
Jordan Lee [Thu, 17 Mar 2011 13:16:23 +0000 (13:16 +0000)]
(trunk libT) as a followup to r12182, move LPD's periodic upkeep timer into the tr-lpd.c module where it can be started & stopped with the pre-existing tr_lpdInit() and tr_lpdUninit() functions.

13 years ago(trunk libT) move tr_lpdAnnounceMore() out of the announcer module
Jordan Lee [Thu, 17 Mar 2011 12:45:29 +0000 (12:45 +0000)]
(trunk libT) move tr_lpdAnnounceMore() out of the announcer module

We can stop local peer discovery immediately during shutdown, but need to leave the announcer running for the event=stopped messages. So it doesn't make sense to keep them on the same periodic timer.

13 years ago(trunk libT) move tr_dhtUpkeep() out of the announcer module
Jordan Lee [Thu, 17 Mar 2011 12:34:43 +0000 (12:34 +0000)]
(trunk libT) move tr_dhtUpkeep() out of the announcer module

During shutdown, we can stop DHT almost immediately, but need to leave the announcer running for the DHT tracker event=stopped messages. So it doesn't make sense to keep them on the same periodic timer.

13 years ago(trunk libT) #117 "UDP tracker protocol suppoort" -- in case the tracker gives an...
Jordan Lee [Thu, 17 Mar 2011 04:16:19 +0000 (04:16 +0000)]
(trunk libT) #117 "UDP tracker protocol suppoort" -- in case the tracker gives an error message in response to a connection response, store the error message in the scrape/announce response structs' errmsg fields.

13 years ago#4109 Recycle: Show a confirmation dialog
Mitchell Livingston [Thu, 17 Mar 2011 01:06:31 +0000 (01:06 +0000)]
#4109 Recycle: Show a confirmation dialog

13 years ago(trunk libT) #4127 "Torrent complete script doesn't pass on the environment" -- fixed...
Jordan Lee [Wed, 16 Mar 2011 18:11:48 +0000 (18:11 +0000)]
(trunk libT) #4127 "Torrent complete script doesn't pass on the environment" -- fixed with patch from geirha.

The fix was to putenv() the new environment variables, then call execvp() instead of execve().

13 years ago(trunk) it's bad form to #include so many system headers in libtransmission/utils...
Jordan Lee [Wed, 16 Mar 2011 18:04:23 +0000 (18:04 +0000)]
(trunk) it's bad form to #include so many system headers in libtransmission/utils.h...

13 years ago(trunk libT) move the single-use utility function "evbuffer_ref_cleanup_tr_free(...
Jordan Lee [Wed, 16 Mar 2011 17:42:32 +0000 (17:42 +0000)]
(trunk libT) move the single-use utility function "evbuffer_ref_cleanup_tr_free()" from a public header into a private function to limit its visibility/scope

13 years ago(trunk libT) make readOrWriteBytes() more readable
Jordan Lee [Wed, 16 Mar 2011 04:44:38 +0000 (04:44 +0000)]
(trunk libT) make readOrWriteBytes() more readable

13 years agoRemove the miniupnp framework from the Transmission.app linked frameworks
Mitchell Livingston [Wed, 16 Mar 2011 03:51:01 +0000 (03:51 +0000)]
Remove the miniupnp framework from the Transmission.app linked frameworks

13 years ago(trunk libT) remove the "a file disappeared!" check from readOrWriteFile().
Jordan Lee [Wed, 16 Mar 2011 03:19:56 +0000 (03:19 +0000)]
(trunk libT) remove the "a file disappeared!" check from readOrWriteFile().

In both the reading and writing case, this is handled with human-readable errors further up the call chain.

13 years ago(trunk libT) remove unused code from inout.c
Jordan Lee [Wed, 16 Mar 2011 03:17:26 +0000 (03:17 +0000)]
(trunk libT) remove unused code from inout.c

13 years ago(trunk libT) minor tweak to the cache sorting code
Jordan Lee [Wed, 16 Mar 2011 00:49:43 +0000 (00:49 +0000)]
(trunk libT) minor tweak to the cache sorting code

13 years ago(trunk libT) cpu load improvements based on profiling by gunzip
Jordan Lee [Tue, 15 Mar 2011 18:11:31 +0000 (18:11 +0000)]
(trunk libT) cpu load improvements based on profiling by gunzip

13 years agoShow whether a tracker is http or udp. Without that context, it could be confusing...
Jordan Lee [Tue, 15 Mar 2011 17:03:09 +0000 (17:03 +0000)]
Show whether a tracker is http or udp. Without that context, it could be confusing to see the same tracker twice in a tier

13 years ago(trunk) #4081 "Add 'cookieString' argument 'torrent-add' method in RPC" -- done.
Jordan Lee [Tue, 15 Mar 2011 04:22:47 +0000 (04:22 +0000)]
(trunk) #4081 "Add 'cookieString' argument 'torrent-add' method in RPC" -- done.

13 years ago(trunk libT) annnouncer.c: as discussed with Waldorf, massage the tracker lists a...
Jordan Lee [Tue, 15 Mar 2011 03:21:25 +0000 (03:21 +0000)]
(trunk libT) annnouncer.c: as discussed with Waldorf, massage the tracker lists a bit:

1. remove duplicate URLs caused by implicit vs. explicit port numbers
2. if two announce URLs are duplicates /except/ for their scheme, put them in the same tier.
3. try announce URLs with a "udp" scheme before trying ones with an "http" scheme.

13 years agoRename "cleanup all completed" to "remove all completed from list".
Mitchell Livingston [Mon, 14 Mar 2011 23:46:53 +0000 (23:46 +0000)]
Rename "cleanup all completed" to "remove all completed from list".

13 years ago#4119 Add "matches" option for all properties of "assign group to new transfers"
Mitchell Livingston [Mon, 14 Mar 2011 22:19:42 +0000 (22:19 +0000)]
#4119 Add "matches" option for all properties of "assign group to new transfers"

13 years ago(trunk libT) more announce.c work: better handling of incrementing the retry interval...
Jordan Lee [Mon, 14 Mar 2011 16:52:47 +0000 (16:52 +0000)]
(trunk libT) more announce.c work: better handling of incrementing the retry interval on scrape failures

13 years ago(trunk daemon) #4118 "transmission-remote, document peer status for H and T in its...
Jordan Lee [Mon, 14 Mar 2011 14:29:00 +0000 (14:29 +0000)]
(trunk daemon) #4118 "transmission-remote, document peer status for H and T in its man page" -- done.

13 years ago(trunk libT) #117 "UDP tracker protocol support (BEP #15)": (1) use the UDP tracker...
Jordan Lee [Mon, 14 Mar 2011 14:15:58 +0000 (14:15 +0000)]
(trunk libT) #117 "UDP tracker protocol support (BEP #15)": (1) use the UDP tracker error response's error string (2) better handling of requests that timeout (3) better filtering of non-tracker UDP messages

13 years ago(trunk libT) make tr_ptrArrayNth() an inline function
Jordan Lee [Mon, 14 Mar 2011 14:09:41 +0000 (14:09 +0000)]
(trunk libT) make tr_ptrArrayNth() an inline function

13 years ago(trunk libT) more tweakin'
Jordan Lee [Mon, 14 Mar 2011 02:40:39 +0000 (02:40 +0000)]
(trunk libT) more tweakin'

13 years ago(trunk libT) fix array-bounds-read in the UDP tracker code when an announce or scrape...
Jordan Lee [Mon, 14 Mar 2011 02:39:11 +0000 (02:39 +0000)]
(trunk libT) fix array-bounds-read in the UDP tracker code when an announce or scrape request times out

13 years ago(trunk libT) add attribution for the fallback tr_htonll() and tr_ntohll() code
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

13 years ago(trunk libT) better implementation of tr_htonll() and tr_ntohll()
Jordan Lee [Sun, 13 Mar 2011 20:23:23 +0000 (20:23 +0000)]
(trunk libT) better implementation of tr_htonll() and tr_ntohll()

13 years ago(trunk libT) minor tweak: use evutil_closesocket() instead of the older EVUTIL_CLOSES...
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.

13 years ago#4099 add "none of the following" to the group rules editor
Mitchell Livingston [Sun, 13 Mar 2011 17:11:47 +0000 (17:11 +0000)]
#4099 add "none of the following" to the group rules editor

13 years ago(trunk gtk) fix condition that could crash in some cases when right-clicking in the...
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.

13 years ago(trunk gtk) #4075 "add x-scheme-handler/magnet to desktop file" -- fixed.
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 :)

13 years ago(trunk) make sure all files with $Id$ has svn:properties set
Jordan Lee [Sun, 13 Mar 2011 14:38:49 +0000 (14:38 +0000)]
(trunk) make sure all files with $Id$ has svn:properties set

13 years agoAdd htonll() ntohll() to our AC_CHECK_FUNCS set s.t. the wrappers in libtransmission...
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.

13 years ago(trunk libT) tweak #includes in announcer-http.c
Jordan Lee [Sun, 13 Mar 2011 14:33:28 +0000 (14:33 +0000)]
(trunk libT) tweak #includes in announcer-http.c

13 years ago(trunk libT) fix tau_send crash reported by Waldorf overnight in #4114
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

13 years ago(trunk libT) use libevent's portability wrapper for strcasecmp()
Jordan Lee [Sun, 13 Mar 2011 08:21:55 +0000 (08:21 +0000)]
(trunk libT) use libevent's portability wrapper for strcasecmp()

13 years ago(trunk libT) use libevent2's portability wrappers for inet_ntop() and inet_pton().
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.

13 years agofix Mac build
Mitchell Livingston [Sun, 13 Mar 2011 08:03:44 +0000 (08:03 +0000)]
fix Mac build

13 years ago(trunk gtk) when a tracker is manually added to a torrent, check the tracker's validi...
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()

13 years ago(trunk libT) #117 "UDP tracker support (BEP #15)" -- added request timeout
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.

13 years ago(trunk libT) tweaks by werehamster
Jordan Lee [Sun, 13 Mar 2011 05:45:34 +0000 (05:45 +0000)]
(trunk libT) tweaks by werehamster

13 years ago(trunk libT) fix minor memory leak reported by rpc-server.c
Jordan Lee [Sun, 13 Mar 2011 00:35:11 +0000 (00:35 +0000)]
(trunk libT) fix minor memory leak reported by rpc-server.c

13 years ago(trunk libT) #117 "UDP tracker protocol support" -- working implementation; needs...
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.

13 years agoRevert "Protect against broken implementations of monotonic time."
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.

13 years agoleft out a 'p'
Mitchell Livingston [Sat, 12 Mar 2011 03:50:17 +0000 (03:50 +0000)]
left out a 'p'

13 years ago#4104 temporarily reenable PPC support for the development period
Mitchell Livingston [Sat, 12 Mar 2011 03:46:55 +0000 (03:46 +0000)]
#4104 temporarily reenable PPC support for the development period

13 years agoremove a bunch of unnecessary target-level build settings
Mitchell Livingston [Fri, 11 Mar 2011 22:58:34 +0000 (22:58 +0000)]
remove a bunch of unnecessary target-level build settings

13 years ago(trunk libT) #4106 "Assert in buildHandshakeMessage, r12131" -- probable fix
Jordan Lee [Fri, 11 Mar 2011 19:28:44 +0000 (19:28 +0000)]
(trunk libT) #4106 "Assert in buildHandshakeMessage, r12131" -- probable fix

13 years agoremove unused field
Jordan Lee [Fri, 11 Mar 2011 17:26:41 +0000 (17:26 +0000)]
remove unused field

13 years ago(trunk libT) copyediting: removing trailing spaces from lines
Jordan Lee [Fri, 11 Mar 2011 15:44:24 +0000 (15:44 +0000)]
(trunk libT) copyediting: removing trailing spaces from lines

13 years ago(trunk libT) implement multiscrape.
Jordan Lee [Fri, 11 Mar 2011 15:11:37 +0000 (15:11 +0000)]
(trunk libT) implement multiscrape.

13 years ago(trunk libT) ensure that a tr_torrent's peer id is initialized when the tr_torrent...
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

13 years ago(trunk libT) repeat the r12129 fix for delegating https scrapes
Jordan Lee [Fri, 11 Mar 2011 13:04:09 +0000 (13:04 +0000)]
(trunk libT) repeat the r12129 fix for delegating https scrapes

13 years agofix Mac build
Mitchell Livingston [Fri, 11 Mar 2011 11:53:21 +0000 (11:53 +0000)]
fix Mac build

13 years ago(trunk libT) fix r12127 bug with delegating https trackers
Jordan Lee [Fri, 11 Mar 2011 05:48:57 +0000 (05:48 +0000)]
(trunk libT) fix r12127 bug with delegating https trackers

13 years ago(trunk libT) optimization for ocelot.
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.

13 years ago(trunk libT) #117 "UDP tracker protocol support (BEP #15)" -- refactor announcer...
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.

13 years ago(trunk gtk) fix 2.22+ time display regression in the GTK+ client.
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.

13 years agosilence more warning by explicitly setting some file encodings
Mitchell Livingston [Fri, 11 Mar 2011 02:29:42 +0000 (02:29 +0000)]
silence more warning by explicitly setting some file encodings

13 years agosilence a warning
Mitchell Livingston [Fri, 11 Mar 2011 01:58:44 +0000 (01:58 +0000)]
silence a warning