Yves Junqueira
|
1f8b972031
|
Move bencode tests to common Go testing infrastructure.
|
2010-08-03 22:48:55 +02:00 |
|
Yves Junqueira
|
f3b38a06e5
|
Small fix on bencode parse.go
|
2010-07-25 20:32:08 +01:00 |
|
Yves Junqueira
|
56e375d053
|
Fixing other potential problems related to redeclaring err within a inner block. Also changing harmless look-alike cases for style consistency
|
2010-07-25 15:30:32 +01:00 |
|
Yves Junqueira
|
af804a47fa
|
Fix build problem with recent go release: vector Data() was renamed to Copy(). Also changed our own decoder method to reflect this.
|
2010-07-21 11:28:50 +01:00 |
|
Jack Palevich
|
6ca7f8f160
|
Merge commit '464e8f86d9e8ec9d188e4b7c53ef26015147ec83'; remote branch 'nictuku/master'
Conflicts:
torrent.go
|
2010-07-12 20:44:44 -07:00 |
|
Jack Palevich
|
e7d62b2e1c
|
Merge branch 'master' of github.com:jackpal/Taipei-Torrent
|
2010-07-12 20:41:57 -07:00 |
|
Jack Palevich
|
db8d8ee5ed
|
Various changes...
|
2010-07-12 20:41:09 -07:00 |
|
Yves Junqueira
|
f329c5064b
|
gofmt
|
2010-07-11 01:06:14 +02:00 |
|
Michael Meier
|
9e6ae66fe5
|
make bencode adhere to new reflection interface
|
2010-06-29 01:07:52 +02:00 |
|
Jack Palevich
|
2532a37945
|
Handle zero-length strings in bencode data.
Improve error reporting slightly.
|
2010-04-22 20:32:37 +08:00 |
|
Jack Palevich
|
bd0555a835
|
Fix bugs in error reporting when parsing bad bencode data.
Discovered when trying to parse a truncated torrent file.
|
2010-01-23 15:48:21 +08:00 |
|
Jack Palevich
|
d48a378005
|
Another gofmt pass.
|
2010-01-21 14:39:57 +08:00 |
|
Jack Palevich
|
f81cd34e34
|
Skip nil values when marshaling.
|
2010-01-20 23:20:25 +08:00 |
|
Jack Palevich
|
b1f8c9d7a7
|
Run code through gofmt.
|
2010-01-20 12:53:53 +08:00 |
|
Jack Palevich
|
f980a9f931
|
Make it a runtime error to try and unmarshal into a value.
Thanks to Rob Pike for the suggestion and code.
|
2010-01-07 12:11:33 +08:00 |
|
Jack Palevich
|
0804ed1920
|
Initial commit
|
2010-01-06 23:38:33 +08:00 |
|