summaryrefslogtreecommitdiff
path: root/src/Data/Torrent.hs
AgeCommit message (Collapse)Author
2014-01-09Rename Node.hs to NodeInfo.hsSam Truzjan
2014-01-05Make Torrent(tAnnounce) field optionalSam Truzjan
2013-12-17Add the nodes field to torrent fileSam Truzjan
2013-12-13Fix -Wall suggestionSam Truzjan
2013-12-07Move JSON options to separate moduleSam Truzjan
2013-12-01Fix building with hashable >= 1.2Daniel Gröber
hashWithSalt is now the minimal implementation
2013-12-01Fix building with aeson >= 0.6.2.0Daniel Gröber
deriveJSON now takes an Option record instead of a single function. It might be nicer to define a function that takes the fieldLabelModifier function rather than doing it inline everywhere but I didn't know where a good place to put that would be.
2013-11-28Remove byteStringToInfoHash functionSam Truzjan
2013-11-28Get rid of the urlencoded packageSam Truzjan
* It uses slow String's instead of Text. * It does not allow to encode infohash and peer ids properly. * It does not provide API for query string parsing. So it is better to use http-types package.
2013-11-28Hide InfoHash internal functionsSam Truzjan
2013-11-28Hide InfoHash constructorSam Truzjan
2013-11-25Add documentation to Torrent moduleSam Truzjan
2013-11-25Fix testSam Truzjan
2013-11-23Use pretty-class packageSam Truzjan
2013-11-20Minor changesSam Truzjan
2013-11-06Add ppTorrent functionSam Truzjan
2013-11-06Add torrent content typeSam Truzjan
2013-11-01Add FromJSON instance for Torrent datatypeSam Truzjan
2013-11-01Document Piece moduleSam Truzjan
2013-11-01Add documentation to Layout moduleSam Truzjan
2013-10-31Add instance JSON TorrentSam Truzjan
2013-10-31Merge bittorrent package with torrent-contentSam Truzjan
2013-08-16~ Remove torrent-content modules.Sam T
2013-07-21~ Move some extensions to cabal.Sam T
2013-07-21+ Add JSON instances for Tracker info.Sam T
2013-07-17+ Add a few auxilaru functions.Sam T
2013-07-17~ Add stubs to nonblocking IO.Sam T
2013-07-16~ Fix some long standing warnings.Sam T
2013-07-16+ Add posix-like file interface.Sam T
2013-07-15~ Add read instance for infohash.Sam T
2013-07-14~ Minor changes.Sam T
2013-07-14~ Hide PeerSession and SwarmSession.Sam T
2013-07-09Implement DHT server methods.Sam T
2013-07-05~ Add torrent path predicate.Sam T
2013-07-04~ Make JSON instance for Torrent.Sam T
Note that we have reorder some code to follow GHC Stage Restrictions.
2013-07-04+ Add Torrent Hashable instance.Sam T
2013-06-30+ Add very basic storage operations.Sam T
Now we can download and make some progress, but very unstable.
2013-06-29+ Scetch basic broadcasting.Sam T
2013-06-28~ Use older bytestings.Sam T
2013-06-13~ Fix wall suggestions.Sam T
2013-06-12~ Minor fixes.Sam T
* Annotate all required fields as strict. These are always used and there is no reason to keep them lazy. * Augment user errors with location.
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-07~ Fix bug in torrent bencode instance.Sam T
Also add encoding tests for torrent module.
2013-06-06~ Add docs to Torrent module.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-05-19~ Prettify Torrent module a bit.Sam T
2013-05-03+ Add some bitfield operations.Sam T
2013-05-01~ Fix documentation markup.Sam T
2013-04-24~ One less orphan instance.Sam T