]> Sergey Matveev's repositories - btrtrc.git/log
btrtrc.git
8 years agoAbandon the mailing list and gophers channel
Matt Joiner [Thu, 2 Jul 2015 10:32:00 +0000 (20:32 +1000)]
Abandon the mailing list and gophers channel

8 years agoMove the gitter badge inline with the other badges
Matt Joiner [Thu, 2 Jul 2015 10:31:15 +0000 (20:31 +1000)]
Move the gitter badge inline with the other badges

8 years agoMerge pull request #9 from gitter-badger/gitter-badge
Matt Joiner [Thu, 2 Jul 2015 10:29:54 +0000 (20:29 +1000)]
Merge pull request #9 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md

8 years agoRaise socketsPerTorrent to 80
Matt Joiner [Mon, 29 Jun 2015 14:46:43 +0000 (00:46 +1000)]
Raise socketsPerTorrent to 80

8 years agoSome changes to writing torrent status
Matt Joiner [Mon, 29 Jun 2015 14:46:24 +0000 (00:46 +1000)]
Some changes to writing torrent status

8 years agoReplace pruning timer with as-required connection dropping
Matt Joiner [Mon, 29 Jun 2015 14:45:26 +0000 (00:45 +1000)]
Replace pruning timer with as-required connection dropping

8 years agoAdjust some expvars
Matt Joiner [Mon, 29 Jun 2015 14:35:47 +0000 (00:35 +1000)]
Adjust some expvars

8 years agoImplement Stringer on connection
Matt Joiner [Mon, 29 Jun 2015 09:37:52 +0000 (19:37 +1000)]
Implement Stringer on connection

8 years agodht: Export some useful variables
Matt Joiner [Mon, 29 Jun 2015 09:36:08 +0000 (19:36 +1000)]
dht: Export some useful variables

8 years agodht: Suppress error during bootstrapping because Server already closed
Matt Joiner [Mon, 29 Jun 2015 09:34:42 +0000 (19:34 +1000)]
dht: Suppress error during bootstrapping because Server already closed

8 years agoRename and sort some of the expvars
Matt Joiner [Sun, 28 Jun 2015 06:41:51 +0000 (16:41 +1000)]
Rename and sort some of the expvars

8 years agoComments and update version strings
Matt Joiner [Sun, 28 Jun 2015 06:40:46 +0000 (16:40 +1000)]
Comments and update version strings

8 years agoSeveral trivial fixes
Matt Joiner [Sun, 28 Jun 2015 06:39:04 +0000 (16:39 +1000)]
Several trivial fixes

8 years agoMerge pull request #19 from scr4t/master
Matt Joiner [Sat, 27 Jun 2015 09:49:58 +0000 (19:49 +1000)]
Merge pull request #19 from scr4t/master

Make torrent-pick work with latest changes

8 years agoMake torrent-pick work with latest changes
Alexander Baranov [Thu, 25 Jun 2015 18:02:14 +0000 (21:02 +0300)]
Make torrent-pick work with latest changes

8 years agofs: Fix test when :50007 already in use
Matt Joiner [Mon, 22 Jun 2015 16:03:08 +0000 (02:03 +1000)]
fs: Fix test when :50007 already in use

8 years agoTODO
Matt Joiner [Mon, 22 Jun 2015 16:02:32 +0000 (02:02 +1000)]
TODO

8 years agoMove methods to correct file
Matt Joiner [Mon, 22 Jun 2015 16:02:22 +0000 (02:02 +1000)]
Move methods to correct file

8 years agoUpstream bazil.org/fuse changed again ಠ_ಠ
Matt Joiner [Mon, 22 Jun 2015 13:02:29 +0000 (23:02 +1000)]
Upstream bazil.org/fuse changed again ಠ_ಠ

8 years agoTODO
Matt Joiner [Mon, 22 Jun 2015 09:52:00 +0000 (19:52 +1000)]
TODO

8 years agocmd/torrent-metainfo-pprint: Output JSON instead
Matt Joiner [Mon, 22 Jun 2015 09:50:29 +0000 (19:50 +1000)]
cmd/torrent-metainfo-pprint: Output JSON instead

8 years agoDocument ConfigDir
Matt Joiner [Mon, 22 Jun 2015 09:48:50 +0000 (19:48 +1000)]
Document ConfigDir

