Arvid Norberg
|
cedea0980f
|
separate alignment requirements for file offset and buffer address
|
2009-01-19 09:21:21 +00:00 |
Arvid Norberg
|
d506bcd5de
|
prevent torrent optimization in unit test
|
2009-01-19 08:46:45 +00:00 |
Arvid Norberg
|
dceb879f50
|
added missing include directive
|
2009-01-17 19:45:14 +00:00 |
Arvid Norberg
|
5b551c1761
|
merged storage::readv() and storage::writev()
|
2009-01-17 08:35:48 +00:00 |
Arvid Norberg
|
ce6c09e070
|
added missing export directives
|
2009-01-17 01:42:33 +00:00 |
Arvid Norberg
|
d2b66b8bae
|
added include guards to allocator.hpp
|
2009-01-17 01:40:06 +00:00 |
Arvid Norberg
|
78d3654263
|
fix file.cpp build on linux
|
2009-01-17 00:09:44 +00:00 |
Arvid Norberg
|
113d1f3557
|
moved page_aligned_allocator to its own file and uses it in set_piece_hashes to not pass in unaligned buffers to storage read
|
2009-01-15 17:09:36 +00:00 |
Arvid Norberg
|
3f94cc8857
|
made the sequential download mode slightly more sequential (by letting more categories of peers request early pieces). Disabled speed affinity and prefer_whole_pieces when in sequential download mode
|
2009-01-14 09:07:27 +00:00 |
Arvid Norberg
|
bd1757fbd2
|
added libtorrent version and svn revision to assert output
|
2009-01-14 08:41:14 +00:00 |
Arvid Norberg
|
66ccc9d23f
|
improved support for padding files by not counting them in total_wanted_done and total_wanted or progress
|
2009-01-14 07:41:25 +00:00 |
Arvid Norberg
|
d4148055b9
|
remove unnecessary semicolon
|
2009-01-13 09:31:35 +00:00 |
Arvid Norberg
|
43e69cd316
|
added extension for file attributes. Fixes problem when sharing Application bundles on OSX or hidden files on windows
|
2009-01-11 22:27:43 +00:00 |
Arvid Norberg
|
eea890de11
|
added support for generating torrent files with padding files in them
|
2009-01-11 10:32:57 +00:00 |
Arvid Norberg
|
7592ad4aee
|
updated disk IO to support unbuffered files
|
2009-01-11 02:02:34 +00:00 |
Arvid Norberg
|
20a0593fa3
|
removed mapped_storage
|
2009-01-10 07:14:02 +00:00 |
Arvid Norberg
|
cfd116ffad
|
made disk_io_settings be synchronized through the job queue
|
2009-01-10 05:46:02 +00:00 |
Arvid Norberg
|
ab05011f1d
|
added missing export directives to lazy_entry
|
2009-01-06 22:44:32 +00:00 |
Arvid Norberg
|
52ee9342e9
|
alloca macro fix
|
2009-01-05 01:09:32 +00:00 |
Arvid Norberg
|
d07ccaf6b8
|
workaround for sparse files issue on Windows vista
|
2009-01-05 01:08:09 +00:00 |
Arvid Norberg
|
f1d229aae6
|
first pass of replacing coalesce writes and reads by writev and readv (no windows support yet)
|
2009-01-03 08:11:31 +00:00 |
Arvid Norberg
|
dacb1ac48d
|
reverted async. call to torrent::start() since it creates an undesirable race condition for file operations
|
2009-01-02 08:58:51 +00:00 |
Arvid Norberg
|
233f2ed00c
|
start of use of writev instead of coalescing into a heap allocated buffer
|
2009-01-01 01:47:57 +00:00 |
Arvid Norberg
|
1ec87c8f4b
|
remove (deprecated) non-const files() from torrent_info since it opens a loop-hole to modifying the filenames without preserving the original ones
|
2008-12-30 17:50:34 +00:00 |
Arvid Norberg
|
e5d3755afb
|
added support for http seeds (BEP 17)
|
2008-12-30 03:54:07 +00:00 |
Arvid Norberg
|
86b794b105
|
fix logging build
|
2008-12-28 03:01:36 +00:00 |
Arvid Norberg
|
469fe10107
|
udp_socket fix believed to fix #445
|
2008-12-28 01:50:55 +00:00 |
Arvid Norberg
|
415a574cca
|
tweaked send buffer sizes to make buffers addresses aligned
|
2008-12-27 17:00:06 +00:00 |
Arvid Norberg
|
4ccf2af653
|
formatting fixes for pe_crypto.cpp
|
2008-12-27 16:44:20 +00:00 |
Arvid Norberg
|
b81ae19e86
|
fix uninitialized variable read (next_announce)
|
2008-12-27 07:22:57 +00:00 |
Arvid Norberg
|
952ed687cd
|
made session stats config build
|
2008-12-26 07:00:21 +00:00 |
Arvid Norberg
|
d2e8ae03d3
|
added default constructor to node_entry to make it build with vs 2008 sp1
|
2008-12-25 22:29:06 +00:00 |
Arvid Norberg
|
de911676ed
|
added asserts to make sure tracker_connections are shut down correctly (#451)
|
2008-12-25 02:05:23 +00:00 |
Arvid Norberg
|
6f80fdf9f7
|
fix bug when renaming files and using the web_peer_connection. Deprecated non-const file_storage access in torrent_info
|
2008-12-24 20:07:34 +00:00 |
Arvid Norberg
|
00d02f7859
|
improved DHT get_peers code. get_peers always returns nodes now, and announce_peer is always sent to the k closest nodes to the info-hash. This should significantly speed up retrieving peers from the DHT
|
2008-12-23 20:04:12 +00:00 |
Arvid Norberg
|
d323e9bdfd
|
ConvertUTF.h fixes
|
2008-12-23 19:46:58 +00:00 |
Arvid Norberg
|
bb4e5c61b9
|
ConvertUTF C fix
|
2008-12-22 09:45:54 +00:00 |
Arvid Norberg
|
f6a9e44523
|
modified fix for #431 to make it actually build and work
|
2008-12-21 19:15:53 +00:00 |
Arvid Norberg
|
7b8663fa8b
|
support for wide character paths for the GeoIP databases. Fixes #431
|
2008-12-21 08:48:06 +00:00 |
Arvid Norberg
|
5f74c1e754
|
disable WPATH on mac builds as it doesn't seem to work
|
2008-12-20 22:37:40 +00:00 |
Arvid Norberg
|
f8ea5ffa07
|
updated version numbers and makefile
|
2008-12-16 00:50:30 +00:00 |
Arvid Norberg
|
f1d981254a
|
added session::set_alert_dispatch() for system specific message loop integration
|
2008-12-15 07:12:08 +00:00 |
Arvid Norberg
|
8f308ef881
|
fixed invariant checks in bandiwdth_manager
|
2008-12-14 22:59:47 +00:00 |
Arvid Norberg
|
99a2fd7eae
|
added ConvertUTF.h to makefile
|
2008-12-14 22:25:22 +00:00 |
Arvid Norberg
|
b47f965c85
|
added torrent_handle::read_piece(). #441
|
2008-12-14 19:47:02 +00:00 |
Arvid Norberg
|
3cb61809ce
|
fixed invariant check in bandwidth_manager
|
2008-12-14 11:10:54 +00:00 |
Arvid Norberg
|
0638251289
|
added queued bytes to bandwidth manager and session_stats
|
2008-12-13 05:12:12 +00:00 |
Arvid Norberg
|
6d3d58020a
|
udp_socket fixes and extra asserts
|
2008-12-12 09:20:27 +00:00 |
Arvid Norberg
|
5bc4a2089d
|
fixed seeding choking algorithm to be more fair (proper round robin)
|
2008-12-10 23:07:44 +00:00 |
Arvid Norberg
|
92f121f504
|
tcp/ip overhead calculation fix
|
2008-12-10 22:54:49 +00:00 |
Arvid Norberg
|
5fb854d724
|
improved super seeding with strict option
|
2008-12-09 07:56:37 +00:00 |
Arvid Norberg
|
ef8234efc5
|
fixed preprocessor defines using UNICODE instead of TORRENT_USE_WPATH. Removed old boost.filesystem replacement code to support boost 1.33
|
2008-12-09 03:45:58 +00:00 |
Arvid Norberg
|
2768874eea
|
removed unused member
|
2008-12-09 00:27:42 +00:00 |
Arvid Norberg
|
2a9353cf48
|
prefer udp trackers. Fixes #433
|
2008-12-08 09:13:21 +00:00 |
Arvid Norberg
|
b41cdd6469
|
initial super seeding support
|
2008-12-08 06:36:22 +00:00 |
Arvid Norberg
|
14c142d997
|
added add_piece() to inject data from external sources
|
2008-12-07 21:04:19 +00:00 |
Arvid Norberg
|
3b7e484d6a
|
various fixes for potential shutdown freezes
|
2008-12-07 20:25:04 +00:00 |
Arvid Norberg
|
3d136a8e93
|
fixed logging build
|
2008-12-02 08:29:45 +00:00 |
Arvid Norberg
|
70f4303d92
|
added tracker IP to tracker_response callback and added filtering of local IPs in pex and tracker responses. #409
|
2008-12-01 08:48:54 +00:00 |
Arvid Norberg
|
58a3f6e4a0
|
added wpath overload for torrent_info constructor
|
2008-12-01 07:52:59 +00:00 |
Arvid Norberg
|
96e34b80b2
|
added missing string in state_change_alert
|
2008-12-01 07:01:53 +00:00 |
Arvid Norberg
|
4b738fca7a
|
added previous state to state_changed_alert. #401
|
2008-12-01 00:19:05 +00:00 |
Arvid Norberg
|
8e48e81ead
|
added wpath and wstring overloads for functions dealing with paths for more complete wide character support. #432
|
2008-11-30 08:12:26 +00:00 |
Arvid Norberg
|
6027f9f20c
|
made assert tied to the new TORRENT_DEBUG define. Fixed two include problems that surfaced as a result
|
2008-11-30 04:50:52 +00:00 |
Arvid Norberg
|
18d3744adb
|
added python converter from unicode to path
|
2008-11-30 00:17:21 +00:00 |
Arvid Norberg
|
09b3a865ef
|
fixed compiler flags in pkg-config file and made header files not depend on the NDEBUG define
|
2008-11-29 21:33:21 +00:00 |
Arvid Norberg
|
d1a2b774e6
|
changed how trackers are handled. Implements #297 by setting session_settings::announce_to_all_trackers to true
|
2008-11-29 08:38:40 +00:00 |
Arvid Norberg
|
acbdbfc1ef
|
added tracker exchange (tex) extension
|
2008-11-27 20:51:59 +00:00 |
Arvid Norberg
|
3fd5405fa9
|
torrent_handle::add_tracker()
|
2008-11-26 01:42:14 +00:00 |
Arvid Norberg
|
157603b597
|
first pass at a link compatibility check
|
2008-11-23 15:44:11 +00:00 |
Arvid Norberg
|
357d548bb5
|
fixed boost.filesystem usage to not rely on deprecated functions
|
2008-11-21 23:38:07 +00:00 |
Arvid Norberg
|
723aba6c24
|
solved issue with pausing checking torrents. Introduced a new state, checkin_resume_data, which a torrent is in while waiting for the disk io thread to verify the resume data, but before it has been determined wheter it should be queued for checking or not
|
2008-11-19 00:46:48 +00:00 |
Arvid Norberg
|
78abf8a340
|
made recent change where the TCP/IP overhead is take into account when rate limiting, optional
|
2008-11-18 11:14:44 +00:00 |
Arvid Norberg
|
a41cf27e32
|
define NAME_MAX on windows
|
2008-11-17 18:27:32 +00:00 |
Arvid Norberg
|
f503bbfe86
|
fix for when aborting torrents that are being checked. Fix in client_test when removing torrents that are checking.
|
2008-11-17 01:19:46 +00:00 |
Arvid Norberg
|
a48ffe36e0
|
improved natpmp logging and handling of mapped ports in session
|
2008-11-16 02:11:04 +00:00 |
Arvid Norberg
|
e9a33e6a05
|
added option to set alert mask when constructing session
|
2008-11-16 02:09:53 +00:00 |
Arvid Norberg
|
c3bbf138a4
|
estimate TCP/IP overhead more accurately
|
2008-11-14 20:51:49 +00:00 |
Arvid Norberg
|
bbc94a1231
|
dllexport new utf conversion functions
|
2008-11-14 05:25:01 +00:00 |
Arvid Norberg
|
03398e94b0
|
replaced utf8 conversion with code from unicode.org
|
2008-11-13 06:39:08 +00:00 |
Arvid Norberg
|
1b10a3b15f
|
DHT instrumentation changes
|
2008-11-12 03:56:56 +00:00 |
Arvid Norberg
|
beb9dbfc03
|
cleaned up DHT error handling and logging. Made it use lazy_bdecode for improved performance
|
2008-11-11 17:51:02 +00:00 |
Arvid Norberg
|
473f75e98a
|
DHT fix where the node_id would get set after it was started and be inconsitent with rpc_manager and routing_table
|
2008-11-11 08:33:34 +00:00 |
Arvid Norberg
|
4abd27b40e
|
initialize torrent object in libtorrent thread instead of in calling thread
|
2008-11-10 02:33:39 +00:00 |
Arvid Norberg
|
18d269dd62
|
DHT optimizations
|
2008-11-10 02:08:42 +00:00 |
Arvid Norberg
|
ce544e2300
|
DHT rate limiter fixes
|
2008-11-09 00:37:03 +00:00 |
Arvid Norberg
|
3ed38059aa
|
rate_limited_udp_socket fixes
|
2008-11-08 21:44:24 +00:00 |
Arvid Norberg
|
9bba20cdb4
|
first pass at rate limited udp socket (for DHT)
|
2008-11-08 17:40:06 +00:00 |
Arvid Norberg
|
4e9124019b
|
added accessor to query for the max number of connections
|
2008-11-08 07:40:55 +00:00 |
Arvid Norberg
|
3412c0f709
|
added option to set peers in a state where it doesn't download
|
2008-11-06 08:34:56 +00:00 |
Arvid Norberg
|
4dacfcbaaf
|
change the default UPnP settings to map anything that's found on the local network
|
2008-11-02 20:42:48 +00:00 |
Arvid Norberg
|
f2c9e02994
|
fixed deadlock in dht code
|
2008-11-02 10:01:04 +00:00 |
Arvid Norberg
|
4dada930ac
|
made torrents not wanting more peers whene they're shutting down. Closes out all connections in the connection queue explicitly when session is shutting down
|
2008-10-30 17:13:10 +00:00 |
Arvid Norberg
|
7fd2fd4732
|
added performance warnings for when the IP overhead eats up the entire up- or download rate limit
|
2008-10-28 06:45:42 +00:00 |
Arvid Norberg
|
7d83bfb6b3
|
fixed pedantic warnings
|
2008-10-26 22:12:12 +00:00 |
Arvid Norberg
|
c18825c8db
|
fixed missing includes in header
|
2008-10-26 21:16:46 +00:00 |
Arvid Norberg
|
971f437b41
|
added num_pieces to peer_info. Fixes #385
|
2008-10-24 00:15:39 +00:00 |
Arvid Norberg
|
dc6564fa11
|
applies ip filter to trackers as well
|
2008-10-22 19:40:32 +00:00 |
Arvid Norberg
|
0ed75c3f64
|
made nat-pmp generate alerts as well, just like upnp
|
2008-10-22 07:06:58 +00:00 |
Arvid Norberg
|
49c01d7754
|
moved UPNP_LOGGING out of upnp.cpp and added alerts for when upnp logs something
|
2008-10-22 01:12:14 +00:00 |
Arvid Norberg
|
2fbfca60fb
|
#ifdef out parts of variant_stream that requires exceptions, when exceptions are turned off
|
2008-10-21 08:50:01 +00:00 |
Arvid Norberg
|
41d5abf0d8
|
exception related fixes. Avoiding functions that may throw in places where exceptions shouldn't be thrown
|
2008-10-21 08:45:42 +00:00 |
Arvid Norberg
|
535f668c5d
|
simplified the file interface
|
2008-10-19 05:03:17 +00:00 |
Arvid Norberg
|
f04e9e9875
|
made unchoke interval depend on piece size
|
2008-10-18 22:35:10 +00:00 |
Arvid Norberg
|
9bcd5be3fc
|
replaced boost.lexical_cast with stringstream in alert message formaters to avoid throwing exceptions
|
2008-10-18 17:22:31 +00:00 |
Arvid Norberg
|
3d75732145
|
changed variant_stream to return a pointer instead of a reference when querying for underlying type (avoids exceptions)
|
2008-10-18 07:12:04 +00:00 |
Arvid Norberg
|
5989c8a527
|
fixed typo in makefile
|
2008-10-17 17:18:33 +00:00 |
Arvid Norberg
|
fffb51a727
|
updated get_asio script to download asio-1.2.0 and updated makefile to include the new asio headers
|
2008-10-17 17:05:25 +00:00 |
Arvid Norberg
|
81636a894d
|
updated makefile to include all asio headers
|
2008-10-17 01:00:27 +00:00 |
Arvid Norberg
|
16d56eaee6
|
clears torrent stats when paused
|
2008-10-15 17:31:20 +00:00 |
Arvid Norberg
|
9a5e261c64
|
Fixed UPnP bug where the port and host would be re-used from the xml url when connecting to the control url
|
2008-10-14 07:19:46 +00:00 |
Arvid Norberg
|
399c4d6ac4
|
mutex fix for dht status reporting
|
2008-10-09 03:32:57 +00:00 |
Arvid Norberg
|
b355541a7d
|
applied patch from Sergei Vorobyov to allow changing the limit on outstanding alerts
|
2008-10-07 05:46:42 +00:00 |
Arvid Norberg
|
3144767632
|
fixed buffer overrun when calling get_download_queue
|
2008-10-05 07:23:46 +00:00 |
Arvid Norberg
|
d4c206841b
|
added support for bitcomet padding files. simplified storage read/write code.
|
2008-10-03 05:49:41 +00:00 |
Arvid Norberg
|
1092c558e4
|
counts newly started torrents as active up to 2 minutes, to give them a chance to start downloading. Active torrents are not considered slow in the auto manager.
|
2008-10-01 05:25:18 +00:00 |
Arvid Norberg
|
ef42e8f77c
|
fixed rename_file to work when the file hasn't been created yet. Fixed error reporting when rename_file fails. Updates the file in the torrent_handle when filename is updated
|
2008-09-30 23:37:42 +00:00 |
Arvid Norberg
|
47c476dc0a
|
include TCP handshake overhead
|
2008-09-26 06:10:21 +00:00 |
Andrew Resch
|
4189e0b697
|
add peer_info::progress
|
2008-09-25 20:39:06 +00:00 |
Arvid Norberg
|
6d97d562f9
|
added another constructor to create_torrent that copies a torrent_info.
|
2008-09-24 17:05:12 +00:00 |
Arvid Norberg
|
1f1b3b560e
|
fixed typo in torrent_info.hpp
|
2008-09-24 02:37:04 +00:00 |
Arvid Norberg
|
519fdfdb36
|
portability fix for udp_socket
|
2008-09-24 02:35:03 +00:00 |
Arvid Norberg
|
80e9e8d1cf
|
changed torrent::set_metadata() to reduce code duplication in metadata extensions. Exposed torrent_handle::set_metadata() to the public interface
|
2008-09-24 02:32:33 +00:00 |
Arvid Norberg
|
ba8163ca9c
|
fixed bug in udp_socket when the sockets own lifetime was dependent on the callback
|
2008-09-22 23:43:21 +00:00 |
Arvid Norberg
|
1ac3b8298c
|
report tracker bandwidth usage and include it in rate limiter
|
2008-09-22 00:15:05 +00:00 |
Arvid Norberg
|
48dad0e2ac
|
fixed indentation
|
2008-09-21 23:25:09 +00:00 |
Arvid Norberg
|
ea578a6acf
|
adds ut_pex, ut_metadata and smart_ban by default in session constructor. Also starts upnp and nat-pmp by default. Fixes #399
|
2008-09-21 23:19:58 +00:00 |
Arvid Norberg
|
13b343c1af
|
added assertions that the stats is updated properly when receiving and sending bytes on peer_connections
|
2008-09-21 17:12:26 +00:00 |
Arvid Norberg
|
8ffc345308
|
fixed crash when add_torrent was fed with invalid resume data
|
2008-09-21 02:08:04 +00:00 |
Arvid Norberg
|
0338510b9b
|
added more bandwidth monitoring of DHT and TCP/IP overhead. added monitoring of the running DHT lookups
|
2008-09-20 17:42:25 +00:00 |
Arvid Norberg
|
67f1242836
|
added mutex to udp_socket and posts the callback instead of calling it directly
|
2008-09-19 17:31:16 +00:00 |
Arvid Norberg
|
a62ce3bc1a
|
made routing table support safe iterators on gcc
|
2008-09-16 17:21:24 +00:00 |
Arvid Norberg
|
166f761df3
|
fixed DHT bug where requests that timed out would be treated as transaction_id overflows and would slow down DHT lookups considerably.
|
2008-09-15 05:05:26 +00:00 |
Arvid Norberg
|
3077fdcb6a
|
fix crash when tracker connections fails in the constructor (used to be the case for scrape when there were no url transform from announce to scrape)
|
2008-09-07 10:03:59 +00:00 |
Arvid Norberg
|
fddd1ee8e2
|
fixed assert when connecting to upload-only peers
|
2008-09-07 01:01:25 +00:00 |
Arvid Norberg
|
41808f8742
|
big change to improve piece picker. Better end-game mode. More options on which pieces to pick.
|
2008-09-06 21:04:57 +00:00 |
Arvid Norberg
|
7f143791d5
|
added get_storage_impl() to torrent_handle
|
2008-09-04 16:20:19 +00:00 |
Arvid Norberg
|
c88071ae10
|
fixed race when adding router nodes to the dht (router nodes should be added before it's started)
|
2008-09-02 06:37:40 +00:00 |
Arvid Norberg
|
92ed7fb364
|
fixed metadata extension issues
|
2008-08-29 17:21:56 +00:00 |
Arvid Norberg
|
5486e17b15
|
fixed bug in bitfield and updated test
|
2008-08-29 12:19:21 +00:00 |
Arvid Norberg
|
9b38724417
|
made dump torrent create magnet links
|
2008-08-27 18:44:35 +00:00 |
Arvid Norberg
|
e9045cc1df
|
fixes bug where priorities where lost when force-rechecking.
|
2008-08-25 22:32:50 +00:00 |
Arvid Norberg
|
d2e5f3919d
|
changed alert messages to use asio to string conversion for endpoint (fixes missing [] on IPv6 addresses)
|
2008-08-25 21:21:38 +00:00 |
Arvid Norberg
|
dd318fb9a3
|
fixed warnings in bencode
|
2008-08-21 11:40:49 +00:00 |
Arvid Norberg
|
e58485822b
|
optimized encryption
|
2008-08-20 23:05:12 +00:00 |
Arvid Norberg
|
37389e4fe4
|
added test to measure peak download rate and introduced performance warning alert when disk buffer limit and request limit are reached
|
2008-08-19 15:04:14 +00:00 |
Arvid Norberg
|
29bf61d364
|
fixed state changed alert since 'connecting' was removed
|
2008-08-18 18:04:04 +00:00 |
Arvid Norberg
|
9bae670ac7
|
fix build with boost-1.36
|
2008-08-16 21:11:27 +00:00 |
Arvid Norberg
|
015ab223c9
|
added asserts for timers
|
2008-08-16 21:07:45 +00:00 |
Arvid Norberg
|
7d47ed54eb
|
removed connecting_to_tracker state
|
2008-08-03 15:32:15 +00:00 |