summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-11-28Implement AnnounceQuery parsingSam Truzjan
2013-11-27More informative ParamParseFailureSam Truzjan
2013-11-26Fix warningsSam Truzjan
2013-11-26Add Arbitrary instance for AnnounceQuerySam Truzjan
2013-11-25Fix testSam Truzjan
2013-11-23ML donkey encoding styleSam Truzjan
2013-11-23Opera peer id encoding styleSam Truzjan
2013-11-23Add BitComet peer id encoding styleSam Truzjan
2013-11-23Decode shadow style de peer IdsSam Truzjan
2013-11-23Add mainline client implementation idSam Truzjan
2013-11-23Add instance IsString for ClientInfoSam Truzjan
2013-11-23Remove ClientVersion newtypeSam Truzjan
2013-11-23Add spec for client info extraction from azureus encoded peer idSam Truzjan
2013-10-31Update licenseSam Truzjan
2013-10-31Merge bittorrent package with torrent-contentSam Truzjan
2013-10-14Move some modules from torrent-contentSam Truzjan
2013-08-16~ Fix some warnings.Sam T
2013-08-16~ Remove torrent-content modules.Sam T
2013-07-21~ Move HTTP tracker stuff to its own module.Sam T
2013-07-14~ Minor changes.Sam T
2013-07-04~ Rename PeerID to PeerId.Sam T
2013-07-04~ Use TH for JSON instance.Sam T
Note that we don't need JSON tests anymore.
2013-07-04+ Add tests for ScrapeInfo encoding.Sam T
2013-07-04~ Minor changes.Sam T
2013-07-04~ Move info hash test to main test suite.Sam T
2013-07-04~ Move MMap tests to properties test suite.Sam T
The MMap test suite is tiny enough to not separate it from the main test suite. It also reduces compilation (link) time a bit.
2013-07-03~ Use lazy bytestringSam T
This lead to the following consequences: * we could efficiently read from storage - if block intersects files boundaries then we will "view" the block in the two different bytestrings. To avoid concat we now return lazy bytestring; * we could read block from socket without "concat" - again, for the same reason. The pitfail is that now we have a bit more heap object, but blocks lifetime is very short and this shouldnt play the big difference. The lifetime is either (socket -> storage -> unreachable) or (storage -> socket -> unreachable) unless a lib user keep block for their own purposes.
2013-06-20~ merge mmap-fixed package into bittorrent.Sam T
reason: mmap-fixed is pretty useless out of scope of bittorrent, at least i don't think that it'll be used some time that way. Moreover we can hide some internal stuff and simplify interface and simplify user code. Using mmap-fixed we can provide Storage datatype with all necessary operations needed to keep torrent content in memory of FS. Also that seems pretty annoying to merge this 2 repos into one using git merge(there are not so many stuff anyway), so I just did that manually. :<
2013-06-13~ Fix wall suggestions.Sam T
2013-06-11~ Minor changes.Sam T
2013-06-11~ Use exception in fromFile.Sam T
Again, the problem is that one function returns errors in two different ways: Either and IO exceptions. It's better to just throw exception in either case.
2013-06-09~ Hide *.Protocol modules.Sam T
2013-06-07~ Fix bitfield encoding.Sam T
2013-06-07~ Rename info hash test suite.Sam T
2013-06-07~ Merge Encoding to Main.Sam T
2013-06-07~ Move binary files in the res folder.Sam T
2013-06-07~ Fix bug in torrent bencode instance.Sam T
Also add encoding tests for torrent module.
2013-06-07+ Add tests for bitfield.Sam T
2013-06-06+ Add some tests.Sam T
2013-06-02~ Use pretty package for pretty print.Sam T
This is a bit faster and pretty!
2013-06-02~ Merge InfoHash to Torrent.Sam T
This allow to provide better interface.
2013-06-02~ Use IntSet instead of ByteString for bitfields.Sam T
There are several reasons for this: * IntSet is stored in ordinary heap, while ByteStrings in pinned memory; * Our IntSet's should be much faster 90% time. (in typical BT client) Hovewer in worst case IntSet is slower, but difference should is not so big. (We should measure this although) * It's pure, tested, error-free and much more convenient. Moreover we have kill a lot of ugly code!
2013-05-25~ Use PortNumber instead of Word16 in Port message.Sam T
2013-05-08~ Fix handshake.Sam T
2013-05-05~ Move bitfields to Data.Sam T
2013-05-05+ Add bitfield completeness function.Sam T
2013-05-04+ Add some test cases for findMin & finMax.Sam T
2013-05-03+ Add more properties for bitfield operations.Sam T
2013-05-03+ Add tests for bitfield min & max.Sam T
2013-05-03+ Add initial tests for bitfields.Sam T