Jordan Lee
b24a550459
(libT) fix memory leak regression in the nightlies reported by x190
2013-02-17 23:00:11 +00:00
Jordan Lee
fcdec9a8bc
(libT) don't start the web thread until we have a task to feed to curl
2013-02-15 01:52:47 +00:00
Jordan Lee
58862d0fc4
(libT) remove code to migrate config files from pre-2008
2013-02-15 01:51:49 +00:00
Jordan Lee
bb05b943e9
(libT) #5293 'Wrong error codes used in upnp.c': patch by rb07
2013-02-14 23:45:13 +00:00
Jordan Lee
0be5e8deef
(libT) #5291 'increase scrape buffer sizes to accomodate for multiscrape': done with patch by reardon
2013-02-10 23:21:58 +00:00
Jordan Lee
5040778a92
(libT) restore the RPC download-dir-free-space argument to avoid unscheduled breakage. Document the timetable for its removal in rpc-spec.txt.
2013-02-10 19:36:13 +00:00
Jordan Lee
a7c6e78985
In Web Client, use jQuery.ajax() to upload files
...
If we use FormData and jQuery.ajax() calls to upload a torrent,
we can stop bundling the jquery.form.js module. In addition, this
simplifies passing arguments in the headers s.t. rpc-server.c doesn't
have to look for the CSRF token as one of the multiparts.
This changes the upload POST behavior, so give it a new name (upload2).
The old function (upload) will be deprecated but kept until 2.90 so
that third-party web clients using the old POST semantics will have
time to update.
Bug #5290 <https://trac.transmissionbt.com/ticket/5290 >
2013-02-10 18:33:04 +00:00
Jordan Lee
cd09204a6e
(trunk) first draft of changing the FreeSpace API to behave as https://trac.transmissionbt.com/ticket/4076#comment:25 -- libT, rpc, qt, and gtk implementations.
2013-02-09 04:05:03 +00:00
Jordan Lee
836fcc31d2
(libT) #5276 'regression in nightly: assert (tr_sessionIsLocked (session))': fix the bug; tests now pass again
2013-02-06 05:52:41 +00:00
Jordan Lee
3eff07dde4
(libT) #5276 'regression in nightly: assert (tr_sessionIsLocked (session))': add unit test (currently failing) to reproduce this error
2013-02-06 05:51:51 +00:00
Jordan Lee
12c2b35abb
(libT) #5275 'quotactl breaks compilation of libT/platform.c on Solaris' -- fixed with patch from spaam
2013-02-05 14:35:01 +00:00
Jordan Lee
445609f690
(trunk) prefer tr_remove() to unlink() or rmdir()
2013-02-04 21:53:19 +00:00
Jordan Lee
407c0b53c7
(trunk) add portability wrappers tr_rename(), tr_remove() for the rename() and remove() funcs s.t. utf16 can be handled
2013-02-04 21:45:20 +00:00
Jordan Lee
a04fb2c9d9
(libT) add rb07's win32 implementation of tr_mkstemp()
2013-02-04 21:07:24 +00:00
Jordan Lee
911d64df44
(libT) add rb07's win32 implementation of tr_is_same_file().
2013-02-04 20:57:20 +00:00
Jordan Lee
5307bef4ec
(libT) when logging on win32, use OutputDebugStringA instead of OutputDebugString
2013-02-04 20:48:33 +00:00
Jordan Lee
6d5a54e52c
(libT) add '#include errno.h' to announcer-udp.c to ensure errno is declared
2013-02-04 20:46:16 +00:00
Jordan Lee
e899519a97
(libT) #5274 '"copy magnet link to clipboard" doesn't include webseeds': fixed.
2013-02-04 18:54:38 +00:00
Jordan Lee
96691dd019
(libT) make the class hierarchy between tr_peer, tr_peerMsgs, and tr_webseed a little less ad-hoc
2013-02-04 16:23:33 +00:00
Jordan Lee
5475e1507e
(libT) reduce the scope of REQUEST_BUF_SECS from peer-common.h to peer-msgs.c
2013-02-03 23:29:34 +00:00
Jordan Lee
f370a76c57
move tr_peer.encryptionPreference to tr_peermsgs.encryptionPreference
2013-02-03 22:45:32 +00:00
Jordan Lee
3cb7595b85
(libT) move the tr_peer declaration from peer-mgr.h to peer-common.h
2013-02-03 22:40:00 +00:00
Jordan Lee
67ae1e7b2e
(libT) remove redundancy from compareKeys()
2013-02-03 21:43:17 +00:00
Jordan Lee
84aed36ba9
(libT) copyediting: whitespace/indentation
2013-02-02 20:17:52 +00:00
Jordan Lee
c8e22c46d4
(libT) #5267 : 'speed limits wrap around too low number (~8589 kB/s)': patch by const
2013-02-02 16:31:05 +00:00
Jordan Lee
273e0a4504
(libT) copyediting: indentation/whitespace in rpc-server.c
2013-02-02 16:22:21 +00:00
Jordan Lee
1f2bccd17b
(libT) recycle the peer id used for public torrents after N hours of use
2013-02-02 13:42:50 +00:00
Jordan Lee
aa8ddcb218
(libT) remove pointless tr_session.peer_id variable
2013-02-02 05:31:43 +00:00
Jordan Lee
70289d9629
(libT) #5259 'Minor memory leaks in tr_torrentDeleteLocalData()': cleaner patch suggested by cfpp2p
2013-02-01 19:21:38 +00:00
Jordan Lee
3819360ca0
(libT) when unable to run locale-specific json tests, give a hint in the terminal about how to remedy that
2013-02-01 06:11:41 +00:00
Jordan Lee
1a99b9c168
change the test harness' session initialization s.t. we can configure it for per-test needs. Add tests for moving completed torrents when downloadDir is a subdirectory of incompleteDir. (Hi, KyleK)
2013-02-01 05:57:47 +00:00
Jordan Lee
ef9d4eee33
(libT) ensure that tr_torrentVerify()'s completion callback gets invoked even if it's removed from the verify queue before it gets a chance to run.
2013-02-01 00:21:30 +00:00
Jordan Lee
d84836a81c
fix r13913 oops: I didn't mean to check in the fail.sh change that only called rename-test
2013-01-31 22:00:32 +00:00
Jordan Lee
69f3e31230
(libT) change the API signature for tr_torrentVerify() s.t. client code can be notified when the verify is finished
2013-01-31 21:58:25 +00:00
Jordan Lee
9c550b5a78
(libT) fix dangling pointer in tor->currentDir when reloading a .resume file from disk
2013-01-31 21:57:08 +00:00
Jordan Lee
1eb2933fc5
(libT) maybe fix removed-file-found issue reported by Lacrocivious
2013-01-31 19:07:34 +00:00
Jordan Lee
500aa4569f
(libT) fix a filesystem sync issue in rename-test, reported by Lacrocivious
2013-01-31 18:20:37 +00:00
Jordan Lee
47d2a1ee8f
(libT) add assertions to check that block-writing functions are only invoked in the libtransmission thread
2013-01-31 17:39:06 +00:00
Jordan Lee
65859df967
fix oops
2013-01-31 05:11:32 +00:00
Jordan Lee
3eb533336d
fix a race condition error in move-test
2013-01-31 05:10:08 +00:00
Jordan Lee
ae1ec6aab4
fix a race condition error in rename-test
2013-01-31 05:09:19 +00:00
Jordan Lee
4aa4012a73
fix race condition triggered in the unit tests by requiring a libtransmission thread lock in torrentRemove()
2013-01-31 05:05:44 +00:00
Jordan Lee
0b9f651a93
(libT) add to rename-tests
2013-01-30 21:26:04 +00:00
Jordan Lee
8a33a1b315
(libT) increment the announced downloadCount only when the piece becomes complete.
2013-01-30 20:06:12 +00:00
Jordan Lee
6d8080bcf4
(libT) copyediting: fix whitespace
2013-01-30 20:00:43 +00:00
Jordan Lee
1b5cc093e6
(libT) when announcing a magnet link for the first time, send 'left=0'
2013-01-30 19:59:55 +00:00
Jordan Lee
553bd58681
(libT) peer-mgr doesn't care about non-piece data being transferred, so don't notify it when it happens
2013-01-30 18:00:03 +00:00
Jordan Lee
fdcba2a7fa
only show ratios to one decimal place
2013-01-30 00:16:20 +00:00
Jordan Lee
e85ece214e
(libT) rename internal struct 'tr_torrent_peers' as 'tr_swarm'
2013-01-27 21:03:52 +00:00
Jordan Lee
722867ad62
(libT) tweaks to rename-test to give better line numbers on failure in Jenkins
2013-01-27 17:47:38 +00:00