Jordan Lee
392df7ceb8
(trunk libT) #3969 "tr_base64_encode() has unnecessary overhead with linefeeds" -- fixed.
...
Don't add linefeeds to base64-encoded data. We don't need it and it just increases the length of the string, which is typically sent over the network to an RPC client.
2011-01-31 22:47:07 +00:00
Charles Kerr
36c8843ba5
(trunk libT) #3867 "memmem(3) in Solaris 11 doesn't work as expected" -- fixed.
2011-01-02 07:56:20 +00:00
Charles Kerr
3192dae8c0
(trunk libT) #3868 "util tests fail on Solaris 11 because sqrt(-1) is '-nan'" -- fixed.
2011-01-02 07:49:30 +00:00
Charles Kerr
e5bb3205a1
(trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :)
2010-12-27 19:18:17 +00:00
Charles Kerr
2ee5b08e94
(trunk libT) #3521 "rounding issue in tr_truncd()" -- try yet again to work out all the fringe cases :)
2010-10-21 23:47:23 +00:00
Charles Kerr
97d992bba0
(trunk libT) add a new unit test for tr_truncd(2.05)
2010-10-17 18:29:36 +00:00
Charles Kerr
b63d64e0e3
(trunk libT) #3521 "rounding issue in tr_truncd()" -- fixed.
2010-09-22 16:09:36 +00:00
Charles Kerr
230193053e
(trunk libT) #3449 "overflow error in tr_truncd()" -- fixed.
2010-07-24 17:09:39 +00:00
Charles Kerr
082384fc81
(trunk libT) sync unit tests to iconv() usage
2010-07-07 17:08:38 +00:00
Charles Kerr
91d8cbc383
(2.0x trunk) #3397 "checksum errors when downloading files whose names are encoded in iso-8859-1" -- fixed
2010-07-07 16:48:23 +00:00
Charles Kerr
cdcc4705aa
(trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while.
2010-07-03 00:25:22 +00:00
Charles Kerr
1f3ead026d
(trunk) #3311 "MingW build of Transmission" -- modify tr_strip_positional_args() to strip out the ' printf flag. Platforms not supporting $ tend to not support ' either
2010-06-25 01:13:35 +00:00
Charles Kerr
5a9a07b71e
(trunk) #2938 "crash when adding a torrent by URL from an ftp source over RPC" -- fixed in trunk for 1.91
2010-02-20 15:57:05 +00:00
Charles Kerr
a1ccd10f89
(trunk libT) add simple tr_http_unescape() unit test
2009-12-10 10:44:06 +00:00
Charles Kerr
cd0de2ebe5
(trunk libT) fix errors in tr_httpParseURL()
2009-12-10 09:13:08 +00:00
Charles Kerr
f73f223540
(trunk libT) #2653 "transmission-remote-dotnet makes transmission-daemon segfault" -- fixed for 1.80
2009-12-09 12:44:23 +00:00
Charles Kerr
f69e335291
(trunk) #2096 : Magnet, BEP #9 support
2009-11-24 02:16:31 +00:00
Charles Kerr
94a48c4c81
(trunk libT) a very minor commit. remove trailing spaces from lines and other stuff like that
2009-11-22 03:57:36 +00:00
Charles Kerr
9383a6abfd
(trunk libT) #2096 : add code magnet URL parser and unit tests
2009-11-20 04:38:19 +00:00
Charles Kerr
060bd2f722
(trunk libT) #2547 : fix tr_lowerBound()
2009-10-31 22:16:06 +00:00
Charles Kerr
202e593f8d
(trunk libT) add tr_truncd() unit test
2009-07-14 20:35:48 +00:00
Charles Kerr
8e676171d4
(trunk libT) move tr_bitfield into its own, package-visible source files. this may break the mac build temporarily until the xcode file gets synced
2009-06-15 00:11:06 +00:00
Charles Kerr
66da41e517
(trunk) dht seems to be crashing in bcmp() on the mac, so I suspect the homegrown implementation of memmem() is buggy... test this out by replacing memmem()'s implementation
2009-05-22 05:35:51 +00:00
Charles Kerr
65bba3fdfb
(trunk libT) #1671 : transmission-remote --get option not including all files
2009-02-09 17:25:48 +00:00
Charles Kerr
13c22f88ff
(trunk libT) fix some code that the newly-added gcc warnings didn't like
2009-01-23 18:44:15 +00:00
Charles Kerr
4d228289ce
(trunk libT) prefer int' over
ssize_t'
2009-01-19 14:05:43 +00:00
Charles Kerr
92ee6566db
(trunk libT) #1675 : better utf8 validation of metainfo name, creator, and comment fields
2009-01-10 22:48:58 +00:00
Charles Kerr
e7461eb684
(libT) fix a tr_buildPath() bug reported by pea_
2008-10-30 19:47:00 +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
Mukund Sivaraman
d71d6dfd95
Include crypto.h for randint test
2008-09-06 02:09:53 +00:00
Mukund Sivaraman
4d794e1a5b
Test val instead of i
2008-09-06 02:08:43 +00:00
Charles Kerr
7944e7c608
add a unit test to exercise tr_cryptoRandInt()
2008-09-06 02:04:37 +00:00
Charles Kerr
ee10a8acab
(libT) #1255 : fails to parse announce URLs that have leading or trailing spaces
2008-09-05 19:11:30 +00:00
Charles Kerr
58881d45be
more metainfo/bencode cleanup
2008-08-21 16:12:17 +00:00
Mukund Sivaraman
ed7685dd1a
Make tr_bitfieldHas() a macro
2008-08-20 13:45:52 +00:00
Charles Kerr
d6b2cbae9b
(libT) add unit tests for tr_bitfieldAddRange()
2008-08-14 14:38:13 +00:00
Charles Kerr
540c68ee01
update the regression tests to hammer tr_bitfieldRemRange() a little harder
2008-08-13 18:55:27 +00:00
Charles Kerr
51aff87443
lots of C correctness tweaks suggested by sparse/cgcc
2008-08-11 19:05:02 +00:00
Charles Kerr
f0229ed8ad
(libT) allow custom blocklists... now all you need to do is place a file in the blocklists/ folder and Transmission will automatically use it the next time it starts.
2008-06-11 16:15:45 +00:00
Charles Kerr
dce24eb1f0
libT: first cut at implementing the internal peers' request queues as pieces rather than blocks, as discussed with erdgeist and denis, to avoid a couple of nasty CPU bottlenecks.
2008-06-09 22:53:45 +00:00
Charles Kerr
e212eeceb7
add first draft of tr_bitfieldFindTrue() courtesy of erdgeist
2008-06-07 14:41:31 +00:00
Charles Kerr
f8d40cdf00
(libT): added an ACL tester to tr_sessionSetRPCACL() and return an error string if the ACL can't be parsed.
2008-06-02 19:44:19 +00:00
Charles Kerr
53a426c738
add in some very simple bitfield tests, and add a #define option to turn it into a speed test
2008-06-02 15:52:16 +00:00
Charles Kerr
7beacb3032
(1) RPC "add-torrent" now lets clients embed base64-encoded metainfo directly into the request
...
(2) remove the RISON code; it didn't make the final cut
(3) add base64 encode/decode utilities and unit tests
2008-05-20 17:33:54 +00:00