Matt Joiner
1b3e37b9ed
cmd/torrent: Remove unused "short" tag
2016-06-18 16:02:59 +10:00
Matt Joiner
d20384b421
cmd/torrent-create: Improve spelling and descriptions
2016-06-16 12:27:49 +10:00
Alexey Kuznetsov
ad5d5bc350
-a option ( #86 )
...
* add -a option
* name
2016-06-16 01:25:48 +10:00
Matt Joiner
abbbb6e115
cmd/torrent-metainfo-pprint: Add Announce and AnnounceList keys
2016-05-23 10:18:39 +10:00
Matt Joiner
a69044b9ea
Break out KRPC stuff from dht into new package
2016-05-17 16:40:08 +10:00
Matt Joiner
b714da8184
Torrent.AddPeers can't fail, so don't return an error
2016-05-12 12:26:09 +10:00
Matt Joiner
9c36d36654
cmd/torrent-infohash update for API changes
2016-05-06 15:09:59 +10:00
Matt Joiner
2d160b0419
metainfo.InfoEx.Hash becomes a function, UpdateBytes is added, and Bytes used in marshalling
...
Fixes #80 .
2016-05-05 22:40:38 +10:00
Matt Joiner
3c612cbfc8
cmd/torrent-create: Tidy up flags and remove redundant function calls
...
Issue #80
2016-05-03 16:49:30 +10:00
Matt Joiner
8ae88151a8
cmd/torrent-metainfo-pprint: Add -files flag, and expose NumFiles and TotalLength in output
2016-05-03 12:51:31 +10:00
Matt Joiner
1936054615
cmd/torrent-metainfo-pprint: Also print InfoHash
2016-05-02 19:14:49 +10:00
Matt Joiner
2db45b1198
cmd/torrent: Add -addr flag back in
2016-04-19 17:20:14 +10:00
Matt Joiner
2dcbe31304
cmd/torrent: Forget trying to expose the entire Client config struct to the command-line
2016-04-18 21:30:28 +10:00
Matt Joiner
9bebc043ea
cmd/torrent: Remove redundant _ "net/http/pprof" import
...
It's done by envpprof instead
2016-04-18 21:29:37 +10:00
Matt Joiner
fa511154e4
Move Magnet and friends into metainfo package
2016-04-04 13:48:39 +10:00
Matt Joiner
6aacfe5589
Merge pull request #72 from shoenig/magnetize
...
convenience function for creating magnets
2016-04-04 13:20:15 +10:00
Seth Hoenig
890658ef93
convenience function for creating magnets
2016-04-03 10:05:17 -05:00
Matt Joiner
d3a1c79c79
Merge Torrent and torrent types
2016-04-03 18:40:43 +10:00
Matt Joiner
c469d4a837
cmd/torrent-metainfo-pprint: Switch to tagflag for argument parsing
2016-04-03 16:37:17 +10:00
Matt Joiner
0a3a5d6ae0
Finish fixing tests
2016-03-29 00:24:00 +11:00
Matt Joiner
775cf53809
Get mmap storage working
2016-03-28 21:57:04 +11:00
Matt Joiner
b97b50aca9
New storage interface
2016-03-28 20:38:30 +11:00
Matt Joiner
d5f888069f
Ditch Data.WriteSectionTo, and fix cmd/torrent-verify
2016-02-18 11:45:31 +11:00
Matt Joiner
0c28a0f1b1
Use new tracker package interface
2016-02-07 18:49:35 +11:00
Matt Joiner
0e85ff190d
go vet
2016-02-02 00:44:29 +11:00
Matt Joiner
3a206d4f12
util/profile was replaced by github.com/anacrolix/envpprof
2016-01-31 18:35:51 +11:00
Matt Joiner
fe9d5702f6
Fixes for torrent.Reader not having ReadAt
2016-01-18 20:12:51 +11:00
Matt Joiner
153c13db43
Revert "Merge pull request #54 from zhulik/master"
...
This reverts commit 5cf75b869c
, reversing
changes made to 09050ff2c5
.
2016-01-06 12:19:49 +11:00
Gleb Sinyavsky
48c3df2d43
Refactorings
2016-01-05 11:48:16 +03:00
Gleb Sinyavsky
052a899f60
cmd utils fixed
2015-12-27 14:59:07 +03:00
Matt Joiner
812f5af66b
Switch from launchpad.net/gommap to github.com/edsrzf/mmap-go for Windows support
...
Fixes #45 .
2015-12-23 03:50:34 +11:00
Matt Joiner
5aca9d3563
Rewrite cmd/dht-ping
2015-12-08 00:45:42 +11:00
Dmitry Borzov
b42fc90674
Fix name ambiguity for dht-ping, too many things are called pingResponses
2015-12-08 00:13:50 +11:00
Matt Joiner
ff835db955
Actually fix #41 properly; and several big changes
...
bencode:
* Handle omitempty on non-trivial types.
cmd/dht-ping:
* Handle timeouts in ping transactions.
dht:
* Propagate failed transaction responses properly.
* Msg related tests are moved into their own file.
* In some places, IPs in binary form are shorted to 4 bytes if IPv4.
2015-12-07 03:28:28 +11:00
Matt Joiner
5886fa1d6b
cmd/torrent-infohash: Switch to tagflag
2015-11-22 18:49:44 +11:00
Matt Joiner
9230a1b9df
Use uiprogress to display a progress bar per torrent
2015-11-22 18:45:06 +11:00
Matt Joiner
c7f9bfccc1
Ditch go-flags for tagflag
...
Fixes #37
2015-11-05 23:21:39 +11:00
Matt Joiner
f9c600b264
metainfo: Add alternative "builder" API
...
The existing builder API is gross and heavy-handed. I won't rip it out just yet.
2015-10-30 01:21:09 +11:00
Matt Joiner
ea0ccf6a23
Tidy
2015-10-23 12:42:57 +11:00
Matt Joiner
b8da06a885
cmd/torrent: Expose --mmap
2015-10-23 12:42:19 +11:00
Matt Joiner
99a0813d88
dht: Make Msg a struct with bencode tags
2015-10-23 12:41:45 +11:00
Matt Joiner
abdf1f049f
dht: Support IPv6 compact peers
2015-08-06 09:01:38 +10:00
Matt Joiner
4fb7d8f4d4
cmd/dht-secure-id
2015-08-05 02:38:02 +10:00
Matt Joiner
8069573abe
cmd/torrent: Remove some dead code
2015-07-21 22:54:50 +10:00
Matt Joiner
fcd98acc9b
cmd/torrent-metainfo-pprint: Don't print extra newline when -name is true
2015-07-04 13:30:26 +10:00
Alexander Baranov
029f431ff6
Make torrent-pick work with latest changes
2015-06-25 21:02:14 +03:00
Matt Joiner
348c6406eb
cmd/torrent-metainfo-pprint: Output JSON instead
2015-06-22 19:50:29 +10:00
Matt Joiner
ca27d431f4
cmd/torrent-pick: gofmt and sortimports
2015-06-03 13:31:27 +10:00
Matt Joiner
c6e2f2e15d
Merge pull request #16 from scr4t/master
...
torrent-pick tool
2015-06-02 06:28:07 +10:00
Alexander Baranov
05d597a9f7
Only wait for io.Copy; Remove obsolete from client
2015-06-01 23:11:45 +03:00