Charles Kerr
|
c0acf3e920
|
(trunk libT) hm, checked in the wrong version.
|
2009-01-06 07:48:30 +00:00 |
|
Charles Kerr
|
7581f04242
|
(trunk libT) faster tr_cpBlockBitfieldSet()
|
2009-01-06 07:45:15 +00:00 |
|
Charles Kerr
|
199e38dd66
|
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
|
2009-01-02 17:01:55 +00:00 |
|
Charles Kerr
|
d6b4db4a78
|
(trunk libT) add "inline" hint to several one-liner functions
|
2009-01-02 06:28:22 +00:00 |
|
Charles Kerr
|
7a4002dd3a
|
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_bitfield, contain it directly rather than a pointer to one allocated elsewhere on the heap.
|
2008-12-29 09:51:54 +00:00 |
|
Charles Kerr
|
c910993b68
|
#1379 lay some very early groundwork for "partial seeds" -- change tr_completion's enum to use the partial seed terminology
|
2008-11-30 01:52:45 +00:00 |
|
Charles Kerr
|
d12af295c1
|
use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx)
|
2008-11-28 22:11:41 +00:00 |
|
Charles Kerr
|
194833dfec
|
(libT) optimize tr_cpHaveValid(), which according to cachegrind is the biggest remaining hotspot function
|
2008-11-05 04:50:03 +00:00 |
|
Charles Kerr
|
5d35dfaeca
|
(libT) micro-optimizations suggested by cachegrind
|
2008-11-03 17:01:08 +00:00 |
|
Charles Kerr
|
0c4f300f1b
|
#1369: clarify the different torrent status & callbacks' APIs and typenames
|
2008-10-20 17:54:56 +00:00 |
|
Charles Kerr
|
5178988964
|
(libT) eliminating tr_errno, part 3: don't use it in tr_cpBlockBitfieldSet()
|
2008-10-02 23:37:58 +00:00 |
|
Charles Kerr
|
cc89872dd4
|
run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened
|
2008-09-23 19:11:04 +00:00 |
|
Charles Kerr
|
b860119cd3
|
minor text cleanup
|
2008-08-01 16:43:22 +00:00 |
|
Charles Kerr
|
bc26bcb705
|
maybe fix the forced-recheck-on-startup bug that pea_, John_Clay, and Gimp_ reported over the last two days
|
2008-06-11 02:19:40 +00:00 |
|
Charles Kerr
|
9f23502411
|
use "1.0f" instead of "1f"
|
2008-06-10 00:31:06 +00:00 |
|
Charles Kerr
|
eb72d44d94
|
fix oops from previous commit. hi, titer
|
2008-06-10 00:28:59 +00:00 |
|
Charles Kerr
|
adbbf82302
|
(libT) make tr_torrentAmountFinished() look at the same pieces as tr_torrentAvailability() for consistency's sake as requested by BentMyWookie
|
2008-06-09 23:58:31 +00:00 |
|
Charles Kerr
|
52cd591d5c
|
(libT) make tr_torrentAmountFinished() much faster when the torrent is complete
|
2008-06-09 23:05:14 +00:00 |
|
Charles Kerr
|
ef3203a765
|
roll back the completion changes in r6072; it caused a crash
|
2008-06-09 00:59:33 +00:00 |
|
Charles Kerr
|
e212eeceb7
|
add first draft of tr_bitfieldFindTrue() courtesy of erdgeist
|
2008-06-07 14:41:31 +00:00 |
|
Charles Kerr
|
041561f232
|
minor refactoring of tr_bitfield to (a) simplify the tests and (b) make things easier to read
|
2008-06-07 01:44:54 +00:00 |
|
Charles Kerr
|
ab17f553c4
|
get RPC password protections working in libT and the gtk+ client. mac, daemon, and cli need to be synced.
|
2008-06-05 16:23:03 +00:00 |
|
Charles Kerr
|
3b27e2d2af
|
possibly fix the issue discusssed in http://forum.transmissionbt.com/viewtopic.php?p=22725
|
2008-04-27 06:44:39 +00:00 |
|
Charles Kerr
|
42cbbaa57a
|
fix an assertion error: completion.c:113: failed assertion `ccp->sizeWhenDoneLazy >= ccp->sizeNow'
|
2008-04-26 14:52:05 +00:00 |
|
Charles Kerr
|
52ea125c45
|
#894: wont start - cp->doneHave <= cp->completeHave
|
2008-04-24 15:25:01 +00:00 |
|
Charles Kerr
|
fbc7cde718
|
tweak the value of haveDone as per BentMyWookie's suggestion
|
2008-04-21 00:04:41 +00:00 |
|
Charles Kerr
|
a818d74f35
|
the last commit was too assertive
|
2008-04-15 20:44:27 +00:00 |
|
Charles Kerr
|
87a77ea331
|
more hacking on the bencoded resume files
|
2008-04-15 17:00:44 +00:00 |
|
Charles Kerr
|
c8c84d6bd1
|
#872: crash in bitfield code when loading resume files
|
2008-04-13 14:29:11 +00:00 |
|
Charles Kerr
|
fc866f51f3
|
minor tr_torrentStat cleanup
|
2008-04-12 15:56:21 +00:00 |
|
Charles Kerr
|
fd0e71c00a
|
hack on IPC a bit because it's been too long since I broke it
|
2008-04-03 21:38:32 +00:00 |
|
Charles Kerr
|
c63b548195
|
fix bug that caused very large torrents to crash Transmission
|
2008-03-22 18:10:59 +00:00 |
|
Charles Kerr
|
8d14a789cb
|
#698: have' gets too far ahead of verified'
|
2008-02-10 04:03:19 +00:00 |
|
Charles Kerr
|
f32d3b24fe
|
#653 "overflow issue in Transmission/1.01" (1) safeguard bitfield functions against overflow. (2) add regression tests to see if this data is corrupted again in the future.
|
2008-01-27 16:08:20 +00:00 |
|
Charles Kerr
|
ce6c33b7bf
|
set copyright info to 2008
|
2008-01-01 17:20:20 +00:00 |
|
Charles Kerr
|
473907d891
|
a little housekeeping: move tr_torrent stuff into its own header
|
2007-12-25 05:37:32 +00:00 |
|
Charles Kerr
|
6242508fe2
|
minor tweaks.
|
2007-11-12 22:26:10 +00:00 |
|
Charles Kerr
|
fd430fde90
|
undoing the r3773-r3774 experiment.
|
2007-11-09 20:07:52 +00:00 |
|
Charles Kerr
|
67b719c2de
|
on Darwin, use NSCParameterAssert() instead of assert().
|
2007-11-09 19:50:40 +00:00 |
|
Charles Kerr
|
a6206b036c
|
"corruption" fix part 2: lots of assertions, and try to complete pieces & ban bad peers sooner
|
2007-10-31 04:23:51 +00:00 |
|
Charles Kerr
|
ee6a0b8945
|
modify the tr_stat struct as hashed out by charles_ and BentMyWookie. sync gtk, ipc, and wx clients.
|
2007-09-26 01:55:04 +00:00 |
|
Charles Kerr
|
fb70a9cca0
|
remove the backwards compatability typedefs at BentMyWookie's suggestion. update libT, gtk, daemon, and cli accordingly...
|
2007-09-20 20:14:13 +00:00 |
|
Mitchell Livingston
|
76da1185ca
|
merge encryption branch to trunk (xcode project is still out of date)
|
2007-09-20 16:32:01 +00:00 |
|
Charles Kerr
|
44f6cb1098
|
fix NaN error reported by persept
|
2007-08-21 16:26:01 +00:00 |
|
Charles Kerr
|
bae07d471e
|
added support for `corrupt' announce tag s.t. corrupted bytes don't count towards your download ratio
|
2007-08-21 15:17:02 +00:00 |
|
Charles Kerr
|
3cb5ba7eed
|
(trunk) fix assertion failure reported by kdrweez in http://transmission.m0k.org/forum/viewtopic.php?t=2096
|
2007-08-08 05:17:51 +00:00 |
|
Charles Kerr
|
d209052051
|
add portability wrapper for in_port_t...
|
2007-07-30 18:04:10 +00:00 |
|
Charles Kerr
|
e07d0220a9
|
this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file
|
2007-07-29 18:11:21 +00:00 |
|
Charles Kerr
|
7cfafc5371
|
* now that we've got a new function at the top of the CPU hog list, tweak it too.
* reduce large torrents' memory consumption in tr_completion_t.
|
2007-07-28 22:47:10 +00:00 |
|
Charles Kerr
|
79a0081092
|
a nice patch that makes the three most CPU-hogging functions (as reported by Shark) essentially free and reduces memory overhead by 8 bytes per piece per torrent. Lots of asserts for extra testing fun.
|
2007-07-28 15:43:34 +00:00 |
|
Charles Kerr
|
a180698e8a
|
save a little bit of memory per-torrent.
|
2007-07-27 23:07:26 +00:00 |
|
Charles Kerr
|
b372ce45bf
|
fix stupid typo in completion.c that gave the wrong valid dl amount
|
2007-07-27 11:56:34 +00:00 |
|
Charles Kerr
|
9e266f6cbc
|
tweak r2510 misassertion reported by Lacrocivious
|
2007-07-27 01:59:48 +00:00 |
|
Charles Kerr
|
8f4fb4efbe
|
speed improvements to tr_torrentStat() by folding two expensive & redundant functions together.
|
2007-07-27 01:22:49 +00:00 |
|
Charles Kerr
|
3b6b9d3852
|
fix bug in tr_cpDownloadedValid() that caused download sizes of > 4 GiB to be misreported locally
|
2007-07-26 19:15:36 +00:00 |
|
Charles Kerr
|
730d6df742
|
* fix overflow error from earlier today. (this was the crash talked about in IRC)
* fix long-standing error that occurred when pieceSize isn't evenly divisible by blockSize
* speed up and macro-ize piece-to-block conversions
|
2007-07-25 01:59:46 +00:00 |
|
Charles Kerr
|
79b85b36ab
|
add some assertion tests for #transmission
|
2007-07-24 20:49:47 +00:00 |
|
Charles Kerr
|
339005346c
|
remove unused function tr_cpMostMissingBlockInPiece()
|
2007-07-24 17:08:45 +00:00 |
|
Charles Kerr
|
17a8ae9fa2
|
faster tr_cpGetStatus() and tr_bitfieldHas(), which were showing up at the top of the CPU profile.
|
2007-07-24 14:51:46 +00:00 |
|
Charles Kerr
|
eefa51c65c
|
tr_cpBlockAdd: small speedup.
|
2007-07-24 11:50:29 +00:00 |
|
Charles Kerr
|
1c7c8072b4
|
fix crash on zero-byte torrents
|
2007-07-15 03:52:51 +00:00 |
|
Charles Kerr
|
ed226a32ac
|
splitting dnd and priorities apart, and moving the file storage for those fields into fastresume
|
2007-07-10 03:12:46 +00:00 |
|
Charles Kerr
|
8fd06f3687
|
fix values for tr_cpLeftUntilComplete(), which were slightly off. (TooMuchTime)
|
2007-07-09 05:20:23 +00:00 |
|
Charles Kerr
|
3b1597789e
|
fix r2252 copy-and-paste bug. Thanks BentMyWookie
|
2007-06-30 21:39:03 +00:00 |
|
Charles Kerr
|
c58013c048
|
don't count too many bytes in the last block in tr_cpDownloadedValid(), tr_cpLeftUntilDone(), tr_cpLeftUntilComplete(). Very minor speedups in tr_bitfieldHas(), tr_bitfieldAdd(), tr_bitfieldRem().
|
2007-06-30 21:11:17 +00:00 |
|
Charles Kerr
|
05ca8403c6
|
* make tr_cpLeftUntilDone() slightly more accurate
* simplify completion code a little
|
2007-06-30 12:54:26 +00:00 |
|
Charles Kerr
|
8e401729cd
|
Modified tr_torrentCanAdd() to give the new functionality BMW suggests
|
2007-06-27 14:54:31 +00:00 |
|
Charles Kerr
|
9d139eefe4
|
possible fix for the -0.0 percent done bug
|
2007-06-23 02:24:03 +00:00 |
|
Charles Kerr
|
e087ac395a
|
Maybe fix the bug of progress-for-done not including non-checked files even if they're finished
|
2007-06-22 00:44:26 +00:00 |
|
Mitchell Livingston
|
0256f4616d
|
Merge file selection and torrent creation into the main branch.
The new code for these features is under a new license.
|
2007-06-18 03:40:41 +00:00 |
|
Charles Kerr
|
3b8d1e13c4
|
uninteresting minor stuff like adding const. this commit is just to reduce the shear between trunk and what lands in the file-selection branch.
|
2007-06-09 15:36:46 +00:00 |
|
Josh Elsasser
|
e9b4fd8aff
|
Do bounds checking on bitfields.
|
2007-03-05 23:03:38 +00:00 |
|
Eric Petit
|
e5e6a8b5df
|
Merge io branch into trunk
|
2007-01-14 12:00:21 +00:00 |
|
Mitchell Livingston
|
21ed57092a
|
don't leak in the pool (heh heh)
|
2006-12-13 18:30:11 +00:00 |
|
Josh Elsasser
|
d202bc4f1e
|
Fix a few minor style nits.
Use a floats instead of uint8_ts for piece percentages.
|
2006-10-13 00:23:20 +00:00 |
|
Mitchell Livingston
|
663c671f93
|
Initial attempt at against the completeness of a specific piece.
|
2006-10-12 23:34:20 +00:00 |
|
Eric Petit
|
f199e0a9d9
|
Revert [619]
|
2006-07-16 19:39:23 +00:00 |
|
Mitchell Livingston
|
5d36721a15
|
Remove old Sparkle...
|
2006-07-16 19:28:19 +00:00 |
|
Eric Petit
|
f98fe6a1b0
|
Added $Id$ keywords and updated a few headers
|
2006-05-29 21:21:23 +00:00 |
|
Eric Petit
|
aad7bf22cb
|
Update 2005-11-18
|
2006-01-12 18:32:29 +00:00 |
|
Eric Petit
|
d2cc6ce7c6
|
Update 2005-11-17
|
2006-01-12 18:29:20 +00:00 |
|