Jordan Lee
3cfef5eded
(trunk libT) #117 "UDP tracker protocol support" -- working implementation; needs testing and valgrinding and review.
2011-03-13 00:18:11 +00:00
Juliusz Chroboczek
63917c907b
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.
2011-03-12 22:45:14 +00:00
Mitchell Livingston
03d35fa06b
left out a 'p'
2011-03-12 03:50:17 +00:00
Mitchell Livingston
93b72674ac
#4104 temporarily reenable PPC support for the development period
2011-03-12 03:46:55 +00:00
Mitchell Livingston
d0aafd1352
remove a bunch of unnecessary target-level build settings
2011-03-11 22:58:34 +00:00
Jordan Lee
76fdae97cb
(trunk libT) #4106 "Assert in buildHandshakeMessage, r12131" -- probable fix
2011-03-11 19:28:44 +00:00
Jordan Lee
77a0a0b619
remove unused field
2011-03-11 17:26:41 +00:00
Jordan Lee
99ab56a82f
(trunk libT) copyediting: removing trailing spaces from lines
2011-03-11 15:44:24 +00:00
Jordan Lee
7d551f609c
(trunk libT) implement multiscrape.
2011-03-11 15:11:37 +00:00
Jordan Lee
d1f3a885a5
(trunk libT) ensure that a tr_torrent's peer id is initialized when the tr_torrent is constructed
2011-03-11 15:00:10 +00:00
Jordan Lee
a3cfc11268
(trunk libT) repeat the r12129 fix for delegating https scrapes
2011-03-11 13:04:09 +00:00
Mitchell Livingston
799facb919
fix Mac build
2011-03-11 11:53:21 +00:00
Jordan Lee
9704888172
(trunk libT) fix r12127 bug with delegating https trackers
2011-03-11 05:48:57 +00:00
Jordan Lee
ef5bb89e91
(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.
2011-03-11 04:57:53 +00:00
Jordan Lee
b46d3a2713
(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.
2011-03-11 04:19:01 +00:00
Jordan Lee
e45a6dabc9
(trunk gtk) fix 2.22+ time display regression in the GTK+ client.
2011-03-11 04:10:28 +00:00
Mitchell Livingston
1aff001fe7
silence more warning by explicitly setting some file encodings
2011-03-11 02:29:42 +00:00
Mitchell Livingston
d87ed3c900
silence a warning
2011-03-11 01:58:44 +00:00
Mitchell Livingston
9a6b11a7dc
Resize the "recycle" cleanup icon
2011-03-11 01:42:19 +00:00
Mitchell Livingston
e9f09524b4
Remove PPC support; remove a whole bunch of unneeded build settings.
2011-03-11 00:22:51 +00:00
Jordan Lee
896c9b54e1
(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.
2011-03-10 12:35:23 +00:00
Jordan Lee
b38466323b
(trunk libT) use a hex key for tracker announces.
2011-03-10 11:46:22 +00:00
Mitchell Livingston
a0afcac4b0
#4093 Peer and network settings accessible through the Web Client
2011-03-10 01:37:58 +00:00
Mitchell Livingston
15394498b0
add a button to the bottom-left of the main window to clean up all completed transfers
2011-03-10 01:36:51 +00:00
Juliusz Chroboczek
97229c1813
Protect against broken implementations of monotonic time.
...
Fixes #4090 .
2011-03-09 15:31:54 +00:00
Mitchell Livingston
2d1cff1a24
#4099 add 'not equal' in groups preferences
2011-03-08 23:35:37 +00:00
Mitchell Livingston
23d727d017
hard-code the status bar and filter bar height, so that the max window size factors in their height
2011-03-08 00:20:58 +00:00
Jordan Lee
6ff85c06c8
(trunk qt) #3570 "Russian Translation" -- updated.
2011-03-07 15:05:42 +00:00
Jordan Lee
db3282df47
(trunk daemon) #4094 : "move 'Ratio Limit' to 'LIMITS & BANDWIDTH section'" -- fixed.
2011-03-07 15:02:40 +00:00
Jordan Lee
3933d84e1c
(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.
2011-03-07 14:59:47 +00:00
Jordan Lee
b4538e0625
(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
2011-03-07 14:33:45 +00:00
Jordan Lee
d2270852af
(trunk libT) simpler implementation of the idea behind the code removed in r12108 and r12109.
2011-03-07 04:48:46 +00:00
Jordan Lee
6b4d500c36
(trunk libT) finish r12108
2011-03-07 03:46:26 +00:00
Jordan Lee
c9897ff97a
experimental fix for #4084
2011-03-06 23:49:40 +00:00
Jordan Lee
9145bce9cd
(trunk gtk) fix time display oops
2011-03-06 15:06:38 +00:00
Jordan Lee
05c39eaa3e
add a missing icon
2011-03-06 05:41:41 +00:00
Jordan Lee
411b0bbd1a
(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.
2011-03-05 19:15:37 +00:00
Jordan Lee
9e07e19b05
(trunk libT) #4085 "transmission crashed when adding a new torrent: assert failed" -- possible fix?
2011-03-05 16:29:19 +00:00
Jordan Lee
7ad41603e9
(trunk libT) #2338 : "uTP support" -- enable uTP by default.
2011-03-05 16:19:56 +00:00
Mitchell Livingston
8c72bcffd7
update the Add Magnet window's minimum size to match its new size
2011-03-05 04:01:46 +00:00
Jordan Lee
f015bafdbf
(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.
2011-03-05 03:51:57 +00:00
Mitchell Livingston
5b3c1c46d7
cleaner fix for #4066
2011-03-05 03:19:26 +00:00
Mitchell Livingston
86169d92a2
(trunk) tweak NEWS; typo fix
2011-03-04 23:38:25 +00:00
Jordan Lee
9bf2434e14
(trunk) copyediting: remove trailing spaces from source code lines in daemon/ gtk/ libtransmission/ and utils/
2011-03-04 23:26:10 +00:00
Jordan Lee
918f6a96e0
(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.
2011-03-04 21:38:04 +00:00
Jordan Lee
3fdd80eb0d
(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.
2011-03-04 21:00:52 +00:00
Jordan Lee
9024cb29f9
(trunk libT) #3208 "Local Peer Discovery idea: prioritize LPD requests for downloads" -- add patch from Eszet
2011-03-04 17:33:29 +00:00
Jordan Lee
0a62f69f1c
(trunk gtk) copyediting.
2011-03-04 15:49:51 +00:00
Jordan Lee
ae20b67f16
(trunk gtk) remove unused code: gtr_warn_if_fail()
2011-03-04 15:21:00 +00:00
Jordan Lee
9c7caec13f
(trunk gtk) minor copyediting for clarity/readability
2011-03-04 14:31:23 +00:00