69 Commits

Author SHA1 Message Date
Ben Davis 9169daf7d6 Update README.md 2017-11-10 22:08:28 +08:00
Ben Davis bde443774d Create README.md 2017-11-05 16:32:15 +08:00
Ben Davis 442504c36f Deleted orphaned file 2017-11-05 16:16:26 +08:00
Ben Davis 55616d4562 Fixed file size bug 2017-11-05 15:56:10 +08:00
Ben Davis 49a3c7d749 Ensure the bitfield size is correct 2017-11-05 15:51:42 +08:00
Ben Davis 939ea1a479 Removed XCTAssertEqualData macro because XCTAssertEqual now works with data slices 2017-11-04 18:24:50 +08:00
Ben Davis 6c868a9692 Fixed false assumption that all data instances are 0-indexed 2017-11-04 18:11:23 +08:00
Ben Davis dffbaa6cf3 Allocates file space on init, uses more sensible progress file location 2017-11-03 18:00:12 +08:00
Ben Davis c22417f1e2 Fixed location of file 2017-11-03 17:31:03 +08:00
Ben Davis 74fd74cd43 Upload performance improvement 2017-11-03 17:23:38 +08:00
Ben Davis 6cfaf71fe7 Corrected sample data in uploading tests 2017-11-03 16:36:54 +08:00
Ben Davis 5179b25325 Minor test cleanup + fix 2017-11-03 16:09:07 +08:00
Ben Davis fe56dbf8d1 Uploading 2017-08-29 18:43:53 +01:00
Ben Davis c58defc9e8 Torrent upload piece request 2017-08-29 12:55:37 +01:00
Ben Davis 91c8e44d48 Randomized pieces to download 2017-08-29 12:34:02 +01:00
Ben Davis dba46bf8a7 Lots of improvements to get a useable performance 2017-08-29 11:29:55 +01:00
Ben Davis 7e3ce5c48d Added some speed trackers 2017-08-13 19:49:21 +01:00
Ben Davis 3ba233685f Wrote tests for TorrentClient 2017-08-13 18:14:11 +01:00
Ben Davis ea955b1386 Started a view controller 2017-08-13 16:33:24 +01:00
Ben Davis 54503e0936 Added tests for TorrentTrackerManager 2017-08-13 16:32:43 +01:00
Ben Davis 9998ed267b TorrentTrackerManager + linked up in TorrentClient + fixes - can download torrent 2017-08-13 15:16:56 +01:00
Ben Davis c11dd3bc37 Torrent Progress Manager 2017-08-12 21:33:01 +01:00
Ben Davis 756a30a30c Torrent peer manager 2017-08-12 20:46:32 +01:00
Ben Davis acd331c390 Work on TorrentProgress and FileManager classes 2017-07-23 23:35:50 +01:00
Ben Davis 8e168fec9a Bug fix 2017-07-16 22:09:45 +01:00
Ben Davis 913518a420 Started implementing Torrent Peer (download) 2017-07-16 22:05:43 +01:00
Ben Davis 414266804b Moved communicator files into folder 2017-07-09 21:45:52 +01:00
Ben Davis 9b558fe49c Peer communicator constantly reads for new data on the socket 2017-07-09 21:43:33 +01:00
Ben Davis 5e61b68199 Added completion closures to all tcp writes 2017-07-09 21:35:07 +01:00
Ben Davis 52278376e5 Torrent communicator parses received messages 2017-07-09 21:04:36 +01:00
Ben Davis eea97fc27d Created TorrentPeerCommunicator class and implemented all basic send methods for the Peer Wire Protocol 2017-07-08 17:41:02 +02:00
Ben Davis 92119b984e Created wrapper around TCPConnection 2017-07-07 11:45:44 +02:00
Ben Davis 6fda0b203e Removed dependancy of metaInfo from http tracker 2017-07-06 23:35:53 +02:00
Ben Davis c6280c6db9 Torrent UDP Tracker 2017-07-06 18:33:07 +02:00
Ben Davis 14a1c5536b Fixed mistakes in TorrentMetaInfo 2017-07-06 18:32:00 +02:00
Ben Davis b677eae167 Implemented a UDPConnection class as a wrapper around a UDP implementation 2017-07-04 20:34:49 +02:00
Ben Davis 90ce0ebf64 Added a sockets framework 2017-06-28 23:25:56 +01:00
Ben Davis e7d3e0af90 Parsing tracker response 2017-06-28 22:55:06 +01:00
Ben Davis 42174d1418 Started announce to tracker 2017-06-28 00:32:39 +01:00
Ben Davis d02c5757ab Added pods to gitignore 2017-06-28 00:31:57 +01:00
Ben Davis 9c4527f3ae Formatting only 2017-06-25 23:35:57 +01:00
Ben Davis 342637ed23 Updated BEncodeSwift framework 2017-06-25 23:27:10 +01:00
Ben Davis 5c02a0ba26 Updated to swift 4 2017-06-25 21:54:33 +01:00
Ben Davis 9ad80d526d Crude update to swift 3 complete 2017-06-25 21:45:23 +01:00
Ben Davis 0e86c2c9f2 Finished implementing TorrentMetaInfo 2016-03-27 21:01:23 +01:00
Ben Davis 86fb9984a0 minor refactor 2016-03-27 15:49:22 +01:00
Ben Davis c3a7548468 Set branch and commit of submodule BEncode 2016-03-27 15:37:44 +01:00
Ben Davis 3d1fb38a1b - Added BEncode project as a submodule
- Added Crypto framework wrapper project so allow use in swift without Objective-C code
- Created TorrentMetaInfo class and implemented parsing of info dictionary
2016-03-27 15:34:27 +01:00
Ben Davis 6c869bb8a1 Removed BEncode classes (moved to another git repo) 2016-03-27 15:29:37 +01:00
Ben Davis d66b483d12 Clean up and extra safety 2016-03-13 20:06:22 +00:00