Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-31 | Update license | Sam Truzjan | |
2013-10-31 | Merge bittorrent package with torrent-content | Sam Truzjan | |
2013-10-14 | Move some modules from torrent-content | Sam 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 bytestring | Sam 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 | |
2013-05-03 | + Add bitfield module. | Sam T | |
2013-04-21 | ~ Rename modules. | Sam T | |
2013-04-08 | - remove client test | Sam T | |
2013-04-08 | remove reduntant imports | Sam T | |
2013-04-08 | fix tests | Sam T | |
2013-04-08 | + mk newtype for info hash | Sam T | |
2013-04-07 | ~ make info hash test meaningful | Sam T | |
2013-04-07 | + peer id test | Sam T | |
2013-04-07 | add tests for handshake | Sam T | |
2013-04-05 | + add THP | Sam T | |
2013-04-04 | remove unneccessary dependencies | Sam T | |
2013-04-03 | + tests | Sam T | |