diff options
Diffstat (limited to 'dht')
-rw-r--r-- | dht/ChangeLog | 116 | ||||
-rw-r--r-- | dht/dht-client.cabal | 35 |
2 files changed, 19 insertions, 132 deletions
diff --git a/dht/ChangeLog b/dht/ChangeLog index 60a1006c..59cdd824 100644 --- a/dht/ChangeLog +++ b/dht/ChangeLog | |||
@@ -1,115 +1,5 @@ | |||
1 | 2014-02-19 Sam Truzjan <pxqr.sta@gmail.com> | 1 | # Revision history for dht-client |
2 | 2 | ||
3 | krpc 0.6.0.0 | 3 | ## 0.0.0.4 -- YYYY-mm-dd |
4 | 4 | ||
5 | API changes: | 5 | * First version. Released on an unsuspecting world. |
6 | |||
7 | * Added isActive: this predicate can be used to implement | ||
8 | MonadActive instance and useful for resource | ||
9 | initialization/finalization sanity check. | ||
10 | |||
11 | 2014-01-08 Sam Truzjan <pxqr.sta@gmail.com> | ||
12 | |||
13 | krpc 0.6.0.0: Logging + exceptions. | ||
14 | |||
15 | API changes: | ||
16 | |||
17 | * MonadLogger is superclass of MonadKRPC; | ||
18 | * KError hidden from Network.KRPC; | ||
19 | * HandlerFailure added; | ||
20 | * QueryFailure and getQueryCount added. | ||
21 | |||
22 | 2013-12-25 Sam Truzjan <pxqr.sta@gmail.com> | ||
23 | |||
24 | krpc 0.5.0.0: Major API changes. | ||
25 | |||
26 | * Added transaction handling; | ||
27 | * Use the same socket for server and client; | ||
28 | * New query function will infer query method from request/response | ||
29 | datatypes. | ||
30 | * Added MonadKRPC and KRPC classes. | ||
31 | |||
32 | 2013-11-26 Sam Truzjan <pxqr.sta@gmail.com> | ||
33 | |||
34 | krpc | ||
35 | |||
36 | * 0.4.1.1: Fixed build failure on GHC == 7.4.* | ||
37 | |||
38 | 2013-11-25 Sam Truzjan <pxqr.sta@gmail.com> | ||
39 | |||
40 | bittorrent | ||
41 | |||
42 | * Version 0.0.0.3 | ||
43 | * use Pretty class from pretty-class package; | ||
44 | * Data.Torrent.Client.hs: | ||
45 | * /tests/: fixed; | ||
46 | |||
47 | 2013-11-21 Sam Truzjan <pxqr.sta@gmail.com> | ||
48 | |||
49 | bittorrent | ||
50 | |||
51 | Version 0.0.0.2 | ||
52 | |||
53 | * InfoHash.hs: added rendering to Text. | ||
54 | * Torrent.hs: added pretty printing and content type. | ||
55 | * Magnet.hs: added constructors from Torrent datatype. | ||
56 | * New: added Data.Torrent.Client, Data.Torrent.Progress, | ||
57 | Network.Bittorrent.Core.PeerId, Network.BitTorrent.PeerAddr | ||
58 | modules. | ||
59 | |||
60 | 2013-11-01 Sam Truzjan <pxqr.sta@gmail.com> | ||
61 | |||
62 | bittorrent | ||
63 | |||
64 | Initial version: 0.0.0.1 | ||
65 | |||
66 | 2013-10-17 Sam Truzjan <pxqr.sta@gmail.com> | ||
67 | |||
68 | krpc | ||
69 | |||
70 | * 0.4.1.0: Use bencoding-0.4.* | ||
71 | |||
72 | 2013-10-03 Sam Truzjan <pxqr.sta@gmail.com> | ||
73 | |||
74 | krpc | ||
75 | |||
76 | * 0.4.0.1: Minor documentation fixes. | ||
77 | |||
78 | 2013-10-03 Sam Truzjan <pxqr.sta@gmail.com> | ||
79 | |||
80 | krpc | ||
81 | |||
82 | * 0.4.0.0: IPv6 support. | ||
83 | |||
84 | 2013-09-28 Sam Truzjan <pxqr.sta@gmail.com> | ||
85 | |||
86 | krpc | ||
87 | |||
88 | * 0.3.0.0: Use bencoding-0.3.* | ||
89 | * Rename Remote.* to Network.* modules. | ||
90 | |||
91 | 2013-09-28 Sam Truzjan <pxqr.sta@gmail.com> | ||
92 | |||
93 | krpc | ||
94 | |||
95 | * 0.2.2.0: Use bencoding-0.2.2.* | ||
96 | |||
97 | 2013-08-27 Sam Truzjan <pxqr.sta@gmail.com> | ||
98 | |||
99 | krpc | ||
100 | |||
101 | * 0.2.0.0: Async API have been removed, use /async/ package | ||
102 | instead. | ||
103 | * Expose caller address in handlers. | ||
104 | |||
105 | 2013-07-09 Sam Truzjan <pxqr.sta@gmail.com> | ||
106 | |||
107 | krpc | ||
108 | |||
109 | * 0.1.1.0: Allow passing raw argument\/result dictionaries. | ||
110 | |||
111 | 2013-07-09 Sam Truzjan <pxqr.sta@gmail.com> | ||
112 | |||
113 | krpc | ||
114 | |||
115 | * 0.1.0.0: Initial version. | ||
diff --git a/dht/dht-client.cabal b/dht/dht-client.cabal index 65900d65..3a513280 100644 --- a/dht/dht-client.cabal +++ b/dht/dht-client.cabal | |||
@@ -8,30 +8,25 @@ copyright: (c) 2017 Joe Crayne, (c) 2017 James Crayne, (c) 2013 Sam | |||
8 | category: Network | 8 | category: Network |
9 | build-type: Custom | 9 | build-type: Custom |
10 | cabal-version: >= 1.10 | 10 | cabal-version: >= 1.10 |
11 | tested-with: GHC == 8.0.2, GHC == 7.10.3 | 11 | synopsis: BitTorrent and Tox DHT. |
12 | homepage: https://github.com/cobit/bittorrent | ||
13 | bug-reports: https://github.com/cobit/bittorrent/issues | ||
14 | synopsis: BitTorrent DHT protocol implementation. | ||
15 | description: | 12 | description: |
16 | 13 | ||
17 | A library for making Haskell bittorrent applications easy. | 14 | This package provides, in the form of a unix daemon, both the tox and bittorrent |
18 | . | 15 | Distributed Hash Tables. Both of these DHT's are implementations of the Kademlia |
19 | For more information see: | 16 | algorithm. Although, there is also a library in this package, it is really just a |
20 | <https://github.com/cobit/bittorrent/blob/master/README.md> | 17 | shared interface between the two executables this package provides: dhtd and dht. |
21 | 18 | ||
22 | extra-source-files: ChangeLog | 19 | If you want to make a peer to peer application that uses this code, the proper way |
23 | cbits/*.h | 20 | to do it is to start the dhtd server, and use the dht program as a means to communicate |
21 | with it over a unix domain socket. | ||
24 | 22 | ||
23 | Users who do wish to use the modules exported by the library should be aware that the | ||
24 | API of these modules may change without notice and may vary depending on the selection | ||
25 | of cabal flags. | ||
25 | 26 | ||
26 | source-repository head | 27 | extra-source-files: ChangeLog |
27 | type: git | 28 | cbits/*.h |
28 | location: git://github.com/cobit/bittorrent.git | ||
29 | 29 | ||
30 | source-repository this | ||
31 | type: git | ||
32 | location: git://github.com/cobit/bittorrent.git | ||
33 | branch: master | ||
34 | tag: v0.0.0.4 | ||
35 | 30 | ||
36 | flag network-uri | 31 | flag network-uri |
37 | description: Use network-uri package. | 32 | description: Use network-uri package. |
@@ -159,7 +154,8 @@ library | |||
159 | 154 | ||
160 | build-depends: base | 155 | build-depends: base |
161 | , containers | 156 | , containers |
162 | , dependent-sum | 157 | -- TODO: Use GShow,Has 'Show, when dependent-sum>0.6 |
158 | , dependent-sum < 0.6 | ||
163 | , array | 159 | , array |
164 | , hashable | 160 | , hashable |
165 | , iproute | 161 | , iproute |
@@ -168,6 +164,7 @@ library | |||
168 | , stm-chans | 164 | , stm-chans |
169 | , concurrent-supply | 165 | , concurrent-supply |
170 | , base16-bytestring | 166 | , base16-bytestring |
167 | -- TODO: FIXME: Using non-hackage base32-bytestring from eth-r's github | ||
171 | , base32-bytestring | 168 | , base32-bytestring |
172 | , base64-bytestring | 169 | , base64-bytestring |
173 | , psqueues | 170 | , psqueues |