8 years agoClarify downloaded chunk counters
Matt Joiner [Mon, 22 Jun 2015 09:48:30 +0000 (19:48 +1000)]
Clarify downloaded chunk counters

8 years agoPrint peer IDs as escaped ascii
Matt Joiner [Mon, 22 Jun 2015 09:46:26 +0000 (19:46 +1000)]
Print peer IDs as escaped ascii

8 years agoMove IP blocklist loading into iplist package
Matt Joiner [Mon, 22 Jun 2015 09:44:59 +0000 (19:44 +1000)]
Move IP blocklist loading into iplist package

8 years agoAdd benchmark for adding a torrent with a lot of pieces
Matt Joiner [Mon, 22 Jun 2015 09:43:22 +0000 (19:43 +1000)]
Add benchmark for adding a torrent with a lot of pieces

8 years agoSmall tweak to readahead, and fix the tests
Matt Joiner [Tue, 16 Jun 2015 07:14:15 +0000 (17:14 +1000)]
Small tweak to readahead, and fix the tests

8 years agoImprove uploading/seeding
Matt Joiner [Tue, 16 Jun 2015 06:57:47 +0000 (16:57 +1000)]
Improve uploading/seeding

8 years agoMake readahead always at least 2 blocks.
Matt Joiner [Tue, 16 Jun 2015 06:54:12 +0000 (16:54 +1000)]
Make readahead always at least 2 blocks.

9 years agoFix rare crash due to bad DHT node IDs
Matt Joiner [Mon, 8 Jun 2015 08:16:29 +0000 (18:16 +1000)]
Fix rare crash due to bad DHT node IDs

9 years agoDon't try to connect again without encryption, if encryption is disabled
Matt Joiner [Mon, 8 Jun 2015 08:16:01 +0000 (18:16 +1000)]
Don't try to connect again without encryption, if encryption is disabled

9 years agoClarify Example_fileReader
Matt Joiner [Thu, 4 Jun 2015 04:25:52 +0000 (14:25 +1000)]
Clarify Example_fileReader

9 years agoReduce log noise due to uTP connection timeouts
Matt Joiner [Wed, 3 Jun 2015 12:44:03 +0000 (22:44 +1000)]
Reduce log noise due to uTP connection timeouts

9 years agoFix rare single-torrent stall due to obsolete ceaseNetworking call
Matt Joiner [Wed, 3 Jun 2015 12:43:40 +0000 (22:43 +1000)]
Fix rare single-torrent stall due to obsolete ceaseNetworking call

Only occurred if you have a data backend that can drop completed pieces, and it happened that you wanted to redownload data that had been dropped after completely downloading the torrent in the past.

9 years agoFix compile error in example
Matt Joiner [Wed, 3 Jun 2015 03:48:57 +0000 (13:48 +1000)]
Fix compile error in example

9 years agoRetry Reader reads when data is unexpectedly missing
Matt Joiner [Wed, 3 Jun 2015 03:36:27 +0000 (13:36 +1000)]
Retry Reader reads when data is unexpectedly missing

9 years agocmd/torrent-pick: gofmt and sortimports
Matt Joiner [Wed, 3 Jun 2015 03:31:27 +0000 (13:31 +1000)]
cmd/torrent-pick: gofmt and sortimports

9 years agoDocs and comments
Matt Joiner [Wed, 3 Jun 2015 03:30:55 +0000 (13:30 +1000)]
Docs and comments

9 years agoMerge branch 'master' of github.com:anacrolix/torrent
Matt Joiner [Tue, 2 Jun 2015 14:18:24 +0000 (00:18 +1000)]
Merge branch 'master' of github.com:anacrolix/torrent

9 years agoAdd some metainfo validation
Matt Joiner [Tue, 2 Jun 2015 14:17:58 +0000 (00:17 +1000)]
Add some metainfo validation

9 years agoTest bad "completed" piece
Matt Joiner [Tue, 2 Jun 2015 14:16:38 +0000 (00:16 +1000)]
Test bad "completed" piece

9 years agotorrentfs: Fix bad import
Matt Joiner [Tue, 2 Jun 2015 14:14:55 +0000 (00:14 +1000)]
torrentfs: Fix bad import

9 years agoMiscellaneous changes
Matt Joiner [Tue, 2 Jun 2015 14:03:43 +0000 (00:03 +1000)]
Miscellaneous changes

