Charles Kerr
f8a98a8c35
eliminate duplicate code between readfile() and tr_loadFile(). shrink down the daemon torrent code a bit.
2008-02-27 20:06:53 +00:00
Charles Kerr
9ee96fd0dc
add `verify' command to ipc.
2008-02-27 17:38:39 +00:00
Charles Kerr
494acbfa85
tear out about 1/3 of ipcparse's overhead.
2008-02-27 06:01:46 +00:00
Charles Kerr
bd7a98d7df
fix daemon PEX enable/disable bug reported by Bicster
2008-02-08 16:51:34 +00:00
Charles Kerr
df9bd1f713
#667 : remote crash exploit in bencode parser
2008-01-31 02:24:43 +00:00
Charles Kerr
401cfbdb6b
replace the per-torrent PEX setting with a global one, as per discussion with SoftwareElves and BentMyWookie
2007-12-24 05:03:40 +00:00
Charles Kerr
7542573044
brush away the last remnants of tr_torrentInit()
2007-12-22 03:51:12 +00:00
Charles Kerr
73ee11f233
Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.
...
NOTE: this will break the xpjets build until SoftwareElves or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.
2007-12-08 19:34:15 +00:00
Charles Kerr
60aab6c433
remove libtransmission code that duplicates functionality in libevent
2007-11-06 21:14:30 +00:00
Josh Elsasser
13bd23e44b
Add IPC messages to set and retrieve the encryption mode.
...
Implement encryption mode messages in -daemon and -remote.
2007-10-26 03:43:27 +00:00
Josh Elsasser
a3b0698150
Whoops. Start the exit timer on the right libevent instance.
...
This should fix some problems with the daemon exiting.
2007-10-26 03:36:02 +00:00
Charles Kerr
c50cadbcaa
remove dead code (TR_STATUS_ACTIVE, TR_STATUS_INACTIVE)
2007-10-20 22:07:21 +00:00
Charles Kerr
e698756c98
remove unused flags
2007-10-15 20:58:39 +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
Josh Elsasser
511470bfa4
Catch up with an old libT API change and allow autostart to be disabled again.
2007-09-05 04:05:30 +00:00
Charles Kerr
bbac082af5
finish splitting the rate control from one state into two states as requested by BMW
2007-07-20 08:33:59 +00:00
Josh Elsasser
65dba27217
bzero -> memset
2007-07-19 00:57:26 +00:00
Charles Kerr
bd3ce76fa5
part one of moving the build environment over to automake/autoconf. beware!
2007-07-18 23:04:26 +00:00
Charles Kerr
321b01d430
make tr_torrentStat() const.
...
malloc, rather than calloc, the buffer in strndup.
2007-07-15 19:12:54 +00:00
Charles Kerr
6c6732ed39
make tr_torrentInfo() a const function
2007-06-30 13:36:58 +00:00
Charles Kerr
47a5ff4120
add tr_torrentCanAdd() as per BentMyWookie's request... clear tracker error string when restarting... fix r2202 "completed" announce bug.
2007-06-27 05:14:38 +00:00
Charles Kerr
af92ca6211
sync with r2002's torrent destruction sequence
2007-06-26 20:46:12 +00:00
Charles Kerr
40ee651158
push the destination directory into tr_torrentInit*()
2007-06-26 20:29:13 +00:00
Josh Elsasser
81a6d96d6e
Remove tr_handle_t argument from tr_torrentClose().
2007-05-23 04:45:20 +00:00
Josh Elsasser
132e4f5c8c
Merge daemon branch to trunk.
2007-04-18 16:39:10 +00:00