Matt Joiner
|
7b2561cea8
|
bencode: More renames
|
2016-08-26 14:51:38 +10:00 |
Matt Joiner
|
f2cbc873a5
|
bencode: Rename a bunch of slug case stuff
|
2016-08-26 13:13:30 +10:00 |
Matt Joiner
|
ac3b40ace3
|
bencode: Remove private types encoder and decoder
Instead the functionality is exposed directly on the public types.
|
2016-06-15 15:00:51 +10:00 |
Matt Joiner
|
9d1a33facc
|
bencode: Unembed the Reader type, and minimize the interface surface
Want to remove some unnecessary allocations.
|
2016-06-15 14:51:58 +10:00 |
Matt Joiner
|
5f4fdfbd3d
|
bencode: Improve unknown value type error
|
2015-11-03 23:21:10 +11:00 |
Matt Joiner
|
28c1536daf
|
bencode: When decoding a dict, if the final key is missing its value, don't treat that as an error.
I think I'm swayed here by the robustness principle/Postel's Law.
|
2015-10-02 00:13:43 +10:00 |
Matt Joiner
|
8949375bd6
|
bencode: Decode very large integers as big.Int if they overflow int64
|
2015-09-20 21:08:42 +10:00 |
Matt Joiner
|
0403d4185d
|
bencode: Simplify parse_int
|
2015-08-23 17:51:24 +10:00 |
Matt Joiner
|
2ccbaa4e79
|
bencode: Don't allow extraneous trailing 'e's
|
2015-08-23 17:45:59 +10:00 |
Matt Joiner
|
4f293ca75b
|
Several trivial fixes
|
2015-06-28 16:39:04 +10:00 |
Matt Joiner
|
916c9c822a
|
Decoding bools has been wrong all along, always set to true
|
2014-12-01 23:28:47 -06:00 |
Matt Joiner
|
cdfba7a1ac
|
Expose SyntaxError reason with a proper error
|
2014-11-18 22:08:08 -06:00 |
Matt Joiner
|
7e2c384bd5
|
Fix buffer reuse bug and some formatting.
|
2014-03-20 01:54:18 +11:00 |
nsf
|
d0429086be
|
Add more comments to the bencode library. Implement UnmarshalerError.
|
2012-06-30 22:26:20 +06:00 |
nsf
|
e553531a10
|
Fix bugs, implement missing bits. Made a mess, can't describe properly.
|
2012-06-28 02:21:26 +06:00 |
nsf
|
27b64a002c
|
Add a couple of decode tests, fix empty slice bug.
|
2012-06-22 19:34:26 +06:00 |
nsf
|
57c1403300
|
Uncomment defer recover statement.
|
2012-06-20 19:34:10 +06:00 |
nsf
|
a68e4a6f5a
|
Initial commit.
|
2012-06-20 19:21:32 +06:00 |