9 years agoFix a few data races
Matt Joiner [Tue, 2 Jun 2015 14:00:25 +0000 (00:00 +1000)]
Fix a few data races

9 years agoUpstream bazil.org/fuse changes again...
Matt Joiner [Tue, 2 Jun 2015 13:59:25 +0000 (23:59 +1000)]
Upstream bazil.org/fuse changes again...

9 years agoFix race to set IPBlocklist on DHT before it bootstraps and serves
Matt Joiner [Tue, 2 Jun 2015 13:58:49 +0000 (23:58 +1000)]
Fix race to set IPBlocklist on DHT before it bootstraps and serves

9 years agoMerge pull request #16 from scr4t/master
Matt Joiner [Mon, 1 Jun 2015 20:28:07 +0000 (06:28 +1000)]
Merge pull request #16 from scr4t/master

torrent-pick tool

9 years agoremove obsolete spaces
Alexander Baranov [Mon, 1 Jun 2015 20:12:27 +0000 (23:12 +0300)]
remove obsolete spaces

9 years agoOnly wait for io.Copy; Remove obsolete from client
Alexander Baranov [Mon, 1 Jun 2015 20:11:45 +0000 (23:11 +0300)]
Only wait for io.Copy; Remove obsolete from client

9 years agoRemove obsolete spaces
Alexander Baranov [Mon, 1 Jun 2015 19:58:21 +0000 (22:58 +0300)]
Remove obsolete spaces

9 years agoUse higher-level API to get file
Alexander Baranov [Mon, 1 Jun 2015 19:56:10 +0000 (22:56 +0300)]
Use higher-level API to get file

9 years agoAccessTime helper moved to missinggo
Matt Joiner [Mon, 1 Jun 2015 08:26:32 +0000 (18:26 +1000)]
AccessTime helper moved to missinggo

9 years agoChanges to the way piece prioritization affects the piece
Matt Joiner [Mon, 1 Jun 2015 08:23:35 +0000 (18:23 +1000)]
Changes to the way piece prioritization affects the piece

9 years agoChange the way piece state is exposed to give more detail
Matt Joiner [Mon, 1 Jun 2015 08:22:12 +0000 (18:22 +1000)]
Change the way piece state is exposed to give more detail

9 years agoComments
Matt Joiner [Mon, 1 Jun 2015 08:17:14 +0000 (18:17 +1000)]
Comments

9 years agoRename picker tool
Alexander Baranov [Thu, 28 May 2015 20:55:15 +0000 (23:55 +0300)]
Rename picker tool

9 years agoReduce number of messages sent in one test, the OS nondeterministically fails the...
Matt Joiner [Sun, 24 May 2015 11:37:14 +0000 (21:37 +1000)]
Reduce number of messages sent in one test, the OS nondeterministically fails the test sometimes otherwise

9 years agoMake the package example an actual example.
Matt Joiner [Sun, 24 May 2015 11:36:24 +0000 (21:36 +1000)]
Make the package example an actual example.

I can't remember who had this great suggestion.

9 years agodht: Improve behaviour when adding new root nodes
Matt Joiner [Wed, 20 May 2015 12:26:33 +0000 (22:26 +1000)]
dht: Improve behaviour when adding new root nodes

9 years agodht: Use maxNodes hint in node table size
Matt Joiner [Wed, 20 May 2015 12:24:39 +0000 (22:24 +1000)]
dht: Use maxNodes hint in node table size

9 years agogo vet
Matt Joiner [Wed, 20 May 2015 12:24:09 +0000 (22:24 +1000)]
go vet

9 years agodht: Implement the DHT security extension
Matt Joiner [Wed, 20 May 2015 12:23:50 +0000 (22:23 +1000)]
dht: Implement the DHT security extension

9 years agodata/blob: Tidy error handling in WriteSectionTo
Matt Joiner [Wed, 20 May 2015 12:21:20 +0000 (22:21 +1000)]
data/blob: Tidy error handling in WriteSectionTo

9 years agoExpose GOPPROF for debugging torrent package
Matt Joiner [Wed, 20 May 2015 12:20:11 +0000 (22:20 +1000)]
Expose GOPPROF for debugging torrent package

