]> Sergey Matveev's repositories - btrtrc.git/log
btrtrc.git
11 years agoTorrent client publishes data ready information; torrentfs supports file reads
Matt Joiner [Sun, 13 Oct 2013 12:16:21 +0000 (23:16 +1100)]
Torrent client publishes data ready information; torrentfs supports file reads

11 years agoFix bugs in the new WriteSectionTo hashing implementation
Matt Joiner [Mon, 7 Oct 2013 07:58:33 +0000 (18:58 +1100)]
Fix bugs in the new WriteSectionTo hashing implementation

11 years agoCreate more efficient writer method for MMapSpan for use with hashing
Matt Joiner [Sun, 6 Oct 2013 23:35:10 +0000 (10:35 +1100)]
Create more efficient writer method for MMapSpan for use with hashing

11 years agoSupport browsing torrents in the filesystem
Matt Joiner [Sun, 6 Oct 2013 19:00:35 +0000 (06:00 +1100)]
Support browsing torrents in the filesystem

11 years agoNeed executable permissions on torrent data directories
Matt Joiner [Sun, 6 Oct 2013 10:12:44 +0000 (21:12 +1100)]
Need executable permissions on torrent data directories

11 years agoStart implementing torrentfs binary
Matt Joiner [Sun, 6 Oct 2013 07:01:39 +0000 (18:01 +1100)]
Start implementing torrentfs binary

11 years agoFix TestHaveEncode now that message length prefixes are actually included in Marshal...
Matt Joiner [Sun, 6 Oct 2013 05:05:03 +0000 (16:05 +1100)]
Fix TestHaveEncode now that message length prefixes are actually included in Marshal output

11 years agoBEP20
Matt Joiner [Wed, 2 Oct 2013 10:12:05 +0000 (20:12 +1000)]
BEP20

11 years agoImplement writing of chunks as they arrive
Matt Joiner [Wed, 2 Oct 2013 09:55:03 +0000 (19:55 +1000)]
Implement writing of chunks as they arrive

11 years agoFailing WriteAt should return ErrShortWrite
Matt Joiner [Wed, 2 Oct 2013 09:54:23 +0000 (19:54 +1000)]
Failing WriteAt should return ErrShortWrite

See the implementation of io.Copy.

11 years agoMostly handle Piece messages, and kick off a piece check when all the chunks are...
Matt Joiner [Wed, 2 Oct 2013 07:57:59 +0000 (17:57 +1000)]
Mostly handle Piece messages, and kick off a piece check when all the chunks are done

11 years agoDecoding of Piece messages, and checking entire message is consumed
Matt Joiner [Wed, 2 Oct 2013 07:57:19 +0000 (17:57 +1000)]
Decoding of Piece messages, and checking entire message is consumed

11 years agoFix request/chunk confusion, missing outgoing message prefix, protocol tests; improve...
Matt Joiner [Tue, 1 Oct 2013 08:43:18 +0000 (18:43 +1000)]
Fix request/chunk confusion, missing outgoing message prefix, protocol tests; improve request triggering

11 years agoImplementing bitfields and connection message handling
Matt Joiner [Mon, 30 Sep 2013 11:51:08 +0000 (21:51 +1000)]
Implementing bitfields and connection message handling

11 years agoImplement peer connection writer, optimizer and handshake
Matt Joiner [Sun, 29 Sep 2013 06:45:17 +0000 (16:45 +1000)]
Implement peer connection writer, optimizer and handshake

11 years agoFix race conditions
Matt Joiner [Sun, 29 Sep 2013 06:44:37 +0000 (16:44 +1000)]
Fix race conditions

11 years agoBytesInfoHash wasn't actually initializing the info hash
Matt Joiner [Sun, 29 Sep 2013 06:43:35 +0000 (16:43 +1000)]
BytesInfoHash wasn't actually initializing the info hash

11 years agoDon't rely on *os.File finalizer for close
Matt Joiner [Sun, 29 Sep 2013 04:20:18 +0000 (14:20 +1000)]
Don't rely on *os.File finalizer for close

11 years agoPrevent false-positive race conditions
Matt Joiner [Sun, 29 Sep 2013 04:18:43 +0000 (14:18 +1000)]
Prevent false-positive race conditions

11 years agoBegin implementing the adding of peers, and initiating of connections
Matt Joiner [Sat, 28 Sep 2013 22:11:24 +0000 (08:11 +1000)]
Begin implementing the adding of peers, and initiating of connections

11 years agoHandle actorTask messages
Matt Joiner [Sat, 28 Sep 2013 18:05:09 +0000 (04:05 +1000)]
Handle actorTask messages

11 years agoCan't send to torrentFinished while handling an event
Matt Joiner [Sat, 28 Sep 2013 18:04:46 +0000 (04:04 +1000)]
Can't send to torrentFinished while handling an event

11 years agoFix crash due to torrent.MetaInfo being unset
Matt Joiner [Sat, 28 Sep 2013 18:03:36 +0000 (04:03 +1000)]
Fix crash due to torrent.MetaInfo being unset

11 years agoCreate torrent data files with at least the required size
Matt Joiner [Sat, 28 Sep 2013 18:03:04 +0000 (04:03 +1000)]
Create torrent data files with at least the required size

Truncate is required or use of mmap'd region beyond file length raises SIGBUS.

11 years agoStart implementing a basic client
Matt Joiner [Thu, 26 Sep 2013 09:49:15 +0000 (19:49 +1000)]
Start implementing a basic client

11 years agoAdd some basic protocol definitions, this will be improved in the future
Matt Joiner [Thu, 26 Sep 2013 03:43:46 +0000 (13:43 +1000)]
Add some basic protocol definitions, this will be improved in the future

11 years agoAdd torrent-verify, simple exe that logs matching pieces from a torrent file and...
Matt Joiner [Thu, 26 Sep 2013 03:43:08 +0000 (13:43 +1000)]
Add torrent-verify, simple exe that logs matching pieces from a torrent file and torrent path

11 years agoAdd torrent.Mmap and MmapSpan, types that abstract memory-mapped torrent data
Matt Joiner [Thu, 26 Sep 2013 03:42:24 +0000 (13:42 +1000)]
Add torrent.Mmap and MmapSpan, types that abstract memory-mapped torrent data

11 years agoAdd cmds 'torrent-create' and 'torrent-metainfo-pprint' using nsf's libtorgo
Matt Joiner [Thu, 19 Sep 2013 07:00:51 +0000 (17:00 +1000)]
Add cmds 'torrent-create' and 'torrent-metainfo-pprint' using nsf's libtorgo