Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-22Merge pull request #762 from feross/fixes-for-desktopFeross Aboukhadijeh
BREAKING: Many fixes; all leaks fixed
2016-04-21fix more bugsFeross Aboukhadijeh
2016-04-21Fix one more peer leakFeross Aboukhadijeh
2016-04-21Fix exceptionsFeross Aboukhadijeh
2016-04-21use simple-concatFeross Aboukhadijeh
2016-04-21client: cleanup event listenersFeross Aboukhadijeh
2016-04-21set dhtPort to correct port after listeningFeross Aboukhadijeh
2016-04-21More thorough object cleanupFeross Aboukhadijeh
- Only pass `torrent.infoHash` to the Chunk Store constructor, instead of the `Torrent` instance itself, to prevent accidental memory leaks of the `Torrent` object by the store. (Open an issue if you were using other properties. They can be re-added.) - Non-fatal errors with a single torrent will be emitted at `torrent.on('error')`. You should listen to this event. Previously, all torrent errors were also emitted on `client.on('error')` and handling `torrent.on('error')` was optional. This design is better since now it is possible to distinguish between fatal client errors (`client.on('error')`) when the whole client becomes unusable versus recoverable errors where only a single torrent fails (`torrent.on('error')`) but the client can continue to be used. However, if there is no `torrent.on('error')` event, then the error will be forwarded to `client.on('error')`. This prevents crashing the client when the user only has a listener on the client, but it makes it impossible for them to determine a client error versus a torrent error. - Errors creating a torrent with `client.seed` are now emitted on the returned `torrent` object instead of the client (unless there is no event listeners on `torrent.on('error')` as previously discussed). The torrent object is now also destroyed automatically for the user, as was probably expected. - If `client.get` is passed a `Torrent` instance, it now only returns it if it is present in the client.
2016-04-21cleanup torrent reference leaksFeross Aboukhadijeh
2016-04-21move method comments to api docFeross Aboukhadijeh
2016-04-21fix duplicate client.add handling and re-enable testFeross Aboukhadijeh
2016-04-21torrent: remove _onError, add _destroy(err, cb)Feross Aboukhadijeh
2016-04-21BREAKING: Major cleanupFeross Aboukhadijeh
### Added - `client.listening` property to signal whether TCP server is listening for incoming connections. ### Changed - Merged `Swarm` class into `Torrent` object. Properties on `torrent.swarm` (like `torrent.swarm.wires`) now exist on `torrent` (e.g. `torrent.wires`). - `torrent.addPeer` can no longer be called before the `infoHash` event has been emitted. - Remove `torrent.on('listening')` event. Use `client.on('listening')` instead. - Remove support from `TCPPool` for listening on multiple ports. This was not used by WebTorrent and just added complexity. There is now a single `TCPPool` instance for the whole WebTorrent client. - Deprecate: Do not use `client.download()` anymore. Use `client.add()` instead. - Deprecate: Do not use `torrent.swarm` anymore. Use `torrent` instead. ### Fixed - When there is a `torrent.on('error')` listener, don't also emit `client.on('error')`. - Do not return existing torrent object when duplicate torrent is added. Fire an `'error'` event instead. - Memory leak of `Torrent` object caused by `RarityMap` - Memory leak of `Torrent` object caused by `TCPPool` - `client.ratio` and `torrent.ratio` are now calculated as `uploaded / received` instead of `uploaded / downloaded`.
2016-04-14Merge pull request #751 from Lunik/masterFeross Aboukhadijeh
add instant-share to app using webtorrent list
2016-04-13Merge pull request #752 from feross/greenkeeper-cross-spawn-async-2.2.2Diego Rodríguez Baquero
cross-spawn-async@2.2.2 breaks build 🚨
2016-04-13chore(package): update cross-spawn-async to version 2.2.2greenkeeperio-bot
http://greenkeeper.io/
2016-04-13add instant-share to app using webtorrent listLunik
2016-04-11Merge pull request #742 from feross/faq-updateFeross Aboukhadijeh
Add Peerify, PRs to webtorrent
2016-04-11api: improve docsFeross Aboukhadijeh
2016-04-11Merge pull request #747 from Tercus/masterFeross Aboukhadijeh
Added torrent.on events to documentation
2016-04-10Added torrent.on events to documentationTercus
Added the other torrent.on events to the documentation.
2016-04-09Add Peerify, PRs to webtorrentDiego Rodríguez Baquero
2016-04-07readmeFeross Aboukhadijeh
2016-04-07buildFeross Aboukhadijeh
2016-04-070.90.3v0.90.3Feross Aboukhadijeh
2016-04-07readme/faqFeross Aboukhadijeh
2016-04-06buildFeross Aboukhadijeh
2016-04-060.90.2v0.90.2Feross Aboukhadijeh
2016-04-06Merge pull request #723 from feross/web-seedFeross Aboukhadijeh
Base web seed pipeline length on piece length
2016-04-06Base web seed pipeline length on piece lengthFeross Aboukhadijeh
Before this, the web seed pipeline length was based on the block size, just like it is for wire connections, which are block-based. This meant that we were massively over-estimating the number of http requests to make to the web seed servers. Now we use the piece length, since each web seed request is a piece length in size.
2016-04-06Merge pull request #710 from feross/max-web-conns-defaultFeross Aboukhadijeh
Max web conns default
2016-04-06buildFeross Aboukhadijeh
2016-04-060.90.1v0.90.1Feross Aboukhadijeh
2016-04-06Fix ENOENT error when one file is missing from filesystemFeross Aboukhadijeh
Fixes https://github.com/feross/webtorrent-desktop/issues/311
2016-04-06do not request pieces until store is readyFeross Aboukhadijeh
Fixes regression introduced in #715
2016-04-03Merge branch 'master' into max-web-conns-defaultDiego Rodríguez Baquero
2016-04-02buildFeross Aboukhadijeh
2016-04-020.90.0v0.90.0Feross Aboukhadijeh
2016-04-02Fixes for PR #715Feross Aboukhadijeh
2016-04-02Merge pull request #715 from feross/dc/modtimeFeross Aboukhadijeh
Optimization: don't re-verify unchanged files
2016-04-02Merge branch 'master' into dc/modtimeFeross Aboukhadijeh
2016-04-02Update CONTRIBUTING.mdFeross Aboukhadijeh
2016-04-02fix: reversed tcp/webrtc timeoutsFeross Aboukhadijeh
2016-04-02remove extra setMaxListener(0) callsFeross Aboukhadijeh
2016-04-02Optimization: don't re-verify unchanged filesDC
Let the user specify known-good file modtimes. If the files modtime is at least that old, then the file hasn't changed and does not need to be re-verified. This is only valid in node when using FS backing storage, not in the browser
2016-04-01Ignore warning when there are > 10 torrents in the clientFeross Aboukhadijeh
2016-04-01buildFeross Aboukhadijeh
2016-04-010.89.0v0.89.0Feross Aboukhadijeh
2016-04-01bittorrent-tracker@8Feross Aboukhadijeh
2016-04-01Changes for torrent-discovery@8Feross Aboukhadijeh