9 years agoRelax pedantic listen addr matching
Matt Joiner [Wed, 20 May 2015 08:14:42 +0000 (18:14 +1000)]
Relax pedantic listen addr matching

Fixes #15.

9 years agogo vet
Matt Joiner [Wed, 20 May 2015 05:47:07 +0000 (15:47 +1000)]
go vet

9 years agoInclude reason for panic on different listener addresses
Matt Joiner [Wed, 20 May 2015 05:45:58 +0000 (15:45 +1000)]
Include reason for panic on different listener addresses

9 years agoMerge pull request #14 from milosgajdos83/multifile-torrent
Matt Joiner [Sat, 16 May 2015 23:31:43 +0000 (09:31 +1000)]
Merge pull request #14 from milosgajdos83/multifile-torrent

Multiple file metainfo mode support in cmd tools

9 years agoRemoved summary flag. Modified fileToMmap function
Milos Gajdos [Sat, 16 May 2015 14:34:09 +0000 (15:34 +0100)]
Removed summary flag. Modified fileToMmap function

This commit also reverts the ugly hack in dht.go which was checking for
empty bootstrap node string.

9 years agoMultiple file metainfo mode support in cmd tools
Milos Gajdos [Sat, 16 May 2015 12:23:33 +0000 (13:23 +0100)]
Multiple file metainfo mode support in cmd tools

torrent-create and torrent-verify did not work correctly when a single
file is present in metainfo torrent file. torrent-create now fails if
the path passed as an argument does not exist. I've als modified
dht.go which now handles the case when an empty string is passed in
DHT bootstrap nodes slice. Finally in span.go I've sneaked in cheekily
a change which defines a type more like idiomatic Go (I have an OCD :-))

9 years agoFix panic on unexpected files in the blob store "completed" directory
Matt Joiner [Sat, 16 May 2015 00:52:35 +0000 (10:52 +1000)]
Fix panic on unexpected files in the blob store "completed" directory

9 years agoSwitch to using a slice for tracking pending chunks. Saves massive amounts of memory.
Matt Joiner [Sat, 16 May 2015 00:51:48 +0000 (10:51 +1000)]
Switch to using a slice for tracking pending chunks. Saves massive amounts of memory.

9 years agogo vet
Matt Joiner [Thu, 14 May 2015 22:41:42 +0000 (08:41 +1000)]
go vet

9 years agoSupport seeding
Matt Joiner [Thu, 14 May 2015 22:39:53 +0000 (08:39 +1000)]
Support seeding

9 years agoBasic pick-file functionality
Alexander Baranov [Mon, 11 May 2015 14:50:59 +0000 (17:50 +0300)]
Basic pick-file functionality

9 years agoMerge pull request #1 from anacrolix/master
Sasha Baranov [Mon, 11 May 2015 14:48:28 +0000 (17:48 +0300)]
Merge pull request #1 from anacrolix/master

Rare panic: a piece is requested that shouldn't have been

9 years agoRare panic: a piece is requested that shouldn't have been
Matt Joiner [Sat, 9 May 2015 01:52:52 +0000 (11:52 +1000)]
Rare panic: a piece is requested that shouldn't have been

9 years agoMerge pull request #13 from milosgajdos83/metainfo-trackerless
Matt Joiner [Tue, 5 May 2015 05:11:10 +0000 (15:11 +1000)]
Merge pull request #13 from milosgajdos83/metainfo-trackerless

Added support for trackerless metainfo files

9 years agoAdding trackerless.torrent metainfo file to test suite
Milos Gajdos [Sun, 3 May 2015 15:37:48 +0000 (16:37 +0100)]
Adding trackerless.torrent metainfo file to test suite

9 years agoAdded support for trackerless metainfo files
Milos Gajdos [Sun, 3 May 2015 10:30:27 +0000 (11:30 +0100)]
Added support for trackerless metainfo files

