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
2020-05-10package metadataFeross Aboukhadijeh
2019-08-07remove safe-bufferFeross Aboukhadijeh
2019-07-06standardFeross Aboukhadijeh
2019-07-06standardFeross Aboukhadijeh
2018-08-29Don't verify files in client.seed()Kaylee
2018-08-29Don't call torrent.load when a FS path is seededKaylee
2018-08-29zero-fill seems like unnecessaryJimmy Wärting
2018-08-29modernize index.jsJimmy Wärting
2018-05-23Support versions being >= 100Feross Aboukhadijeh
0.99.0 -> '0099' 0.100.0 -> '0000' 0.101.0 -> '0001'
2018-04-21expose webtorrent versionKaylee
2017-04-15feross -> webtorrentFeross Aboukhadijeh
2017-02-03include peerId in index.js debug logsFeross Aboukhadijeh
2016-10-04Remove lazy-wrtc code (to be moved into bittorrent-tracker)Feross Aboukhadijeh
2016-10-03Initialize WRTCDiego Rodríguez Baquero
2016-09-30Merge pull request #932 from feross/peeridFeross Aboukhadijeh
Add more peer ID entropy
2016-09-24Add more peer ID entropyFeross Aboukhadijeh
This still keeps the peer ID printable as ascii, while adding lots more entropy
2016-09-20Seed: allow announce field with trackers disabledDC
2016-09-17Option to disable BEP19 web seedsDC
2016-08-21print webtorrent debug message in right placeFeross Aboukhadijeh
2016-08-21replace 'hat' with 'randombytes'Feross Aboukhadijeh
2016-07-27Fix support for FileList input to client.seed()Feross Aboukhadijeh
Fixes #848
2016-07-27Skip blocklist logic when opts.blocklist is not setFeross Aboukhadijeh
Fixes #862
2016-07-27Ensure client.peerId is always a stringFeross Aboukhadijeh
2016-07-27Fixes for PR #851Feross Aboukhadijeh
2016-07-27don't use arrow functionMathias Rasmussen
2016-07-03Fix version stringMathias Rasmussen
`.map` calls zeroFill with the index as `pad` argument, causing incorrect results like `'1.2.5' -> '0112'`.
2016-06-16Emit 'seed' event on the torrent objectFeross Aboukhadijeh
2016-05-30Use safe-bufferFeross Aboukhadijeh
Use the new Buffer APIs from Node v6 for added security. For example, Buffer.from() will throw if passed a number, unlike Buffer() which allocated UNINITIALIZED memory. Use the safe-buffer package for compatibility with previous versions of Node.js, including v4.x, v0.12, and v0.10. https://github.com/feross/safe-buffer
2016-05-20Make user agent strings consistentFeross Aboukhadijeh
2016-05-14don't unset {tracker: {wrtc: false}} optionFeross Aboukhadijeh
2016-05-11On duplicate torrent add, don't emit 'infoHash'Feross Aboukhadijeh
Private 'infoHash' event allows client.add to check for duplicate torrents and destroy them before the normal 'infoHash' event is emitted. Prevents user applications from needing to deal with duplicate 'infoHash' events.
2016-05-08style: set default peerId and nodeId in clearer wayFeross Aboukhadijeh
2016-05-08Move tracker options into `opts.tracker`Feross Aboukhadijeh
Closes #649 Based on a PR by @nkittsteiner. #791
2016-04-21fix more bugsFeross 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-21fix duplicate client.add handling and re-enable testFeross 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-02remove extra setMaxListener(0) callsFeross Aboukhadijeh
2016-04-01Ignore warning when there are > 10 torrents in the clientFeross Aboukhadijeh
2016-03-04client.progress only for *active* torrentsFeross Aboukhadijeh
2016-03-04add client.progress propertyFeross Aboukhadijeh
2016-02-19dht error should destroy the whole clientFeross Aboukhadijeh
2016-02-10consistencyFeross Aboukhadijeh
- client.on(‘error’, err, torrent) always includes relevant torrent object for all errors - ‘torrent’ event emitted when duplicate torrent added - ‘seed’ event emitted when duplicate torrent seeded
2016-02-10client.seed: fix stream input typeFeross Aboukhadijeh
convert streams to buffer, since we need to consume the stream twice.
2016-02-10fix opts { dht: false } optionFeross Aboukhadijeh
2016-01-15styleFeross Aboukhadijeh
2016-01-11BREAKING: `downloadSpeed` and `uploadSpeed` are gettersFeross Aboukhadijeh
torrent.downloadSpeed() -> torrent.downloadSpeed torrent.uploadSpeed() -> torrent.uploadSpeed