]>
Sergey Matveev's repositories - btrtrc.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matt Joiner [Tue, 2 Dec 2014 05:28:22 +0000 (23:28 -0600)]
Use the same info bytes from a decode, for a recode
This handles strange uses of optional info fields, like private=0
Matt Joiner [Tue, 2 Dec 2014 05:27:17 +0000 (23:27 -0600)]
Ensure that encoded and decoded forms match
Matt Joiner [Fri, 28 Nov 2014 16:34:19 +0000 (10:34 -0600)]
Need to break from the parent soon...
Matt Joiner [Wed, 19 Nov 2014 04:08:08 +0000 (22:08 -0600)]
Expose SyntaxError reason with a proper error
Matt Joiner [Sun, 13 Jul 2014 07:36:06 +0000 (17:36 +1000)]
Expose MetaData directly so it can be bencoded from external packages
Matt Joiner [Sat, 28 Jun 2014 09:40:39 +0000 (19:40 +1000)]
Rename torrent package to metainfo; expose MetaInfo["info"] so it can be used on its own
--HG--
rename : torrent/README => metainfo/README
rename : torrent/_testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent => metainfo/_testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent
rename : torrent/_testdata/continuum.torrent => metainfo/_testdata/continuum.torrent
rename : torrent/builder.go => metainfo/builder.go
rename : torrent/metainfo.go => metainfo/metainfo.go
rename : torrent/metainfo_test.go => metainfo/metainfo_test.go
Matt Joiner [Wed, 19 Mar 2014 14:54:18 +0000 (01:54 +1100)]
Fix buffer reuse bug and some formatting.
nsf [Tue, 10 Jul 2012 20:44:22 +0000 (02:44 +0600)]
torrent: Fix documentation.
nsf [Tue, 10 Jul 2012 20:41:22 +0000 (02:41 +0600)]
Promote DefaultName and TotalSize to methods. The need to be read-only.
nsf [Tue, 10 Jul 2012 20:30:05 +0000 (02:30 +0600)]
torrent: Remove the ugly interface{} dependent API. Use a simpler one.
nsf [Sun, 8 Jul 2012 21:37:16 +0000 (03:37 +0600)]
torrent: Fix bug with common part not being cut off.
nsf [Sun, 8 Jul 2012 01:01:14 +0000 (07:01 +0600)]
Introduce the notion of Batch.
Fixes some of the API issues. Most notably there is a need to know ahead of the
building process what is the default name of the torrent metainfo in order to
give a name to the future .torrent file.
nsf [Sat, 7 Jul 2012 16:26:10 +0000 (22:26 +0600)]
Clarify 'AddURL' -> 'AddWebSeedURL'.
nsf [Thu, 5 Jul 2012 20:02:42 +0000 (02:02 +0600)]
Omg, haven't tested before committing, what a shame. :D
nsf [Thu, 5 Jul 2012 19:14:34 +0000 (01:14 +0600)]
Add more parameter checks and cleaning.
nsf [Thu, 5 Jul 2012 16:47:14 +0000 (22:47 +0600)]
Add Builder docs. A bit shallow for now, but whatever.
nsf [Thu, 5 Jul 2012 16:44:54 +0000 (22:44 +0600)]
Add Builder interface for creating .torrent files.
nsf [Thu, 5 Jul 2012 16:44:27 +0000 (22:44 +0600)]
Add MarshalBencode to the torrent_info_ex, will be used by the Builder.
nsf [Tue, 3 Jul 2012 23:29:47 +0000 (05:29 +0600)]
Remove md5sum fields from the encoder/decoder helper structs.
There is no need for them.
nsf [Sun, 1 Jul 2012 19:05:10 +0000 (01:05 +0600)]
Cosmetic change File -> MetaInfo. Update docs as well.
nsf [Sat, 30 Jun 2012 16:34:18 +0000 (22:34 +0600)]
Add torrent.File documentation.
nsf [Sat, 30 Jun 2012 16:26:20 +0000 (22:26 +0600)]
Add more comments to the bencode library. Implement UnmarshalerError.
nsf [Fri, 29 Jun 2012 22:23:02 +0000 (04:23 +0600)]
Tweak interface slightly.
Load instead of Open. Open gives an idea that there should be Close somewhere,
which is not true. Load is load.
Info is now a member instead of an accessor. Who needs these anyway.
nsf [Wed, 27 Jun 2012 20:26:56 +0000 (02:26 +0600)]
Add first bits of "torrent" library (.torrent file manipulation).
Add missing testdata for bencode also.
nsf [Wed, 27 Jun 2012 20:21:26 +0000 (02:21 +0600)]
Fix bugs, implement missing bits. Made a mess, can't describe properly.
nsf [Sun, 24 Jun 2012 11:10:53 +0000 (17:10 +0600)]
Fix Marshaler case.
nsf [Sun, 24 Jun 2012 11:10:27 +0000 (17:10 +0600)]
Add MarshalBencode test.
nsf [Sun, 24 Jun 2012 10:59:04 +0000 (16:59 +0600)]
Add bufio.Writer error handling, move Flush to the internal code.
nsf [Fri, 22 Jun 2012 13:34:26 +0000 (19:34 +0600)]
Add a couple of decode tests, fix empty slice bug.
nsf [Fri, 22 Jun 2012 13:34:04 +0000 (19:34 +0600)]
Add missing interface definitions.
nsf [Wed, 20 Jun 2012 13:34:10 +0000 (19:34 +0600)]
Uncomment defer recover statement.
nsf [Wed, 20 Jun 2012 13:21:32 +0000 (19:21 +0600)]
Initial commit.