Based on the official spec
(http://www.bittorrent.org/beps/bep_0005.html) trackerless metainfo
files do not contain announce key. Instead nodes key has to be
specified. This PR adds support for nodes key into metainfo package. It
also contains a test metainfo file.

9 years agobencode: gofmt
Matt Joiner [Wed, 29 Apr 2015 14:32:01 +0000 (00:32 +1000)]
bencode: gofmt

9 years agoApply sortimports
Matt Joiner [Wed, 29 Apr 2015 14:31:34 +0000 (00:31 +1000)]
Apply sortimports

9 years agoMade Torrent.GotInfo a function, to avoid use of zero-initialized channel
Matt Joiner [Wed, 29 Apr 2015 14:30:19 +0000 (00:30 +1000)]
Made Torrent.GotInfo a function, to avoid use of zero-initialized channel

9 years agoPublicly expose Torrent.GotInfo
Matt Joiner [Tue, 28 Apr 2015 05:24:17 +0000 (15:24 +1000)]
Publicly expose Torrent.GotInfo

9 years agoRemove obsolete libtorgo README
Matt Joiner [Mon, 27 Apr 2015 05:04:27 +0000 (15:04 +1000)]
Remove obsolete libtorgo README

9 years agoRewrite imports to local bencode and metainfo
Matt Joiner [Mon, 27 Apr 2015 04:55:01 +0000 (14:55 +1000)]
Rewrite imports to local bencode and metainfo

9 years agoMerge remote-tracking branch 'libtorgo/master' into HEAD
Matt Joiner [Mon, 27 Apr 2015 04:36:35 +0000 (14:36 +1000)]
Merge remote-tracking branch 'libtorgo/master' into HEAD

9 years agofs: Improve test error handling if FUSE isn't available
Matt Joiner [Mon, 27 Apr 2015 04:06:00 +0000 (14:06 +1000)]
fs: Improve test error handling if FUSE isn't available

9 years agoRemove all the old intermediate config fields from Client
Matt Joiner [Mon, 27 Apr 2015 04:05:27 +0000 (14:05 +1000)]
Remove all the old intermediate config fields from Client

9 years agoAdd the --disable-tcp flag to the client options
Matt Joiner [Mon, 20 Apr 2015 07:35:21 +0000 (17:35 +1000)]
Add the --disable-tcp flag to the client options

9 years agoAdd the option to disable encryption
Matt Joiner [Mon, 20 Apr 2015 07:30:22 +0000 (17:30 +1000)]
Add the option to disable encryption

9 years agoRework the Torrent Reader interface, to allow reader options, and add "responsive...
Matt Joiner [Tue, 14 Apr 2015 13:59:41 +0000 (23:59 +1000)]
Rework the Torrent Reader interface, to allow reader options, and add "responsive" as one such option

Had several weeks of testing. Removes a lot of the "helper" reading methods, but this was necessary to allow per-Torrent reading options.

9 years agoMove torrentOffsetRequest and torrentRequestOffset, fixing a bug in former, and test it
Matt Joiner [Tue, 7 Apr 2015 16:20:01 +0000 (02:20 +1000)]
Move torrentOffsetRequest and torrentRequestOffset, fixing a bug in former, and test it

9 years agoimport pp peer_protocol in misc.go
Matt Joiner [Tue, 7 Apr 2015 16:17:15 +0000 (02:17 +1000)]
import pp peer_protocol in misc.go

9 years agocmd/torrent-magnet: Error if arguments are given
Matt Joiner [Tue, 7 Apr 2015 16:15:25 +0000 (02:15 +1000)]
cmd/torrent-magnet: Error if arguments are given

Too easy to make this mistake, and then it hangs.

9 years agoMove piece into its own file
Matt Joiner [Tue, 7 Apr 2015 16:14:35 +0000 (02:14 +1000)]
Move piece into its own file

9 years agofs: Improve test logging
Matt Joiner [Tue, 7 Apr 2015 15:43:50 +0000 (01:43 +1000)]
fs: Improve test logging

9 years agocmd/...: Some package synopses
Matt Joiner [Mon, 6 Apr 2015 13:04:18 +0000 (23:04 +1000)]
cmd/...: Some package synopses

9 years agoMerge pull request #10 from milosgajdos83/dht-bootstrap-servers
Matt Joiner [Thu, 2 Apr 2015 23:33:40 +0000 (10:33 +1100)]
Merge pull request #10 from milosgajdos83/dht-bootstrap-servers

Added BootstrapNodes to dht.ServerConfig

9 years agoAdded BootstrapNodes to dht.ServerConfig
Milos Gajdos [Thu, 2 Apr 2015 22:35:30 +0000 (23:35 +0100)]
Added BootstrapNodes to dht.ServerConfig

This is beneficial to users who are running their own private trackers
or have outbound connections to ports 6881 disallowed on firewalls.