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 |
|
Charles Kerr
|
5df2570fdf
|
(trunk libT) make tr_localtime_r() a public function
|
2009-03-25 18:42:39 +00:00 |
|
Charles Kerr
|
9d335e391e
|
(trunk libT) #1906: Huge ratio precision (too many decimal places)
|
2009-03-09 23:51:58 +00:00 |
|
Charles Kerr
|
93b3d1ad7e
|
(trunk) #1881: promote tr_strratio() to libtransmission, so that its code doesn't have to be repeated in all the clients
|
2009-03-04 16:16:02 +00:00 |
|
Charles Kerr
|
fce040eb84
|
(trunk libT) #1828: timestamp for log/debug output
|
2009-02-18 05:09:28 +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
|
29661cf245
|
(trunk libT) new macro, tr_assert(). use it to help smoke out #1749
|
2009-01-25 16:14:11 +00:00 |
|
Charles Kerr
|
4d228289ce
|
(trunk libT) prefer int' over ssize_t'
|
2009-01-19 14:05:43 +00:00 |
|
Charles Kerr
|
b6588f442b
|
(trunk libT) have tr_strndup() take an ssize_t instead of an int
|
2009-01-18 15:15:41 +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
|
141847b902
|
(trunk libT) update the copyrights on some files that no longer have old code in them
|
2009-01-07 06:53:29 +00:00 |
|
Charles Kerr
|
2eb1faa5e8
|
(trunk libT) minor speedup tweaks in peer-request hotspots
|
2009-01-04 18:01:15 +00:00 |
|
Charles Kerr
|
51e68d6e56
|
(trunk libT) new peer request fifo queue with log(N) search time. new unit tests for the queue. new utility tr_lowerBound()
|
2009-01-04 16:29:44 +00:00 |
|
Charles Kerr
|
5afd327b15
|
(trunk libT) use ssize_t where appropriate in tr_peerIoFlush()
|
2009-01-03 04:57:40 +00:00 |
|
Charles Kerr
|
dfa0622a6c
|
(trunk libT) add "deep log" message to help track down freeze reported by the|Navigator. also, small + cheap speedup in tr_deepLoggingIsActive()
|
2009-01-03 02:43:17 +00:00 |
|
Charles Kerr
|
5e9af46612
|
(trunk libT) make the tr_bandwidth macros into safer inline funcs. inline utils' one-liners.
|
2009-01-02 20:12:23 +00:00 |
|
Charles Kerr
|
0cd572a0da
|
(trunk libT) make tr_isAddress() and tr_isDirection() inline
|
2009-01-02 04:47:37 +00:00 |
|
Charles Kerr
|
2ea88f30f5
|
(trunk libT) make the evbuffer pool threadsafe
|
2008-12-31 14:29:28 +00:00 |
|
Charles Kerr
|
ad69a937ef
|
(trunk libT) have a pool of reusable evbuffers
|
2008-12-30 20:32:00 +00:00 |
|
Charles Kerr
|
d463cdb509
|
(trunk libT) eliminate a couple more unnecessary malloc() + free() pairs
|
2008-12-30 03:29:09 +00:00 |
|
Charles Kerr
|
cad0ec892c
|
(trunk libT) avoid an unnecessary evbuffer_new() + evbuffer_free() pair in message logging
|
2008-12-30 02:36:17 +00:00 |
|
Charles Kerr
|
a8e15578f3
|
(trunk libT) use torrent's unique ID as the torrent's lookup key
|
2008-12-29 21:17:48 +00:00 |
|
Charles Kerr
|
415f04059f
|
(trunk libT) wrap tr_inf(), tr_msg(), tr_dbg() calls inside a check to see if that debugging level is active. That way that function calls in the vararg list won't be invoked unless that level of verbosity is actually turned on.
|
2008-12-29 18:11:56 +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
|
8556ce653f
|
(trunk libT) comments, tr_bool correctness, better runtime tests.
|
2008-12-21 18:15:00 +00:00 |
|
Charles Kerr
|
6b0d98a695
|
(trunk) #1559: Simplify tr_sessionInitFull
|
2008-12-13 23:17:36 +00:00 |
|
Mitchell Livingston
|
31482813b9
|
BeOS and Amiga support is, at least for now, a lost cause and hasn't worked for long over a year - removing from the source (if you for whatever unknown reason still need this, get it through SVN)
|
2008-12-02 03:57:01 +00:00 |
|
Charles Kerr
|
f8a7c4b347
|
#1406: need tr_getDefaultDownloadDir() for consistency between apps
|
2008-11-15 17:39:54 +00:00 |
|