Commit Graph

3061 Commits

Author SHA1 Message Date
Mitchell Livingston b562dc13ec Mac has getpagesize() and posix_memalign() 2010-02-22 02:21:50 +00:00
Mitchell Livingston db644587d0 update to 1.91+ 2010-02-22 02:04:47 +00:00
Charles Kerr 204243c5bd (trunk libT) #2952: "When possible, use posix_memalign() instead of valloc()" -- fixed in trunk for 1.91 2010-02-22 01:01:59 +00:00
Mitchell Livingston f3b98a6c18 avoid unnecessary setting of id when calling tr_torrentSetAnnounceList 2010-02-22 00:15:27 +00:00
Charles Kerr d0e5e68ac1 (trunk libT) when calling tr_torrentSetAnnounceList(), reset the tracker IDs to new, but unique, numbers synchronized between tr_info and the torrent stats 2010-02-22 00:11:19 +00:00
Charles Kerr c23044ee86 (trunk libT) when an rpc message torrent-stop or torrent-start comes in, check the torrent's currnet run state first instead of unconditionally calling tr_torrentStart() and tr_torrentStop() 2010-02-21 23:03:29 +00:00
Charles Kerr c1a6e7b5d9 (trunk libT) #2933 "looking up torrents by info hash should be case-insensitive" -- fixed in trunk for 1.91 2010-02-21 00:26:54 +00:00
Charles Kerr 71ed8193b8 (trunk libT) (1) reduce the default tracker announce timeout from 120 to 90 seconds. (2) for partial seeds, send an event=paused when we transition from being leeches to partial seeds, just as you would send an event=completed when becoming a seed 2010-02-20 21:03:49 +00:00
Charles Kerr bf135da49a (trunk libT) fix bug that prevented adding torrents by URL from an ftp source via http/rpc 2010-02-20 18:45:33 +00:00
Charles Kerr 7a33a9170e (trunk libT) revise r10238 to be a little more readable 2010-02-20 17:17:57 +00:00
Charles Kerr 9b68c1ec97 (trunk libT) comment out a couple of console debug messages 2010-02-20 16:33:20 +00:00
Charles Kerr 5a9a07b71e (trunk) #2938 "crash when adding a torrent by URL from an ftp source over RPC" -- fixed in trunk for 1.91 2010-02-20 15:57:05 +00:00
Charles Kerr a973e38bb5 (trunk libT) #2922 "announce's 'download' field should follow the de facto standard" -- added to trunk for 1.91 2010-02-20 15:36:25 +00:00
Charles Kerr 069d092301 (trunk libT) #2924 "1.90 crashes on startup" -- more changes in the vein of r10233 2010-02-20 03:41:47 +00:00
Charles Kerr 483086ef3d (trunk libT) #2924 "1.90 crashes on startup" -- fix typo from previous commit r10233 :/ 2010-02-20 01:22:10 +00:00
Charles Kerr 2f86872b0f (trunk libT) #2924 "1.90 crashes on startup" -- another experimental fix, inspired by the suggestion in http://forum.transmissionbt.com/viewtopic.php?p=45027&sid=9cfe1679bebdefb27dd288010cbff80d#p45027 that the bug may have been introduced in r10089. 2010-02-20 01:11:55 +00:00
Charles Kerr 1230a30991 (trunk libT) #2924 "1.90 crashes on startup" -- revert r10230's experimental code; it didn't work :( 2010-02-19 17:08:13 +00:00
Charles Kerr 761547d1d2 (trunk libT) #2924 "1.90 crashes on startup" -- experimental commit 2010-02-19 07:04:54 +00:00
Charles Kerr 3c936b2849 (trunk libT) #2907 "Speed Limit mode not retained after relaunch" -- fixed in trunk for 1.91 2010-02-19 06:19:47 +00:00
Charles Kerr 653537f8d7 (trunk libT) #2907 "speed limit mode not retained after relaunch" -- fixed in trunk for 1.90 2010-02-16 00:00:22 +00:00
Charles Kerr bdae614636 (trunk libT) instead of growing the ptrArray by a constant fixed amount when it runs out of room, follow exponential growth to minimize the number of realloc()s needed. This speeds up populating large arrays in bencode.c 2010-02-15 16:44:02 +00:00
Mitchell Livingston f239919443 ocd tweaks 2010-02-15 16:15:37 +00:00
Charles Kerr 6407e38df7 (trunk libT) fix a potential (but currently unused) code path in tr_torrentNew() that could cause a memory leak. Thanks to Elbandi for pointing this out. 2010-02-15 00:22:18 +00:00
Charles Kerr e31b9d8fc5 (trunk libT) #2903 "Don't send DHT port messages to peers if we didn't advertise support for DHT in the handshake" -- fixed in trunk for 1.90 2010-02-14 19:35:09 +00:00
Charles Kerr be80f3bbde (trunk libT) more improvements to tr_announcerResetTorrent() 2010-02-14 05:34:03 +00:00
Charles Kerr 586602a13a (trunk libT) annother announcer tweak, this time to resolve a problem reported by Longinus00 in #transmission on freenode that 404 responses incorrectly caused Transmission to announce again 2010-02-14 05:16:04 +00:00
Mitchell Livingston 26ccf12b3e #2902 New tracker addition field obscured when trackers vertically fill inspector view 2010-02-14 04:48:12 +00:00
Charles Kerr cf95714968 (trunk libT) handle 404 errors more gracefully. error reported by Longinus00 in #transmission on freenode 2010-02-14 03:54:35 +00:00
Charles Kerr 617e80d767 (trunk libT) #2850 "tr_torrentSetAnnounceList() should not trigger reannounces to trackers" -- further revision to get newly-added tiers to announce 2010-02-14 03:40:39 +00:00
Charles Kerr 2ad6e06ea6 (trunk libT) #2850 "tr_torrentSetAnnounceList() should not trigger reannounces to trackers" -- tweak to r10193 2010-02-14 03:28:54 +00:00
Charles Kerr 057b80a9f9 (trunk libT) "tr_torrentSetAnnounceList() should not trigger reannounces to trackers" -- implemented in trunk for 1.90 2010-02-13 21:58:38 +00:00
Charles Kerr c0cf694b85 (trunk libT) optimize out some unnecessary cycles when there are missing files in a torrent being verified 2010-02-13 05:46:31 +00:00
Charles Kerr adc7d6f8a4 (trunk libT) minor tweak to verify: use tr_pread() instead of lseek+read 2010-02-12 21:06:21 +00:00
Charles Kerr d3ae2cf696 (trunk libT) use valloc() and st.st_blksize when verifying local data 2010-02-12 19:59:30 +00:00
Charles Kerr a694ac185c (trunk libT) #2982 "changing port number doesn't actually change until program restart" -- fixed in trunk for 1.90 2010-02-12 04:57:40 +00:00
Charles Kerr 8aa62240f8 (trunk libT) fix memory leak when trying to add duplicate torrents. thanks valgrind! 2010-02-12 04:13:51 +00:00
Charles Kerr b7b5a0e427 (trunk) #2894 "tr_torrentGetFileDL() and tr_torrentGetFilePriority() should go away" -- get rid of it in the mac client and libtransmission too 2010-02-11 15:05:07 +00:00
Charles Kerr 13b03ba195 (trunk libT) #2892 "changing port number doesn't actually change until program restart" -- possible fix 2010-02-11 14:28:40 +00:00
Charles Kerr 7c013c61c1 (trunk libT) tweak the shutdown code 2010-02-11 04:07:13 +00:00
Charles Kerr 5c9cd2c2db (trunk libT) revert part of r10064 at livings' request 2010-02-11 03:12:03 +00:00
Mitchell Livingston 9407b5f0f0 chop off a bit of text in an announce error message 2010-02-11 02:52:54 +00:00
Charles Kerr e03ad192c7 (trunk libT) demote the "Got N peers from tracker" and "Found N peers from DHT" messages from info to debug... there are just too many of them 2010-02-11 01:20:43 +00:00
Charles Kerr 7e28c375c9 (trunk libt) when generating json/benc strings, preallocate some space in the evbuffer to avoid excess realloc()s 2010-02-11 00:53:50 +00:00
Charles Kerr c35d4696ee (trunk libT) re-add the supportcrypto, requirecrypto announce arguments that were removed during announce testing in r10090 2010-02-11 00:43:47 +00:00
Charles Kerr 9fffb2be35 (trunk libT) Yippie, plug a small memory leak reported by valgrind! 2010-02-10 05:27:14 +00:00
Charles Kerr a95aae5591 (trunk) as promised, remove the announce logging code. now safe for general-purpose nightly build testing again. 2010-02-10 04:50:21 +00:00
Charles Kerr 42fcfbe804 (trunk libT) try to fix the mac build. This commit still has the announce logging code. 2010-02-10 04:42:34 +00:00
Charles Kerr acc8e64102 (trunk) another test build that logs tracker announces to a file in /tmp, so you probably shouldn't use it unless I've asked you to. After hudson-t is done building a debug dmg of this, I'll commit r10155 to remove the logging code 2010-02-10 04:35:59 +00:00
Charles Kerr 7efdd92f86 (trunk libT) oops, a couple of debugging printf()s snuck into the commit 2010-02-10 03:57:41 +00:00
Charles Kerr 2cbfe53717 (trunk libT) #2887 "dangling pointer in 1.81" -- fixed in trunk for 1.90 / 1.8x 2010-02-10 03:26:19 +00:00