]> git.rkrishnan.org Git - functorrent.git/log
functorrent.git
11 years agoHandle the `left' parameter for the tracker request.
Ramakrishnan Muthukrishnan [Tue, 17 Feb 2015 11:05:00 +0000 (16:35 +0530)]
Handle the `left' parameter for the tracker request.

Tracker initial request includes a parameter called `left' to indicate
the size of the file left to be downloaded. When we contact the tracker
initially, we haven't downloaded anything yet. So, the left parameter
should be the length parameter. For now, we handle only single file
torrent files, so we just pick the length param from Metainfo and shove
it in into the tracker http request.

11 years agoadd a TODO item on test suite
Ramakrishnan Muthukrishnan [Tue, 17 Feb 2015 09:38:44 +0000 (15:08 +0530)]
add a TODO item on test suite

11 years agocute hlint suggestion for transformng a function
Ramakrishnan Muthukrishnan [Tue, 17 Feb 2015 09:37:56 +0000 (15:07 +0530)]
cute hlint suggestion for transformng a function

11 years agofix changed made during sleep deprived state
Ramakrishnan Muthukrishnan [Tue, 17 Feb 2015 06:06:27 +0000 (11:36 +0530)]
fix changed made during sleep deprived state

11 years agoUse stackage
Ramakrishnan Muthukrishnan [Tue, 17 Feb 2015 00:58:28 +0000 (06:28 +0530)]
Use stackage

11 years agoincorporate hlint suggestions
Ramakrishnan Muthukrishnan [Tue, 17 Feb 2015 00:35:06 +0000 (06:05 +0530)]
incorporate hlint suggestions

11 years agofix broken links
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 14:04:26 +0000 (19:34 +0530)]
fix broken links

11 years agoproject renamed to "functorrent"
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 12:29:19 +0000 (17:59 +0530)]
project renamed to "functorrent"

11 years agomisc changes to fix warning
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 12:16:46 +0000 (17:46 +0530)]
misc changes to fix warning

11 years agoTODO: implement complete/incomplete fields
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 11:22:05 +0000 (16:52 +0530)]
TODO: implement complete/incomplete fields

11 years agorefactoring
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 11:08:10 +0000 (16:38 +0530)]
refactoring

11 years agohaskell style guide link and spec link
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 10:35:11 +0000 (16:05 +0530)]
haskell style guide link and spec link

11 years agoprint peer ip and port numbers
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 10:27:59 +0000 (15:57 +0530)]
print peer ip and port numbers

11 years agoupdate README with a note on tests
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 07:02:00 +0000 (12:32 +0530)]
update README with a note on tests

11 years agoupdate readme with goals and todos
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 05:28:15 +0000 (10:58 +0530)]
update readme with goals and todos

11 years agomore refactoring
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 05:27:52 +0000 (10:57 +0530)]
more refactoring

11 years agoadd some test torrent files
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 04:54:13 +0000 (10:24 +0530)]
add some test torrent files

11 years agorefactoring
Ramakrishnan Muthukrishnan [Mon, 16 Feb 2015 04:43:22 +0000 (10:13 +0530)]
refactoring

11 years agotalk to tracker and get the peer dict
Ramakrishnan Muthukrishnan [Sun, 15 Feb 2015 23:21:43 +0000 (04:51 +0530)]
talk to tracker and get the peer dict

11 years agoconvert to base16 (hex) before doing urlencode
Ramakrishnan Muthukrishnan [Sun, 15 Feb 2015 23:20:51 +0000 (04:50 +0530)]
convert to base16 (hex) before doing urlencode

11 years agoWIP: tracker protocol
Ramakrishnan Muthukrishnan [Sun, 15 Feb 2015 16:19:18 +0000 (21:49 +0530)]
WIP: tracker protocol

11 years agorefactor urlEncode
Ramakrishnan Muthukrishnan [Sun, 15 Feb 2015 10:17:32 +0000 (15:47 +0530)]
refactor urlEncode

11 years agourlencoding: ByteString -> String
Ramakrishnan Muthukrishnan [Sun, 15 Feb 2015 08:13:02 +0000 (13:43 +0530)]
urlencoding: ByteString -> String

11 years agofirst attempt (buggy) at urlencode
Ramakrishnan Muthukrishnan [Sun, 15 Feb 2015 07:34:55 +0000 (13:04 +0530)]
first attempt (buggy) at urlencode

11 years agominor formatting
Ramakrishnan Muthukrishnan [Thu, 12 Feb 2015 14:43:38 +0000 (20:13 +0530)]
minor formatting

11 years agoinfo hash calculation
Ramakrishnan Muthukrishnan [Thu, 12 Feb 2015 14:34:05 +0000 (20:04 +0530)]
info hash calculation

11 years agoencode with tests
Ramakrishnan Muthukrishnan [Thu, 12 Feb 2015 12:12:21 +0000 (17:42 +0530)]
encode with tests

11 years agoWIP: impement benc encoding, needed for infohash computation
Ramakrishnan Muthukrishnan [Thu, 12 Feb 2015 06:34:55 +0000 (12:04 +0530)]
WIP: impement benc encoding, needed for infohash computation

11 years agoWIP: Johan Tibbel's haskell style guide compliance.
Ramakrishnan Muthukrishnan [Wed, 11 Feb 2015 15:44:26 +0000 (21:14 +0530)]
WIP: Johan Tibbel's haskell style guide compliance.

https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md

11 years agoWIP: tracker interactions
Ramakrishnan Muthukrishnan [Tue, 10 Feb 2015 06:36:24 +0000 (12:06 +0530)]
WIP: tracker interactions

11 years agoHTTP client library dependency
Ramakrishnan Muthukrishnan [Tue, 10 Feb 2015 06:23:51 +0000 (11:53 +0530)]
HTTP client library dependency

11 years agoparse and print Metainfo
Ramakrishnan Muthukrishnan [Thu, 5 Feb 2015 09:21:44 +0000 (14:51 +0530)]
parse and print Metainfo

11 years agoWIP: Main
Ramakrishnan Muthukrishnan [Thu, 5 Feb 2015 07:28:44 +0000 (12:58 +0530)]
WIP: Main

11 years agotypos and correct module namespacing
Ramakrishnan Muthukrishnan [Thu, 5 Feb 2015 01:09:12 +0000 (06:39 +0530)]
typos and correct module namespacing

11 years agoWIP: mkMetaInfo
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 16:23:26 +0000 (21:53 +0530)]
WIP: mkMetaInfo

11 years agoWIP: info record
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 15:55:06 +0000 (21:25 +0530)]
WIP: info record

11 years agoWIP: metainfo record
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 15:40:51 +0000 (21:10 +0530)]
WIP: metainfo record

11 years agoWIP: create MetaInfo structure from torrentfile
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 15:31:20 +0000 (21:01 +0530)]
WIP: create MetaInfo structure from torrentfile

11 years agodict tests
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 13:06:47 +0000 (18:36 +0530)]
dict tests

11 years agolists: more tests
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 11:56:12 +0000 (17:26 +0530)]
lists: more tests

11 years agoAdd Strings, instance of the Show typeclass.
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 11:30:23 +0000 (17:00 +0530)]
Add Strings, instance of the Show typeclass.

11 years agorearrange and refactor code for readability and comprehension.
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 11:05:24 +0000 (16:35 +0530)]
rearrange and refactor code for readability and comprehension.

11 years agomuch better handling of bencode integers
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 09:32:16 +0000 (15:02 +0530)]
much better handling of bencode integers

11 years agoadd dictionary definition of deluge
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 07:48:57 +0000 (13:18 +0530)]
add dictionary definition of deluge

11 years agoadd a README
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 07:47:23 +0000 (13:17 +0530)]
add a README

11 years agocorrectly handle negative/zero integers
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 04:25:13 +0000 (09:55 +0530)]
correctly handle negative/zero integers

11 years agoinitial parser for integers
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 03:51:22 +0000 (09:21 +0530)]
initial parser for integers

11 years agoWIP: just experimenting
Ramakrishnan Muthukrishnan [Wed, 4 Feb 2015 01:47:32 +0000 (07:17 +0530)]
WIP: just experimenting

11 years agoparser for strings
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 23:56:12 +0000 (05:26 +0530)]
parser for strings

11 years agoadd build-dependency for doctest
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 23:41:09 +0000 (05:11 +0530)]
add build-dependency for doctest

11 years agoMain program
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 23:26:27 +0000 (04:56 +0530)]
Main program

11 years agomore ghc options, parsec instead of attoparsec
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 09:49:49 +0000 (15:19 +0530)]
more ghc options, parsec instead of attoparsec

11 years agoadd dependencies
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 09:23:35 +0000 (14:53 +0530)]
add dependencies

11 years agoadd gitignore file
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 06:02:19 +0000 (11:32 +0530)]
add gitignore file

11 years agocabal init
Ramakrishnan Muthukrishnan [Tue, 3 Feb 2015 05:59:29 +0000 (11:29 +0530)]
cabal init