bde443774d
Create README.md
Ben Davis
2017-11-05 16:32:15 +08:00
442504c36f
Deleted orphaned file
Ben Davis
2017-11-05 16:16:26 +08:00
55616d4562
Fixed file size bug
Ben Davis
2017-11-05 15:56:10 +08:00
49a3c7d749
Ensure the bitfield size is correct
Ben Davis
2017-11-05 15:51:42 +08:00
939ea1a479
Removed XCTAssertEqualData macro because XCTAssertEqual now works with data slices
Ben Davis
2017-11-04 18:24:50 +08:00
6c868a9692
Fixed false assumption that all data instances are 0-indexed
Ben Davis
2017-11-04 18:11:23 +08:00
dffbaa6cf3
Allocates file space on init, uses more sensible progress file location
Ben Davis
2017-11-03 18:00:12 +08:00
c22417f1e2
Fixed location of file
Ben Davis
2017-11-03 17:31:03 +08:00
74fd74cd43
Upload performance improvement
Ben Davis
2017-11-03 17:23:38 +08:00
6cfaf71fe7
Corrected sample data in uploading tests
Ben Davis
2017-11-03 16:36:54 +08:00
5179b25325
Minor test cleanup + fix
Ben Davis
2017-11-03 16:09:07 +08:00
fe56dbf8d1
Uploading
Ben Davis
2017-08-29 18:43:53 +01:00
c58defc9e8
Torrent upload piece request
Ben Davis
2017-08-29 12:55:37 +01:00
91c8e44d48
Randomized pieces to download
Ben Davis
2017-08-29 12:34:02 +01:00
dba46bf8a7
Lots of improvements to get a useable performance
Ben Davis
2017-08-29 11:29:55 +01:00
7e3ce5c48d
Added some speed trackers
Ben Davis
2017-08-13 19:49:21 +01:00
3ba233685f
Wrote tests for TorrentClient
Ben Davis
2017-08-13 18:14:11 +01:00
ea955b1386
Started a view controller
Ben Davis
2017-08-13 16:33:24 +01:00
54503e0936
Added tests for TorrentTrackerManager
Ben Davis
2017-08-13 16:32:43 +01:00
9998ed267b
TorrentTrackerManager + linked up in TorrentClient + fixes - can download torrent
Ben Davis
2017-08-13 15:16:56 +01:00
c11dd3bc37
Torrent Progress Manager
Ben Davis
2017-08-12 21:33:01 +01:00
756a30a30c
Torrent peer manager
Ben Davis
2017-08-12 20:46:32 +01:00
acd331c390
Work on TorrentProgress and FileManager classes
Ben Davis
2017-07-23 23:35:50 +01:00
8e168fec9a
Bug fix
Ben Davis
2017-07-16 22:09:45 +01:00
913518a420
Started implementing Torrent Peer (download)
Ben Davis
2017-07-16 22:05:43 +01:00
414266804b
Moved communicator files into folder
Ben Davis
2017-07-09 21:45:52 +01:00
9b558fe49c
Peer communicator constantly reads for new data on the socket
Ben Davis
2017-07-09 21:43:33 +01:00
5e61b68199
Added completion closures to all tcp writes
Ben Davis
2017-07-09 21:35:07 +01:00
52278376e5
Torrent communicator parses received messages
Ben Davis
2017-07-09 21:04:36 +01:00
eea97fc27d
Created TorrentPeerCommunicator class and implemented all basic send methods for the Peer Wire Protocol
Ben Davis
2017-07-08 17:41:02 +02:00
92119b984e
Created wrapper around TCPConnection
Ben Davis
2017-07-07 11:45:44 +02:00
6fda0b203e
Removed dependancy of metaInfo from http tracker
Ben Davis
2017-07-06 23:35:53 +02:00
c6280c6db9
Torrent UDP Tracker
Ben Davis
2017-07-06 18:33:07 +02:00
14a1c5536b
Fixed mistakes in TorrentMetaInfo
Ben Davis
2017-07-06 18:32:00 +02:00
b677eae167
Implemented a UDPConnection class as a wrapper around a UDP implementation
Ben Davis
2017-07-04 20:34:49 +02:00
90ce0ebf64
Added a sockets framework
Ben Davis
2017-06-28 23:25:56 +01:00
e7d3e0af90
Parsing tracker response
Ben Davis
2017-06-28 22:55:06 +01:00
42174d1418
Started announce to tracker
Ben Davis
2017-06-28 00:32:39 +01:00
d02c5757ab
Added pods to gitignore
Ben Davis
2017-06-28 00:31:57 +01:00
9c4527f3ae
Formatting only
Ben Davis
2017-06-25 23:35:57 +01:00
342637ed23
Updated BEncodeSwift framework
Ben Davis
2017-06-25 23:27:10 +01:00
5c02a0ba26
Updated to swift 4
Ben Davis
2017-06-25 21:54:33 +01:00
9ad80d526d
Crude update to swift 3 complete
Ben Davis
2017-06-25 21:45:23 +01:00
0e86c2c9f2
Finished implementing TorrentMetaInfo
Ben Davis
2016-03-27 21:01:23 +01:00
86fb9984a0
minor refactor
Ben Davis
2016-03-27 15:49:22 +01:00
c3a7548468
Set branch and commit of submodule BEncode
Ben Davis
2016-03-27 15:37:44 +01:00
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
Ben Davis
2016-03-27 15:34:27 +01:00
6c869bb8a1
Removed BEncode classes (moved to another git repo)
Ben Davis
2016-03-27 15:29:37 +01:00
d66b483d12
Clean up and extra safety
Ben Davis
2016-03-13 20:06:22 +00:00
0803d04ff7
Decode list + dictionary. Refactored encode to take generic types and recursively encode lists+dictionaries
Ben Davis
2016-03-13 11:35:43 +00:00
167579afaa
Can advance byte index in byte stream
Ben Davis
2016-03-13 11:34:53 +00:00
8faed1ba29
Added decode string
Ben Davis
2016-03-12 18:49:20 +00:00
148b68fb37
Split Bytes/Ascii tests into 2 files
Ben Davis
2016-03-12 18:29:44 +00:00
d9a583050c
Documented encode functions
Ben Davis
2016-03-12 18:24:26 +00:00
edd5762b9a
Can encode string keyed dictionaries
Ben Davis
2016-03-12 18:24:04 +00:00
a708dc30c5
Split into multiple files
Ben Davis
2016-03-12 18:01:25 +00:00
633e47adcd
Decode byte string
Ben Davis
2016-03-12 17:53:13 +00:00
d1123cfeb3
re-implemented decode integers
Ben Davis
2016-03-12 17:04:28 +00:00
a081bca3b6
Created append ascii digit extension of Int
Ben Davis
2016-03-12 17:04:09 +00:00
33f95e0d8b
Created ByteStream class
Ben Davis
2016-03-12 17:03:41 +00:00
5478025a54
commented out old implementation
Ben Davis
2016-03-12 15:56:00 +00:00
ea9aaa7a88
some Encode decoding
Ben Davis
2016-03-12 15:51:53 +00:00
83a40a632c
Wrote ascii decoder for integers
Ben Davis
2016-01-09 18:41:19 +00:00
2b636d289e
Removed pods
Ben Davis
2016-01-09 12:30:24 +00:00
86ee3c3451
Started writing the encoder for BEncode-ing swift objects
Ben Davis
2016-01-03 17:39:33 +00:00
3458a845f6
Remove user data from xcuserdata
Ben Davis
2016-01-02 16:36:23 +00:00
b9fb44871b
git ignore
Ben Davis
2016-01-02 16:34:09 +00:00
f5b021b008
Initial Commit
Ben Davis
2016-01-02 16:33:10 +00:00