projects
/
functorrent.git
/ shortlog
commit
grep
author
committer
pickaxe
?
search:
re
summary
| shortlog |
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
functorrent.git
2015-09-18
Ramakrishnan...
handshake for server and client
commit
|
commitdiff
|
tree
|
snapshot
2015-09-17
Ramakrishnan...
refactoring: move verifyHash to Utils module
commit
|
commitdiff
|
tree
|
snapshot
2015-09-17
Ramakrishnan...
refactor the piecemap initialization
commit
|
commitdiff
|
tree
|
snapshot
2015-09-16
Ramakrishnan...
README: misc indents
commit
|
commitdiff
|
tree
|
snapshot
2015-09-16
Ramakrishnan...
Fileops merged into Utils module
commit
|
commitdiff
|
tree
|
snapshot
2015-09-15
Ramakrishnan...
Resume download from where it was left off last time
commit
|
commitdiff
|
tree
|
snapshot
2015-09-15
Ramakrishnan...
refactor mkPieceMap -> initPieceMap
commit
|
commitdiff
|
tree
|
snapshot
2015-09-14
Ramakrishnan...
Use the server port number in the tracker request
commit
|
commitdiff
|
tree
|
snapshot
2015-09-13
Ramakrishnan...
a crude server implementation
commit
|
commitdiff
|
tree
|
snapshot
2015-09-13
Ramakrishnan...
Main: generate random peerid
commit
|
commitdiff
|
tree
|
snapshot
2015-09-13
Ramakrishnan...
remove the use of ReaderT
commit
|
commitdiff
|
tree
|
snapshot
2015-09-13
Ramakrishnan...
fix hlint suggestions
commit
|
commitdiff
|
tree
|
snapshot
2015-09-13
Ramakrishnan...
tasty and hunit dependencies are not lib dependencies
commit
|
commitdiff
|
tree
|
snapshot
2015-09-13
Ramakrishnan...
wip: Use reader to pass around metainfo
commit
|
commitdiff
|
tree
|
snapshot
2015-09-12
Ramakrishnan...
preparations to introduce Metainfo as an environment
commit
|
commitdiff
|
tree
|
snapshot
2015-09-11
Ramakrishnan...
functorrent.cabal: avoid double compilation, one for...
commit
|
commitdiff
|
tree
|
snapshot
2015-09-09
Ramakrishnan...
README: indent usage examples
commit
|
commitdiff
|
tree
|
snapshot
2015-09-09
Ramakrishnan...
Peer: cosmetic indentation fixes
commit
|
commitdiff
|
tree
|
snapshot
2015-09-09
Ramakrishnan...
remove a few reduntant stuff
commit
|
commitdiff
|
tree
|
snapshot
2015-09-05
Ramakrishnan...
Peer: export bytesDownloaded function
commit
|
commitdiff
|
tree
|
snapshot
2015-09-05
Ramakrishnan...
Peer: function to calculate the total bytes downloaded...
commit
|
commitdiff
|
tree
|
snapshot
2015-09-04
Ramakrishnan...
Peer: refactor pickPiece function
commit
|
commitdiff
|
tree
|
snapshot
2015-09-03
Ramakrishnan...
bug: initial state should be meInterested = false,...
commit
|
commitdiff
|
tree
|
snapshot
2015-09-03
Ramakrishnan...
peer: more refactoring. Supports all messages as before
commit
|
commitdiff
|
tree
|
snapshot
2015-09-03
Ramakrishnan...
Peer: more refactoring
commit
|
commitdiff
|
tree
|
snapshot
2015-09-03
Ramakrishnan...
Peer: Use Monad Transformers to simplify code
commit
|
commitdiff
|
tree
|
snapshot
2015-09-03
Ramakrishnan...
add mtl, organize packages alphabetically
commit
|
commitdiff
|
tree
|
snapshot
2015-08-30
Ramakrishnan...
remove redundant module imports for ghc 7.10
commit
|
commitdiff
|
tree
|
snapshot
2015-08-30
Ramakrishnan...
bump up the version of stackage/lts to 3.2 and use...
commit
|
commitdiff
|
tree
|
snapshot
2015-08-17
Ramakrishnan...
bit torrent -> BitTorrent
commit
|
commitdiff
|
tree
|
snapshot
2015-08-15
Ramakrishnan...
Not using travis-ci anymore
commit
|
commitdiff
|
tree
|
snapshot
2015-08-03
Ramakrishnan...
misc formatting
commit
|
commitdiff
|
tree
|
snapshot
2015-08-03
Ramakrishnan...
Now that functorrent is becoming useful, README should...
commit
|
commitdiff
|
tree
|
snapshot
2015-08-02
Ramakrishnan...
write to the file name specified in the info structure
commit
|
commitdiff
|
tree
|
snapshot
2015-08-02
Ramakrishnan...
refactor Peer module
commit
|
commitdiff
|
tree
|
snapshot
2015-07-27
Ramakrishnan...
refactor msgloop a bit
commit
|
commitdiff
|
tree
|
snapshot
2015-07-27
Ramakrishnan...
peer is needed only for debug print
commit
|
commitdiff
|
tree
|
snapshot
2015-07-27
Ramakrishnan...
refactor handshake msg
commit
|
commitdiff
|
tree
|
snapshot
2015-07-26
Ramakrishnan...
refactor file operations into Fileops module
commit
|
commitdiff
|
tree
|
snapshot
2015-07-25
Ramakrishnan...
bugfix: calculate proper file offset
commit
|
commitdiff
|
tree
|
snapshot
2015-07-25
Ramakrishnan...
hlint caught some ugly code
commit
|
commitdiff
|
tree
|
snapshot
2015-07-25
Ramakrishnan...
add a warning in the README
commit
|
commitdiff
|
tree
|
snapshot
2015-07-25
Ramakrishnan...
README: update the current status. ☺
commit
|
commitdiff
|
tree
|
snapshot
2015-07-25
Ramakrishnan...
bugfix: use the previous piece length times number...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
turn on hash verification of every downloaded piece
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
bugfix: Hash string needs to be split into 20 bytes
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
fix file download to create a dummy and write into...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
verify SHA1 hash of each piece after assembling the...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
writeFileAtOffset: name says it all
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
return a list of bytestring blocks corresponding to...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
Peer: debug prints
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
get rid of (some of) the compiler warnings
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
split download of a piece into chunks of 16384 bytes
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
fix the comments
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
get the piece length and store it as piecestate
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
send request msg and get the piecemsg back
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
pickPiece: a simple algorithm to download the pieces...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
bug: if I am uninterested and he is choking, send inter...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
update piece availability list based on the bitmap
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
msgLoop: more refactoring, better debug prints
commit
|
commitdiff
|
tree
|
snapshot
2015-07-24
Ramakrishnan...
more refactoring around msgLoop
commit
|
commitdiff
|
tree
|
snapshot
2015-07-23
Ramakrishnan...
refactor PeerState: Add connection handle to be part...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-21
Ramakrishnan...
sendMsg: equiv of getMsg but on the sending side
commit
|
commitdiff
|
tree
|
snapshot
2015-07-20
Ramakrishnan...
thread peerstate along msgloop
commit
|
commitdiff
|
tree
|
snapshot
2015-07-19
Ramakrishnan...
gitignore .stack-work directory
commit
|
commitdiff
|
tree
|
snapshot
2015-07-19
Ramakrishnan...
update REAME.
commit
|
commitdiff
|
tree
|
snapshot
2015-07-19
Ramakrishnan...
src/Main.hs: if no input file is given, read from stdin
commit
|
commitdiff
|
tree
|
snapshot
2015-07-19
Ramakrishnan...
keep hlint happy
commit
|
commitdiff
|
tree
|
snapshot
2015-07-19
Ramakrishnan...
helper function: havePiece
commit
|
commitdiff
|
tree
|
snapshot
2015-07-19
Ramakrishnan...
add piece hash into the pieceMap
commit
|
commitdiff
|
tree
|
snapshot
2015-07-17
Ramakrishnan...
new type synonym for a Piece Map
commit
|
commitdiff
|
tree
|
snapshot
2015-07-16
Ramakrishnan...
Main.hs: move peer handling into Peer module
commit
|
commitdiff
|
tree
|
snapshot
2015-07-12
Ramakrishnan...
move torrentToMetainfo into Metainfo module
commit
|
commitdiff
|
tree
|
snapshot
2015-07-12
Ramakrishnan...
Merge branch 'piece-manager'
commit
|
commitdiff
|
tree
|
snapshot
2015-07-12
Ramakrishnan...
refactoring to make Main simpler
commit
|
commitdiff
|
tree
|
snapshot
2015-07-12
Ramakrishnan...
Main: we are parsing arguments, not the input file...
commit
|
commitdiff
|
tree
|
snapshot
2015-07-03
Ramakrishnan...
functorrent.cabal: rename README to README.md
commit
|
commitdiff
|
tree
|
snapshot
2015-07-02
Ramakrishnan...
stack config file
commit
|
commitdiff
|
tree
|
snapshot
2015-05-29
Ramakrishnan...
misc formatting
commit
|
commitdiff
|
tree
|
snapshot
2015-05-29
Ramakrishnan...
new test data file: ubuntu 14.10 i386 release iso
commit
|
commitdiff
|
tree
|
snapshot
2015-05-17
Ramakrishnan...
create a dummy file on the disk for a given path
commit
|
commitdiff
|
tree
|
snapshot
2015-05-17
Ramakrishnan...
rewrite bitfieldToList
commit
|
commitdiff
|
tree
|
snapshot
2015-05-16
Ramakrishnan...
convert bitfield from a peer into piece list
commit
|
commitdiff
|
tree
|
snapshot
2015-05-16
Ramakrishnan...
README: add a link to the official spec
commit
|
commitdiff
|
tree
|
snapshot
2015-05-16
Ramakrishnan...
remove the debug prints
commit
|
commitdiff
|
tree
|
snapshot
2015-05-07
Ramakrishnan...
receive the full handshake msg from peer
commit
|
commitdiff
|
tree
|
snapshot
2015-05-07
Ramakrishnan...
cleanup unused imports/functions
commit
|
commitdiff
|
tree
|
snapshot
2015-05-06
Ramakrishnan...
more debugging prints
commit
|
commitdiff
|
tree
|
snapshot
2015-05-06
Ramakrishnan...
WIP: receive msgs from a connected peer and print them
commit
|
commitdiff
|
tree
|
snapshot
2015-05-06
Ramakrishnan...
add a simple message loop to print out received msgs
commit
|
commitdiff
|
tree
|
snapshot
2015-05-06
Ramakrishnan...
read bytes off the handle and parse a message
commit
|
commitdiff
|
tree
|
snapshot
2015-05-06
Ramakrishnan...
Merge pull request #31 from gitter-badger/gitter-badge
commit
|
commitdiff
|
tree
|
snapshot
2015-05-06
Ramakrishnan...
README: update on the current state
commit
|
commitdiff
|
tree
|
snapshot
2015-05-05
Ramakrishnan...
rename shadowing identifiers
commit
|
commitdiff
|
tree
|
snapshot
2015-05-05
Ramakrishnan...
WIP: deserialize peer messages
commit
|
commitdiff
|
tree
|
snapshot
2015-05-04
Ramakrishnan...
WIP: Peer protocol message marshalling
commit
|
commitdiff
|
tree
|
snapshot
2015-05-03
Ramakrishnan...
Remove the redundant withSocketsDo call wrapping simpleHTTP
commit
|
commitdiff
|
tree
|
snapshot
2015-05-01
Ramakrishnan...
remove hardcoded Peer
commit
|
commitdiff
|
tree
|
snapshot
2015-05-01
Ramakrishnan...
Peer constructor also takes the peerid argument now...
commit
|
commitdiff
|
tree
|
snapshot
2015-05-01
Ramakrishnan...
WIP: peer handshake
commit
|
commitdiff
|
tree
|
snapshot
next