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

47 commits

Author SHA1 Message Date
Charles Kerr
5619eae447 #853: transmission-(daemon|gtk) segfault when querying status 2008-04-10 19:02:24 +00:00
Charles Kerr
69eaaed409 remove a debugging printf 2008-04-06 17:12:15 +00:00
Charles Kerr
0080f1abe8 ipc/daemon cleanup 2008-04-04 17:19:44 +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
51a82e70c1 remove `TR_STATUS_DONE' from libtransmission's public API. It's useful as an internal state but not for code calling libtransmission. 2008-03-31 17:59:16 +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
a7d087b60a use a custom struct for the peer's four request queues since John_Clay's shark report shows it taking up about 40% of the time in malloc/free. also, maybe this will help the "idle memory" numbers some. 2008-02-29 03:41:50 +00:00
Charles Kerr
9ee96fd0dc add `verify' command to ipc. 2008-02-27 17:38:39 +00:00
Charles Kerr
5d233f86c4 make struct ipc_info opaque. const-ify the ipcparse functions where possible. 2008-02-27 16:47:58 +00:00
Charles Kerr
f82e8e581b remove unused "label" field. make ipc_havemsg() private. make ipc_parse()'s buf arg const. 2008-02-27 08:07:13 +00:00
Charles Kerr
494acbfa85 tear out about 1/3 of ipcparse's overhead. 2008-02-27 06:01:46 +00:00
Charles Kerr
8cc587a66f more housekeeping: benc_val_t --> tr_benc 2008-02-26 21:58:58 +00:00
Charles Kerr
de515ee339 if the torrent's download path doesn't exist, don't create it -- it's might be a removeable disk that got unplugged. 2008-01-18 19:13:32 +00:00
Mitchell Livingston
efd3910b09 patch from SWE to display the correct # of peers connected 2008-01-07 04:28:36 +00:00
Charles Kerr
a88af6a758 better fix for r4532 2008-01-07 00:42:53 +00:00
Charles Kerr
f98ab5b375 fix "other" error string in IPC. Reported by jan_doa_; fixed by SoftwareElves 2008-01-07 00:19:41 +00:00
Charles Kerr
ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr
a33f68a344 fix Gimp_'s problem 2007-12-24 05:17:12 +00:00
Charles Kerr
dfba59b97a tiennou's fix for #463 2007-11-12 15:08:58 +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
60aab6c433 remove libtransmission code that duplicates functionality in libevent 2007-11-06 21:14:30 +00:00
Charles Kerr
e625b10d6d "corruption" fix part 3: cleanup. remove unneeded possible points of failure. 2007-10-31 18:10:55 +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
Charles Kerr
c50cadbcaa remove dead code (TR_STATUS_ACTIVE, TR_STATUS_INACTIVE) 2007-10-20 22:07:21 +00:00
Charles Kerr
264f7ab8b3 Dead code removal (TR_STATUS_STOPPING) 2007-10-20 21:17:37 +00:00
Charles Kerr
e698756c98 remove unused flags 2007-10-15 20:58:39 +00:00
Charles Kerr
e4fec9eefd add tr_stat.peersKnown to indicate how many peers exist in the peer `pool' 2007-10-01 15:51:54 +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
Josh Elsasser
900aff7beb Include trcompat.h for asprintf()
Don't mix function and non function pointers without casting.
Replace a couple bzero()s with memset()s.
Remove a stray ;
Include a missing header.
2007-07-18 17:25:42 +00:00
Charles Kerr
82fbfb4c47 disambiguate some of the tr_stat_t variables' names 2007-07-16 00:50:43 +00:00
Josh Elsasser
1b5cde1edb Don't silently ignore IPC messages which aren't in the table (oops). 2007-07-14 05:29:18 +00:00
Charles Kerr
5e4a49be16 first draft of a fix for the tracker communication bug reported by TMT 2007-07-12 20:48:13 +00:00
Charles Kerr
790476ac23 clean up #includes a bit. 2007-07-12 17:51:45 +00:00
Charles Kerr
58f89cdc77 replace the unhelpful error message "error: insufficient resources" with more descriptive cases 2007-07-01 01:50:14 +00:00
Charles Kerr
6c6732ed39 make tr_torrentInfo() a const function 2007-06-30 13:36:58 +00:00
Josh Elsasser
a09a9c9157 Add client/server name to IPC version handshake. 2007-06-29 02:21:29 +00:00
Charles Kerr
21cf51e3f7 Add tr_stat_t.downloadedValid hook to IPC for Gimp_ 2007-06-26 17:52:45 +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
Josh Elsasser
0eaedc2fe3 Return bad-format message when appropriate.
Fix supported message to be more accurate.
2007-06-10 22:56:18 +00:00
Josh Elsasser
b19a3ec7d9 Add bad-format message. 2007-06-10 20:31:52 +00:00
Mitchell Livingston
0f9766145b patch from Charles Kerr: perform file checking one at a time (fixes #124) 2007-05-28 15:23:28 +00:00
Josh Elsasser
e24eea37a6 Prevent our __unused hack from breaking standard headers on linux. 2007-05-27 16:30:04 +00:00
Josh Elsasser
8fbb4eab67 Move a macro. 2007-05-24 07:11:59 +00:00
Josh Elsasser
28a4d4544e Rename ipc to ipcparse 2007-05-24 04:05:50 +00:00
Renamed from libtransmission/ipc.c (Browse further)