AUTO_LT_SYNC
[tore.git] / libtorrent / ChangeLog
blob30d622216c65f44a436c3c70677a0117edfa1eea
1         * added monitoring of the DHT lookups
2         * added bandwidth reports for estimated TCP/IP overhead and DHT
3         * includes DHT traffic in the rate limiter
5 release 0.14
7         * Removed 'connecting_to_tracker' torrent state
8         * Fix bug where FAST pieces were cancelled on choke
9         * Fixed problems with restoring piece states when hash failed.
10         * Minimum peer reconnect time fix. Peers with no failures would
11           reconnect immediately.
12         * Improved web seed error handling
13         * DHT announce fixes and off-by-one loop fix
14         * UPnP fixes
15         * Fixed bug in torrent writer where the private flag was added
16           outside of the info dictionary
17         * Made the torrent file parser less strict of what goes in the
18           announce-list entry
19         * Fixed type overflow bug where some statistics was incorrectly
20           reported for file larger than 2 GB
21         * boost-1.35 support
22         * Fixed bug in statistics from web server peers where it sometimes
23           could report too many bytes downloaded.
24         * Fixed bug where statistics from the last second was lost when
25           disconnecting a peer.
26         * receive buffer optimizations (memcpy savings and memory savings)
27         * Support for specifying the TOS byte for peer traffic.
28         * Basic support for queueing of torrents.
29         * Better bias to give connections to downloading torrents
30           with fewer peers.
31         * Optimized resource usage (removed the checking thread)
32         * Support to bind outgoing connections to specific ports
33         * Disk cache support.
34         * New, more memory efficient, piece picker with sequential download
35           support (instead of the more complicated sequential download threshold).
36         * Auto Upload slots. Automtically opens up more slots if
37           upload limit is not met.
38         * Improved NAT-PMP support by querying the default gateway (no
39           linux support yet)
40         * Improved UPnP support by ignoring routers not on the clients subnet.
42 release 0.13
43         
44         * Added scrape support
45         * Added add_extension() to torrent_handle. Can instantiate
46           extensions for torrents while downloading
47         * Added support for remove_torrent to delete the files as well
48         * Fixed issue with failing async_accept on windows
49         * DHT improvements, proper error messages are now returned when
50           nodes sends bad packets
51         * Optimized the country table used to resolve country of peers
52         * Copying optimization for sending data. Data is no longer copied from
53           the disk I/O buffer to the send buffer.
54         * Buffer optimization to use a raw buffer instead of std::vector<char>
55         * Improved file storage to use sparse files
56         * Updated python bindings
57         * Added more clients to the identifiable clients list.
58         * Torrents can now be started in paused state (to better support queuing)
59         * Improved IPv6 support (support for IPv6 extension to trackers and
60           listens on both IPv6 and IPv4 interfaces).
61         * Improved asserts used. Generates a stacktrace on linux
62         * Piece picker optimizations and improvements
63         * Improved unchoker, connection limit and rate limiter
64         * Support for FAST extension
65         * Fixed invalid calculation in DHT node distance
66         * Fixed bug in URL parser that failed to parse IPv6 addresses
67         * added peer download rate approximation
68         * added port filter for outgoing connection (to prevent
69           triggering firewalls)
70         * made most parameters configurable via session_settings
71         * added encryption support
72         * added parole mode for peers whose data fails the hash check.
73         * optimized heap usage in piece-picker and web seed downloader.
74         * fixed bug in DHT where older write tokens weren't accepted.
75         * added support for sparse files.
76         * introduced speed categories for peers and pieces, to separate
77           slow and fast peers.
78         * added a half-open tcp connection limit that takes all connections
79           in to account, not just peer connections.
80         * added alerts for filtered IPs.
81         * added support for SOCKS4 and 5 proxies and HTTP CONNECT proxies.
82         * fixed proper distributed copies calculation.
83         * added option to use openssl for sha-1 calculations.
84         * optimized the piece picker in the case where a peer is a seed.
85         * added support for local peer discovery
86         * removed the dependency on the compiled boost.date_time library
87         * deprecated torrent_info::print()
88         * added UPnP support
89         * fixed problem where peer interested flags were not updated correctly
90           when pieces were filtered
91         * improvements to ut_pex messages, including support for seed flag
92         * prioritizes upload bandwidth to peers that might send back data
93         * the following functions have been deprecated:
94                 void torrent_handle::filter_piece(int index, bool filter) const;
95                 void torrent_handle::filter_pieces(std::vector<bool> const& pieces) const;
96                 bool torrent_handle::is_piece_filtered(int index) const;
97                 std::vector<bool> torrent_handle::filtered_pieces() const;
98                 void torrent_handle::filter_files(std::vector<bool> const& files) const;
99           
100           instead, use the piece_priority functions.
101           
102         * added support for NAT-PMP
103         * added support for piece priorities. Piece filtering is now set as
104           a priority
105         * Fixed crash when last piece was smaller than one block and reading
106           fastresume data for that piece
107         * Makefiles should do a better job detecting boost
108         * Fixed crash when all tracker urls are removed
109         * Log files can now be created at user supplied path
110         * Log files failing to create is no longer fatal
111         * Fixed dead-lock in torrent_handle
112         * Made it build with boost 1.34 on windows
113         * Fixed bug in URL parser that failed to parse IPv6 addresses
114         * Fixed bug in DHT, related to IPv6 nodes
115         * DHT accepts transaction IDs that have garbage appended to them
116         * DHT logs messages that it fails to decode
118 release 0.12
120         * fixes to make the DHT more compatible
121         * http seed improvements including error reporting and url encoding issues.
122         * fixed bug where directories would be left behind when moving storage
123           in some cases.
124         * fixed crashing bug when restarting or stopping the DHT.
125         * added python binding, using boost.python
126         * improved character conversion on windows when strings are not utf-8.
127         * metadata extension now respects the private flag in the torrent.
128         * made the DHT to only be used as a fallback to trackers by default.
129         * added support for HTTP redirection support for web seeds.
130         * fixed race condition when accessing a torrent that was checking its
131           fast resume data.
132         * fixed a bug in the DHT which could be triggered if the network was
133           dropped or extremely rare cases.
134         * if the download rate is limited, web seeds will now only use left-over
135           bandwidth after all bt peers have used up as much bandwidth as they can.
136         * added the possibility to have libtorrent resolve the countries of
137           the peers in torrents.
138         * improved the bandwidth limiter (it now implements a leaky bucket/node bucket).
139         * improved the HTTP seed downloader to report accurate progress.
140         * added more client peer-id signatures to be recognized.
141         * added support for HTTP servers that skip the CR before the NL at line breaks.
142         * fixed bug in the HTTP code that only accepted headers case sensitive.
143         * fixed bug where one of the session constructors didn't initialize boost.filesystem. 
144         * fixed bug when the initial checking of a torrent fails with an exception.
145         * fixed bug in DHT code which would send incorrect announce messages.
146         * fixed bug where the http header parser was case sensitive to the header
147           names.
148         * Implemented an optmization which frees the piece_picker once a torrent
149           turns into a seed.
150         * Added support for uT peer exchange extension, implemented by Massaroddel.
151         * Modified the quota management to offer better bandwidth balancing
152           between peers.
153         * logging now supports multiple sessions (different sessions now log
154           to different directories).
155         * fixed random number generator seed problem, generating the same
156           peer-id for sessions constructed the same second.
157         * added an option to accept multiple connections from the same IP.
158         * improved tracker logging.
159         * moved the file_pool into session. The number of open files is now
160           limited per session.
161         * fixed uninitialized private flag in torrent_info
162         * fixed long standing issue with file.cpp on windows. Replaced the low level
163           io functions used on windows.
164         * made it possible to associate a name with torrents without metadata.
165         * improved http-downloading performance by requesting entire pieces via
166           http.
167         * added plugin interface for extensions. And changed the interface for
168           enabling extensions.
170 release 0.11
172         * added support for incorrectly encoded paths in torrent files
173           (assumes Latin-1 encoding and converts to UTF-8).
174         * added support for destructing session objects asynchronously.
175         * fixed bug with file_progress() with files = 0 bytes
176         * fixed a race condition bug in udp_tracker_connection that could
177           cause a crash.
178         * fixed bug occuring when increasing the sequenced download threshold
179           with max availability lower than previous threshold.
180         * fixed an integer overflow bug occuring when built with gcc 4.1.x
181         * fixed crasing bug when closing while checking a torrent
182         * fixed bug causing a crash with a torrent with piece length 0
183         * added an extension to the DHT network protocol to support the
184           exchange of nodes with IPv6 addresses.
185         * modified the ip_filter api slightly to support IPv6
186         * modified the api slightly to make sequenced download threshold
187           a per torrent-setting.
188         * changed the address type to support IPv6
189         * fixed bug in piece picker which would not behave as
190           expected with regard to sequenced download threshold.
191         * fixed bug with file_progress() with files > 2 GB.
192         * added --enable-examples option to configure script.
193         * fixed problem with the resource distribution algorithm
194           (controlling e.g upload/download rates).
195         * fixed incorrect asserts in storage related to torrents with
196           zero-sized files.
197         * added support for trackerless torrents (with kademlia DHT).
198         * support for torrents with the private flag set.
199         * support for torrents containing bootstrap nodes for the
200           DHT network.
201         * fixed problem with the configure script on FreeBSD.
202         * limits the pipelining used on url-seeds.
203         * fixed problem where the shutdown always would delay for
204           session_settings::stop_tracker_timeout seconds.
205         * session::listen_on() won't reopen the socket in case the port and
206           interface is the same as the one currently in use.
207         * added http proxy support for web seeds.
208         * fixed problem where upload and download stats could become incorrect
209           in case of high cpu load.
210         * added more clients to the identifiable list.
211         * fixed fingerprint parser to cope with latest Mainline versions.
213 release 0.10
215         * fixed a bug where the requested number of peers in a tracker request could
216           be too big.
217         * fixed a bug where empty files were not created in full allocation mode.
218         * fixed a bug in storage that would, in rare cases, fail to do a
219           complete check.
220         * exposed more settings for tweaking parameters in the piece-picker,
221           downloader and uploader (http_settings replaced by session_settings).
222         * tweaked default settings to improve high bandwidth transfers.
223         * improved the piece picker performance and made it possible to download
224           popular pieces in sequence to improve disk performance.
225         * added the possibility to control upload and download limits per peer.
226         * fixed problem with re-requesting skipped pieces when peer was sending pieces
227           out of fifo-order.
228         * added support for http seeding (the GetRight protocol)
229         * renamed identifiers called 'id' in the public interface to support linking
230           with Objective.C++
231         * changed the extensions protocol to use the new one, which is also
232           implemented by uTorrent.
233         * factorized the peer_connection and added web_peer_connection which is
234           able to download from http-sources.
235         * converted the network code to use asio (resulted in slight api changes
236           dealing with network addresses).
237         * made libtorrent build in vc7 (patches from Allen Zhao)
238         * fixed bug caused when binding outgoing connections to a non-local interface.
239         * add_torrent() will now throw if called while the session object is
240           being closed.
241         * added the ability to limit the number of simultaneous half-open
242           TCP connections. Flags in peer_info has been added.
244 release 0.9.1
246         * made the session disable file name checks within the boost.filsystem library
247         * fixed race condition in the sockets
248         * strings that are invalid utf-8 strings are now decoded with the
249           local codepage on windows
250         * added the ability to build libtorrent both as a shared library
251         * client_test can now monitor a directory for torrent files and automatically
252           start and stop downloads while running
253         * fixed problem with file_size() when building on windows with unicode support
254         * added a new torrent state, allocating
255         * added a new alert, metadata_failed_alert
256         * changed the interface to session::add_torrent for some speed optimizations.
257         * greatly improved the command line control of the example client_test.
258         * fixed bug where upload rate limit was not being applied.
259         * files that are being checked will no longer stall files that don't need
260           checking.
261         * changed the way libtorrent identifies support for its excentions
262           to look for 'ext' at the end of the peer-id.
263         * improved performance by adding a circle buffer for the send buffer.
264         * fixed bugs in the http tracker connection when using an http proxy.
265         * fixed problem with storage's file pool when creating torrents and then
266           starting to seed them.
267         * hard limit on remote request queue and timeout on requests (a timeout
268           triggers rerequests). This makes libtorrent work much better with
269           "broken" clients like BitComet which may ignore requests.
271 Initial release 0.9
273         * multitracker support
274         * serves multiple torrents on a single port and a single thread
275         * supports http proxies and proxy authentication
276         * gzipped tracker-responses
277         * block level piece picker
278         * queues torrents for file check, instead of checking all of them in parallel
279         * uses separate threads for checking files and for main downloader
280         * upload and download rate limits
281         * piece-wise, unordered, incremental file allocation
282         * fast resume support
283         * supports files > 2 gigabytes
284         * supports the no_peer_id=1 extension
285         * support for udp-tracker protocol
286         * number of connections limit
287         * delays sending have messages
288         * can resume pieces downloaded in any order
289         * adjusts the length of the request queue depending on download rate
290         * supports compact=1
291         * selective downloading
292         * ip filter