]>
granicus.if.org Git - transmission/log
Mitchell Livingston [Fri, 1 Apr 2011 01:21:59 +0000 (01:21 +0000)]
update to 2.30b1
Mitchell Livingston [Thu, 31 Mar 2011 21:52:30 +0000 (21:52 +0000)]
update jQuery to 1.5.2
Mitchell Livingston [Thu, 31 Mar 2011 21:43:53 +0000 (21:43 +0000)]
update German localization for 2.3
Jordan Lee [Thu, 31 Mar 2011 20:26:43 +0000 (20:26 +0000)]
(trunk libT) announcer.c: fold the tiers and trackers into fewer mallocs/frees
Jordan Lee [Thu, 31 Mar 2011 16:41:52 +0000 (16:41 +0000)]
(trunk libT) copyediting: peer-io's "EncryptionMode" type had a name too similar to tr_encryption_mode... rename it to reduce potential confusion
Jordan Lee [Thu, 31 Mar 2011 16:08:31 +0000 (16:08 +0000)]
(trunk libT) save 48 bytes per tr_torrent object. whoo!
Jordan Lee [Thu, 31 Mar 2011 14:53:22 +0000 (14:53 +0000)]
(trunk libT) use aggregation for the tr_bandwidth objects owned by tr_session and tr_torrent
Mitchell Livingston [Thu, 31 Mar 2011 12:33:26 +0000 (12:33 +0000)]
update Russian localization to 2.30
Jordan Lee [Thu, 31 Mar 2011 05:06:19 +0000 (05:06 +0000)]
(trunk libT) fix never-executed code branch detected by clang static analyzer
Jordan Lee [Thu, 31 Mar 2011 04:58:38 +0000 (04:58 +0000)]
(trunk gtk) remove "dead nested assignment" wart detected by clang static analyzer
Jordan Lee [Thu, 31 Mar 2011 04:33:49 +0000 (04:33 +0000)]
(trunk libT) remove dead logic branch detected by clang static analyzer
Jordan Lee [Thu, 31 Mar 2011 04:24:57 +0000 (04:24 +0000)]
(trunk libT) fix "dangerous pointer arithmetic" warning detected by clang static analyzer
Jordan Lee [Thu, 31 Mar 2011 04:03:07 +0000 (04:03 +0000)]
(trunk libT) fix minor dead store detected by clang static analyzer
Jordan Lee [Thu, 31 Mar 2011 04:01:55 +0000 (04:01 +0000)]
(trunk libT) fix ABR detected by clang static analyzer in tr_torrentStat.
When copying a value to s->errorString, it used memcpy(a,b,sizeof(a)) where sizeof(a) was larger than sizeof(b). Fixed by replacing the memcpy() call with tr_strlcpy().
Jordan Lee [Thu, 31 Mar 2011 03:59:44 +0000 (03:59 +0000)]
(trunk libT) fix potential UMR detected by clang static analyzer: maxPeers could be uninitialized in some pathological logic branches
Jordan Lee [Thu, 31 Mar 2011 03:37:50 +0000 (03:37 +0000)]
(trunk libT) fix potential null pointer dereference in announcer.c
Jordan Lee [Thu, 31 Mar 2011 03:37:24 +0000 (03:37 +0000)]
(trunk libT) fix file descriptor leak in tr-dht.c
Jordan Lee [Wed, 30 Mar 2011 23:54:39 +0000 (23:54 +0000)]
(trunk libT) #4153 "Protect against non-monotonic time in libutp" -- try again.
Jordan Lee [Wed, 30 Mar 2011 23:50:25 +0000 (23:50 +0000)]
(trunk libT) #4153 "Protect against non-monotonic time in libutp" -- another attempt at getting it to compile on win32
Jordan Lee [Wed, 30 Mar 2011 23:26:00 +0000 (23:26 +0000)]
(trunk libT) #4153 "Protect against non-monotonic time in libutp" -- move UTP_GetMilliseconds() and UTP_GetMicroseconds() outside of the if-not-windows ifdef section. Based on feedback from rb07 in ticket comment 5
Jordan Lee [Wed, 30 Mar 2011 23:11:10 +0000 (23:11 +0000)]
(trunk daemon) fix minor text formatting bug when the ETA is being shown in seconds
Jordan Lee [Wed, 30 Mar 2011 21:19:14 +0000 (21:19 +0000)]
(trunk libT) #4157 "'transmission-remote -si' doesn't show alternate download speeds correctly" -- fixed.
Jordan Lee [Wed, 30 Mar 2011 16:24:45 +0000 (16:24 +0000)]
(trunk daemon) #4156 "request: transmission-remote --session-info report whether µTP is enabled" -- added.
Jordan Lee [Wed, 30 Mar 2011 04:23:20 +0000 (04:23 +0000)]
(trunk libT) merge tr_bitfieldTestFast() and tr_bitfieldTest()
Jordan Lee [Wed, 30 Mar 2011 04:14:57 +0000 (04:14 +0000)]
(trunk libT) handle situations where we don't know the bitfield's upper bound in advance. This comes up sometimes with magnet links.
Juliusz Chroboczek [Wed, 30 Mar 2011 00:29:07 +0000 (00:29 +0000)]
Don't explicitly protect against non-monotonic gettimeofday.
Since we're now protecting against non-monotonic time unconditionally,
there's no need for additional protection in the gettimeofday case.
Juliusz Chroboczek [Wed, 30 Mar 2011 00:14:41 +0000 (00:14 +0000)]
Protect against monotonic time being non-monotonic, take 2.
This is a better fix, suggested by ghazel.
Juliusz Chroboczek [Tue, 29 Mar 2011 23:15:38 +0000 (23:15 +0000)]
Protect against monotonic time being non-monotonic.
Within utp.cpp, there's a bunch of assertions that will cause us
to crash if monotonic time isn't. While I have no idea about Windows,
under Unix we use real time instead of monotonic time if POSIX clocks
are not available, and real time can be stepped backwards. Since the
protection is cheap, we perform it on all platforms.
Jordan Lee [Tue, 29 Mar 2011 22:02:27 +0000 (22:02 +0000)]
(trunk libT) fix endgame detection bug introduced in r12248
Jordan Lee [Tue, 29 Mar 2011 21:10:20 +0000 (21:10 +0000)]
(trunk libT) fix a crasher introduced yesterday in r12248
Jordan Lee [Tue, 29 Mar 2011 21:09:37 +0000 (21:09 +0000)]
(trunk libT) safeguard against a minor memory leak if io->sokcet couldn't be opened.
Jordan Lee [Tue, 29 Mar 2011 16:39:30 +0000 (16:39 +0000)]
(trunk libT) fix bitfield.c assertion failure reported by Rolcol
Jordan Lee [Tue, 29 Mar 2011 15:23:54 +0000 (15:23 +0000)]
(trunk libT) don't cache unininteresting peer addresses between sessions
For example, if we're both seeds, or if the peer is not connectible, don't bother caching it for the next session. If it's still alive, we'll find it up through DHT or tracker announces next time around. As with r12253, this commit's intention is to reduce the number of unproductive peer_atoms that we waste time trying to connect to.
Jordan Lee [Tue, 29 Mar 2011 15:18:25 +0000 (15:18 +0000)]
(trunk libT) better scrape management on private trackers.
If a private tracker scrape says that there are no downloaders in the swarm, mark all the peers in the private swarm as seeds. This can greatly reduce unnecessary overhead on large seedboxes. We don't do this same trick on public torrents, since a public tracker won't know of all the peers.
Jordan Lee [Tue, 29 Mar 2011 01:47:17 +0000 (01:47 +0000)]
(trunk libT) fix bitfield assertion failure due to invalid assumption in tr_bitfieldIsValid()
Jordan Lee [Tue, 29 Mar 2011 01:17:18 +0000 (01:17 +0000)]
(trunk libT) more completion and bitfield cleanup: (1) fix regression in tr_cpSizeWhenDone() reported by Waldorf, (2) make simple one-liner functions inlined
Jordan Lee [Mon, 28 Mar 2011 16:46:57 +0000 (16:46 +0000)]
(trunk mac) delete bitset.[ch] from the xcode file. No, I don't know what I'm doing, but what's the worst that could happen, it could break the build... :)
Jordan Lee [Mon, 28 Mar 2011 16:33:40 +0000 (16:33 +0000)]
(trunk libT) whoops, remove 4 debugging fprintf()'s from the previous commit
Jordan Lee [Mon, 28 Mar 2011 16:31:05 +0000 (16:31 +0000)]
(trunk libT) break the mac build and introduce new crashes.
This is partially to address #4145 "Downloads stuck at 100%" by refactoring the bitset, bitfield, and tr_completion; however, the ripple effect is larger than usual so things may get worse in the short term before getting better.
livings124: to fix the mac build, remove bitset.[ch] from xcode
Jordan Lee [Mon, 28 Mar 2011 13:37:46 +0000 (13:37 +0000)]
(trunk libT) strip trailing whitespace
Jordan Lee [Mon, 28 Mar 2011 03:45:31 +0000 (03:45 +0000)]
(trunk libT) fix memory leak in tr_utf8clean()'s utility function to_utf8()
Mitchell Livingston [Sun, 27 Mar 2011 22:10:03 +0000 (22:10 +0000)]
drop two NSLogs
Mitchell Livingston [Sun, 27 Mar 2011 15:56:05 +0000 (15:56 +0000)]
update Spanish localization for 2.3
Mitchell Livingston [Sun, 27 Mar 2011 02:50:38 +0000 (02:50 +0000)]
Attempt to fix #4148 "Mac client gives inappropriate error if data volume is not mounted"
Mitchell Livingston [Sat, 26 Mar 2011 17:01:49 +0000 (17:01 +0000)]
add µTP to the help documentation
Mitchell Livingston [Sat, 26 Mar 2011 16:05:11 +0000 (16:05 +0000)]
update NEWS
Mitchell Livingston [Sat, 26 Mar 2011 16:02:13 +0000 (16:02 +0000)]
update Credits to match AUTHORS
Mitchell Livingston [Sat, 26 Mar 2011 15:46:12 +0000 (15:46 +0000)]
update Italian localization for 2.3
Jordan Lee [Sat, 26 Mar 2011 12:06:04 +0000 (12:06 +0000)]
(trunk libT) remove the tr_session argument from the announce/scrape response callbacks
Jordan Lee [Sat, 26 Mar 2011 10:22:25 +0000 (10:22 +0000)]
(trunk libT) minor code cleanup in announcer-udp: whitespace & function names
Jordan Lee [Fri, 25 Mar 2011 18:00:14 +0000 (18:00 +0000)]
draft of NEWS for 2.30
Jordan Lee [Fri, 25 Mar 2011 17:54:01 +0000 (17:54 +0000)]
add Andreas Nilsson to the credits
Jordan Lee [Fri, 25 Mar 2011 17:42:47 +0000 (17:42 +0000)]
(trunk) fix a handful of small memory leaks that valgrind found.
Jordan Lee [Fri, 25 Mar 2011 15:03:42 +0000 (15:03 +0000)]
(trunk) yet more "#include" tweaks
Jordan Lee [Fri, 25 Mar 2011 07:32:30 +0000 (07:32 +0000)]
(trunk gtk) get everything except torrent-cell-renderer building under GTK+ 3.0.5
Jordan Lee [Fri, 25 Mar 2011 06:40:46 +0000 (06:40 +0000)]
(trunk gtk) gtk_open_uri(): use gtk_show_uri() as the default implementation for GTK+ > 2.14.0.
gtk_show_uri() was added in 2.14.0
Jordan Lee [Fri, 25 Mar 2011 06:20:12 +0000 (06:20 +0000)]
(trunk libT) copyediting: yes, removing more unnecessary #includes
Jordan Lee [Fri, 25 Mar 2011 05:34:26 +0000 (05:34 +0000)]
(trunk libT) API cleanup of the tr_address functions to make them more consistent.
This is loosely related to #2910, but only in the sense of laying the groundwork for #2910's fix...
Jordan Lee [Fri, 25 Mar 2011 01:41:57 +0000 (01:41 +0000)]
(trunk libT) still fiddling around with #includes -- this time removing unncecessary libT includes from libT .c files
Mitchell Livingston [Fri, 25 Mar 2011 01:37:50 +0000 (01:37 +0000)]
#4055 Fix a memory leak when removing a transfer + data file
Jordan Lee [Fri, 25 Mar 2011 01:21:31 +0000 (01:21 +0000)]
(trunk libT) copyediting: '#include "crypto.h"' cleanup
Jordan Lee [Thu, 24 Mar 2011 22:57:39 +0000 (22:57 +0000)]
(trunk libT) copyediting: remove a bunch of seemingly-unneeded network headers in net.[ch].
I'm less certain that these are unneeded because networking APIs seem to have more variation between platforms, but it's better to remove the cruft and then add back whatever headers $PLATFORM users complain about, than to not remove the cruft at all...
Jordan Lee [Thu, 24 Mar 2011 22:45:04 +0000 (22:45 +0000)]
(trunk libT) copyediting: clean up the "#include <event2/*>" directives in libtransmission's header files
Jordan Lee [Thu, 24 Mar 2011 21:49:42 +0000 (21:49 +0000)]
(trunk) copyediting: remove some unneeded #includes, and annotate some needed ones
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
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
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
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
Mitchell Livingston [Thu, 24 Mar 2011 00:56:36 +0000 (00:56 +0000)]
#4063 Adding a tracker before last failed add causes lockup
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
Mitchell Livingston [Wed, 23 Mar 2011 22:36:08 +0000 (22:36 +0000)]
update Brazilian Portuguese localization for 2.3
Mitchell Livingston [Wed, 23 Mar 2011 22:24:10 +0000 (22:24 +0000)]
update Chinese localization for 2.3
Jordan Lee [Wed, 23 Mar 2011 18:26:01 +0000 (18:26 +0000)]
(trunk qt) housekeeping: tr_bool --> bool
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
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
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
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
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
Jordan Lee [Tue, 22 Mar 2011 23:37:20 +0000 (23:37 +0000)]
(trunk) remove unused gcc symbol: TR_GNUC_PURE
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.
Jordan Lee [Tue, 22 Mar 2011 16:07:49 +0000 (16:07 +0000)]
still trying to 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
Jordan Lee [Tue, 22 Mar 2011 15:19:54 +0000 (15:19 +0000)]
(trunk) #4138 "use stdbool.h instead of tr_bool" -- done.
Jordan Lee [Tue, 22 Mar 2011 14:45:04 +0000 (14:45 +0000)]
test & see if xcode/osx has stdbool.h
Jordan Lee [Mon, 21 Mar 2011 20:45:50 +0000 (20:45 +0000)]
(trunk gtk) tweak Makefile.am
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
Jordan Lee [Mon, 21 Mar 2011 17:08:10 +0000 (17:08 +0000)]
(trunk libt) more transmission.h copyediting
Jordan Lee [Mon, 21 Mar 2011 16:42:32 +0000 (16:42 +0000)]
(trunk libT) discard out-of-range reject messages from peers.
Jordan Lee [Mon, 21 Mar 2011 16:33:16 +0000 (16:33 +0000)]
(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBitfieldEnabled()
Jordan Lee [Mon, 21 Mar 2011 16:30:58 +0000 (16:30 +0000)]
tidy up
Jordan Lee [Mon, 21 Mar 2011 16:28:44 +0000 (16:28 +0000)]
maybe fix the mac build?
Jordan Lee [Mon, 21 Mar 2011 16:26:45 +0000 (16:26 +0000)]
(trunk libT) copyediting in transmission.h: fix some line wraps
Jordan Lee [Mon, 21 Mar 2011 16:22:39 +0000 (16:22 +0000)]
(trunk libT) remove unused configDir argument from tr_sessionGetDefaultSettings()
Mitchell Livingston [Sun, 20 Mar 2011 17:22:50 +0000 (17:22 +0000)]
update Localizable.strings
Jordan Lee [Sun, 20 Mar 2011 15:56:32 +0000 (15:56 +0000)]
(trunk libT) tweak comments to fix inconsistent capitalization
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
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/
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.
Jordan Lee [Fri, 18 Mar 2011 17:11:42 +0000 (17:11 +0000)]
(trunk libT) #4114 "crash on open r12168 in tau_sendto()" -- fixed.
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.