1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00
Commit graph

248 commits

Author SHA1 Message Date
Charles Kerr
0f14f62ac1 (trunk libT) new utility function tr_timerAddMsec() 2009-12-10 19:04:10 +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
78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Mitchell Livingston
5fb643431e decrease the size of the buffer for logging 2009-12-05 01:28:42 +00:00
Mitchell Livingston
8efe3f7cce remove a redundant level check in tr_msg() 2009-12-05 01:02:37 +00:00
Mitchell Livingston
ad06c660c8 cap libT's message log 2009-12-01 23:20:00 +00:00
Mitchell Livingston
0563580dda inline tr_removeElementFromArray() 2009-11-30 01:31:05 +00:00
Mitchell Livingston
87823ba99c set two blank functions as inline 2009-11-28 22:29:41 +00:00
Mitchell Livingston
2021706c6e remove an unneeded static variable 2009-11-27 18:13:36 +00:00
Mitchell Livingston
8214c797c6 trivial cleanup in the logging code 2009-11-27 17:55:09 +00:00
Charles Kerr
8e7d08fc83 (trunk libT) remove unnecessary calls to tr_msgInit(). Suggested by BentMyWookie. 2009-11-27 15:32:11 +00:00
Charles Kerr
c7f061cafc (trunk libT) make tr_msgLoggingIsActive() an inlined function. suggested by BentMyWookie 2009-11-27 15:25:14 +00:00
Charles Kerr
e1c6b792aa (trunk libT) #2610 "avoid unnecessary calls to time(NULL)" 2009-11-26 18:47:08 +00:00
Charles Kerr
931afc7d2a (trunk libT) fix variable name oops 2009-11-26 16:53:45 +00:00
Charles Kerr
cf69b11031 (trunk libT) #2595: "file too large error?" -- this can generate an EFBIG warning sparse preallocation is on and the peer makes an invalid request. At worst this kind of oddball case should generate a debug message notice, not a torrent error. Reported by Waldorf. 2009-11-25 19:26:30 +00:00
Charles Kerr
f69e335291 (trunk) #2096: Magnet, BEP #9 support 2009-11-24 02:16:31 +00:00
Charles Kerr
9383a6abfd (trunk libT) #2096: add code magnet URL parser and unit tests 2009-11-20 04:38:19 +00:00
Mitchell Livingston
48227fdfe1 eliminate setting an unnecessary null character 2009-11-09 05:08:59 +00:00
Charles Kerr
37dda955a1 (trunk libT) use __attribute__((nonnull)) where appropriate. remove two unused functions tr_int2ptr(), tr_ptr2int() 2009-11-01 01:35:06 +00:00
Charles Kerr
060bd2f722 (trunk libT) #2547: fix tr_lowerBound() 2009-10-31 22:16:06 +00:00
Charles Kerr
08e936704c (trunk libT) fix signed/unsigned comparison warnings on amd64 2009-10-30 14:53:17 +00:00
Charles Kerr
f5b97d43c9 (trunk libT) portability improvements to tr_moveFile() 2009-10-30 03:53:41 +00:00
Charles Kerr
22e3f1175a (trunk libT) #2531: when the user moves a torrent from one location to another, we don't need to reverify if the files are just rename()d 2009-10-27 23:00:34 +00:00
Charles Kerr
73222ce7aa (trunk libT) revert r9345, because all our .torrent and .resume files' hex letters are in lowercase 2009-10-22 18:48:26 +00:00
Charles Kerr
adfb6f70a1 (trunk libT) show sha1's hex letters in uppercase, as suggested by waldorf 2009-10-21 16:24:58 +00:00
Charles Kerr
d7c4537f2a (trunk, libT) #2379: infinite ratio shows as nan, invalid json 2009-09-26 04:24:45 +00:00
Charles Kerr
306d26a97c (trunk libT) very minor tweak: tr_httpIsValidURL() should return a tr_bool, not an int. 2009-08-12 19:44:32 +00:00
Charles Kerr
cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Charles Kerr
e5ff7d8f3e (trunk) #2271: rounding problem in printf() 2009-07-14 20:09:46 +00:00
Charles Kerr
057638c4e9 (trunk libT) #2240: Cryptic information messages on startup 2009-06-23 14:43:09 +00:00
Charles Kerr
1be7f51b3d (trunk libT) simplify the evtimer / struct timeval code a little 2009-06-15 03:24:40 +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
d8360f9a26 (trunk libT) avoid an unnecessary malloc/free in tr_strdup_printf() 2009-06-14 01:01:46 +00:00
Charles Kerr
ef21704b58 (trunk libT) remove the last calls to tr_getBuffer() and tr_releaseBuffer() 2009-06-14 01:00:36 +00:00
Charles Kerr
a2b9fcc592 (trunk libT) possible fix for #2078: Assertion failed: (tv->tv_usec >= 0) 2009-06-12 23:01:35 +00:00
Charles Kerr
9513fcbe66 (trunk libT) add a bunch of comments denoting where the libevent 2.0 changes will go 2009-06-02 18:21:23 +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
d0a84bcf09 boring tr_memmem tweaks 2009-05-20 04:30:55 +00:00
Charles Kerr
af213891f9 (trunk libT) make tr_memmem() more readable 2009-05-20 04:25:45 +00:00
Charles Kerr
dc02274d4c (trunk libT) silence a compiler warning 2009-05-19 15:53:34 +00:00
Charles Kerr
ed710be223 (trunk libT) expose tr_memmem() so it can be used by client code. use the OS' implementation if that's available. 2009-05-19 04:48:33 +00:00
Charles Kerr
29b1d3e2cc (trunk) #920: add "move data" to libT so all clients can use it 2009-05-13 15:54:04 +00:00
Charles Kerr
54b7f9ccab (trunk libT) #2030: revert false alarm r8361 as per this suggestion http://trac.transmissionbt.com/ticket/2030#comment:45 2009-05-08 20:52:12 +00:00
Charles Kerr
a0597ec8fb (trunk libT) clean up the debugging messages added to smoke out #2030 2009-05-07 13:03:39 +00:00
Charles Kerr
7fcf0a294b (trunk libT) add some testing messages for #2030... this dumps a lot of junk to the terminal and will be taken out as soon as there's some meaningful feedback in #2030 2009-05-07 01:05:10 +00:00
Charles Kerr
acb3b443f7 (trunk libT) silently add a \0 after the end of files read by tr_loadFile() so that text files can be handled directly as ascii strings 2009-04-28 20:42:55 +00:00
Charles Kerr
698aa192aa (trunk libT) convert tr_open_file_for_scanning() and tr_close_file() to use file descriptors instead of file pointers so that we don't have to mix and match between them 2009-04-26 20:44:18 +00:00
Charles Kerr
13a0a0556c (trunk libT) make tr_loadFile() use tr_open_file_for_scanning() 2009-04-26 07:59:36 +00:00
Charles Kerr
54e2e8ca2f (trunk libT) avoid unnecessary malloc()s & free()s in tr_utf8clean() 2009-04-16 21:00:48 +00:00