source: apps/i2psnark/changelog-snark.txt @ 02c1417

Last change on this file since 02c1417 was 02c1417, checked in by zzz <zzz@…>, 5 years ago

update ancient snark docs

  • Property mode set to 100644
File size: 15.4 KB
Line 
12003-06-27 14:24  Mark Wielaard  <mark@klomp.org>
2
3        * README: Update version number and explain new features.
4
52003-06-27 13:51  Mark Wielaard  <mark@klomp.org>
6
7        * Makefile, org/klomp/snark/GnomeInfoWindow.java,
8        org/klomp/snark/GnomePeerList.java,
9        org/klomp/snark/PeerCoordinator.java,
10        org/klomp/snark/SnarkGnome.java: Add GnomeInfoWindow.
11
122003-06-27 00:37  Mark Wielaard  <mark@klomp.org>
13
14        * org/klomp/snark/Snark.java: Implement 'info' and 'list' commands.
15
162003-06-27 00:05  Mark Wielaard  <mark@klomp.org>
17
18        * Makefile, org/klomp/snark/GnomePeerList.java,
19        org/klomp/snark/SnarkGnome.java: Add GnomePeerList to show state of
20        connected peers.
21
222003-06-27 00:04  Mark Wielaard  <mark@klomp.org>
23
24        * org/klomp/snark/: Peer.java, PeerID.java: Make Comparable.
25
262003-06-23 23:32  Mark Wielaard  <mark@klomp.org>
27
28        * org/klomp/snark/PeerMonitorTask.java: Correctly update
29        lastDownloaded and lastUploaded.
30
312003-06-23 23:20  Mark Wielaard  <mark@klomp.org>
32
33        * org/klomp/snark/Snark.java: When checking storage use the
34        MetaInfo from the storage.
35
362003-06-23 21:47  Mark Wielaard  <mark@klomp.org>
37
38        * org/klomp/snark/Storage.java: Fill piece hashes, not info hashes.
39
402003-06-23 21:42  Mark Wielaard  <mark@klomp.org>
41
42        * org/klomp/snark/MetaInfo.java: New package private
43        getPieceHashes() method.
44
452003-06-22 19:49  Mark Wielaard  <mark@klomp.org>
46
47        * README, TODO, org/klomp/snark/Snark.java: Add new command line
48        switch --no-commands.  Don't read interactive commands or show
49        usage info.
50
512003-06-22 19:26  Mark Wielaard  <mark@klomp.org>
52
53        * Makefile, org/klomp/snark/PeerCheckerTask.java,
54        org/klomp/snark/PeerMonitorTask.java, org/klomp/snark/Snark.java:
55        Split peer statistic reporting from PeerCheckerTask into
56        PeerMonitorTask.  Use new task in Snark text ui.
57
582003-06-22 18:32  Mark Wielaard  <mark@klomp.org>
59
60        * org/klomp/snark/Snark.java: Only print peer id when debug level
61        is INFO or higher.
62
632003-06-22 18:00  Mark Wielaard  <mark@klomp.org>
64
65        * org/klomp/snark/ShutdownListener.java: Add new ShutdownListener
66        interface.
67
682003-06-22 17:18  Mark Wielaard  <mark@klomp.org>
69
70        * TODO: Text UI item to not read from stdin.
71
722003-06-22 17:18  Mark Wielaard  <mark@klomp.org>
73
74        * snark-gnome.sh: kaffe java-gnome support (but crashes hard at the
75        moment).
76
772003-06-22 14:04  Mark Wielaard  <mark@klomp.org>
78
79        * Makefile, org/klomp/snark/CoordinatorListener.java,
80        org/klomp/snark/PeerCoordinator.java,
81        org/klomp/snark/ProgressListener.java, org/klomp/snark/Snark.java,
82        org/klomp/snark/SnarkGnome.java,
83        org/klomp/snark/SnarkShutdown.java, org/klomp/snark/Storage.java,
84        org/klomp/snark/StorageListener.java: Split ProgressListener into
85        Storage, Coordinator and Shutdown listener.
86
872003-06-20 19:06  Mark Wielaard  <mark@klomp.org>
88
89        * org/klomp/snark/: PeerCoordinator.java, Snark.java,
90        SnarkGnome.java, Storage.java: Progress listeners for both Storage
91        and PeerCoordinator.
92
932003-06-20 14:50  Mark Wielaard  <mark@klomp.org>
94
95        * Makefile, org/klomp/snark/PeerCoordinator.java,
96        org/klomp/snark/ProgressListener.java,
97        org/klomp/snark/SnarkGnome.java: Add ProgressListener.
98
992003-06-20 13:22  Mark Wielaard  <mark@klomp.org>
100
101        * org/klomp/snark/SnarkGnome.java: Add Pieces collected field.
102
1032003-06-20 12:26  Mark Wielaard  <mark@klomp.org>
104
105        * org/klomp/snark/: PeerCoordinator.java, PeerListener.java,
106        PeerState.java: Add PeerListener.downloaded() which gets called on
107        chunk updates.  Keep PeerCoordinator.downloaded up to date using
108        this remove adjusting in gotPiece() except when we receive a bad
109        piece.
110
1112003-06-16 00:27  Mark Wielaard  <mark@klomp.org>
112
113        * Makefile, snark-gnome.sh, org/klomp/snark/Snark.java,
114        org/klomp/snark/SnarkGnome.java: Start of a Gnome GUI.
115
1162003-06-05 13:19  Mark Wielaard  <mark@klomp.org>
117
118        * org/klomp/snark/PeerCoordinator.java: Don't remove a BAD piece
119        from the wantedPieces list.  Revert to synchronizing on
120        wantedPieces for all relevant sections.
121
1222003-06-03 21:09  Mark Wielaard  <mark@klomp.org>
123
124        * org/klomp/snark/Snark.java: Only call readLine() when !quit.
125        Always print exception when fatal() is called.
126
1272003-06-01 23:12  Mark Wielaard  <mark@klomp.org>
128
129        * README: Set release version to 0.4.
130
1312003-06-01 22:59  Mark Wielaard  <mark@klomp.org>
132
133        * org/klomp/snark/PeerConnectionIn.java: Handle negative length
134        prefixes (terminates connection).
135
1362003-06-01 21:34  Mark Wielaard  <mark@klomp.org>
137
138        * org/klomp/snark/: Snark.java, SnarkShutdown.java: Implement
139        correct shutdown and read commands from stdin.
140
1412003-06-01 21:34  Mark Wielaard  <mark@klomp.org>
142
143        * org/klomp/snark/TrackerInfo.java: Check that interval and peers
144        list actually exist.
145
1462003-06-01 21:33  Mark Wielaard  <mark@klomp.org>
147
148        * org/klomp/snark/Storage.java: Implement close().
149
1502003-06-01 21:05  Mark Wielaard  <mark@klomp.org>
151
152        * org/klomp/snark/PeerState.java: Fix debug logging.
153
1542003-06-01 20:55  Mark Wielaard  <mark@klomp.org>
155
156        * org/klomp/snark/PeerCoordinator.java: Implement halt().
157
1582003-06-01 20:55  Mark Wielaard  <mark@klomp.org>
159
160        * org/klomp/snark/ConnectionAcceptor.java: Rename stop() to halt().
161
1622003-06-01 17:35  Mark Wielaard  <mark@klomp.org>
163
164        * org/klomp/snark/PeerState.java: Drop lock on this when calling
165        addRequest() from havePiece().
166
1672003-06-01 14:46  Mark Wielaard  <mark@klomp.org>
168
169        * README, org/klomp/snark/ConnectionAcceptor.java,
170        org/klomp/snark/HttpAcceptor.java, org/klomp/snark/Peer.java,
171        org/klomp/snark/PeerCheckerTask.java,
172        org/klomp/snark/PeerConnectionIn.java,
173        org/klomp/snark/PeerConnectionOut.java,
174        org/klomp/snark/PeerCoordinator.java,
175        org/klomp/snark/PeerState.java, org/klomp/snark/Snark.java,
176        org/klomp/snark/SnarkShutdown.java, org/klomp/snark/Storage.java,
177        org/klomp/snark/Tracker.java, org/klomp/snark/TrackerClient.java:
178        Add debug/log level.
179
1802003-05-31 23:04  Mark Wielaard  <mark@klomp.org>
181
182        * org/klomp/snark/: PeerCheckerTask.java, PeerCoordinator.java: Use
183        just one lock (peers) for all synchronization (even for
184        wantedPieces).  Let PeerChecker handle real disconnect and keep
185        count of uploaders.
186
1872003-05-31 22:29  Mark Wielaard  <mark@klomp.org>
188
189        * org/klomp/snark/: Peer.java, PeerConnectionIn.java: Set state to
190        null on first disconnect() call. So always check whether it might
191        already be null. Helps disconnect check.
192
1932003-05-31 22:27  Mark Wielaard  <mark@klomp.org>
194
195        * org/klomp/snark/PeerConnectionOut.java: Don't explicitly close
196        the DataOutputStream (if another thread is using it libgcj seems to
197        not like it very much).
198
1992003-05-30 21:33  Mark Wielaard  <mark@klomp.org>
200
201        * org/klomp/snark/PeerConnectionOut.java: Cancel
202        (un)interested/(un)choke when (inverse) is still in send queue.
203        Remove pieces from send queue when choke message is actaully send.
204
2052003-05-30 19:32  Mark Wielaard  <mark@klomp.org>
206
207        * org/klomp/snark/PeerState.java: Make sure listener.wantPiece(int)
208        is never called while lock on this is held.
209
2102003-05-30 19:00  Mark Wielaard  <mark@klomp.org>
211
212        * org/klomp/snark/PeerConnectionOut.java: Indentation cleanup.
213
2142003-05-30 17:50  Mark Wielaard  <mark@klomp.org>
215
216        * org/klomp/snark/Storage.java: Only synchronize on bitfield as
217        long as necessary.
218
2192003-05-30 17:43  Mark Wielaard  <mark@klomp.org>
220
221        * org/klomp/snark/Tracker.java: Identing cleanup.
222
2232003-05-30 16:32  Mark Wielaard  <mark@klomp.org>
224
225        * org/klomp/snark/PeerState.java: Better error message.
226
2272003-05-30 15:11  Mark Wielaard  <mark@klomp.org>
228
229        * org/klomp/snark/PeerState.java: Make sure not to hold the lock on
230        this when calling the listener to prevent deadlocks. Implement
231        handling and sending of cancel messages.
232
2332003-05-30 14:50  Mark Wielaard  <mark@klomp.org>
234
235        * org/klomp/snark/PeerCoordinator.java: First check if we still
236        want a piece before trying to add it to the Storage.
237
2382003-05-30 14:49  Mark Wielaard  <mark@klomp.org>
239
240        * org/klomp/snark/PeerConnectionOut.java: Implement
241        sendCancel(Request). Add cancelRequest(int, int, int).
242
2432003-05-30 14:46  Mark Wielaard  <mark@klomp.org>
244
245        * org/klomp/snark/Request.java: Add hashCode() and equals(Object)
246        methods.
247
2482003-05-30 14:45  Mark Wielaard  <mark@klomp.org>
249
250        * org/klomp/snark/Peer.java: Fix wheter -> whether javadoc
251        comments.  Mark state null immediatly after calling
252        listener.disconnected().  Call PeerState.havePiece() not
253        PeerConnectionOut.sendHave() directly.
254
2552003-05-25 19:23  Mark Wielaard  <mark@klomp.org>
256
257        * TODO: Add PeerCoordinator TODO for connecting to seeds.
258
2592003-05-23 12:12  Mark Wielaard  <mark@klomp.org>
260
261        * Makefile: Create class files with jikes again.
262
2632003-05-18 22:01  Mark Wielaard  <mark@klomp.org>
264
265        * org/klomp/snark/: PeerCheckerTask.java, PeerCoordinator.java:
266        Prefer to (optimistically) unchoke first those peers that unchoked
267        us.  And make sure to not unchoke a peer that we just choked.
268
2692003-05-18 21:48  Mark Wielaard  <mark@klomp.org>
270
271        * org/klomp/snark/Peer.java: Fix isChoked() to not always return
272        true.
273
2742003-05-18 14:46  Mark Wielaard  <mark@klomp.org>
275
276        * org/klomp/snark/: Peer.java, PeerCheckerTask.java,
277        PeerCoordinator.java, PeerState.java: Remove separate Peer
278        downloading/uploading states. Keep choke and interest always up to
279        date. Uploading is now just when we are not choking the peer.
280        Downloading is now defined as being unchoked and interesting.
281        CHECK_PERIOD is now 20 seconds. MAX_CONNECTIONS is now 24.
282        MAX_DOWNLOADERS doesn't exists anymore. We download whenever we can
283        from peers.
284
2852003-05-18 13:57  Mark Wielaard  <mark@klomp.org>
286
287        * org/klomp/snark/PeerConnectionOut.java: Remove piece messages
288        from queue when we are choking.  (They will have to be rerequested
289        when we unchoke the peer again.)
290
2912003-05-15 00:08  Mark Wielaard  <mark@klomp.org>
292
293        * org/klomp/snark/PeerState.java: Ignore missed chunk requests,
294        don't requeue them.
295
2962003-05-15 00:06  Mark Wielaard  <mark@klomp.org>
297
298        * org/klomp/snark/Request.java: Add sanity check
299
3002003-05-10 15:47  Mark Wielaard  <mark@klomp.org>
301
302        * org/klomp/snark/Snark.java: Add extra '(' to usage message.
303
3042003-05-10 15:22  Mark Wielaard  <mark@klomp.org>
305
306        * README: Set version to 0.3 (The Bakers Tale).
307
3082003-05-10 15:17  Mark Wielaard  <mark@klomp.org>
309
310        * org/klomp/snark/PeerState.java: Mention received piece in warning
311        message.
312
3132003-05-10 03:20  Mark Wielaard  <mark@klomp.org>
314
315        * org/klomp/snark/: PeerConnectionIn.java, PeerState.java,
316        Request.java: Remove currentRequest and handle all piece messages
317        from the lastRequested list.
318
3192003-05-09 20:02  Mark Wielaard  <mark@klomp.org>
320
321        * org/klomp/snark/PeerState.java: Fix nothing requested warning
322        message.
323
3242003-05-09 19:59  Mark Wielaard  <mark@klomp.org>
325
326        * org/klomp/snark/PeerConnectionOut.java: Piece messages are big.
327        So if there are other (control) messages make sure they are send
328        first. Also remove request messages from the queue if we are
329        currently being choked to prevent them from being send even if we
330        get unchoked a little later. (Since we will resent them anyway in
331        that case.)
332
3332003-05-09 18:33  Mark Wielaard  <mark@klomp.org>
334
335        * org/klomp/snark/: Peer.java, PeerCheckerTask.java,
336        PeerCoordinator.java, PeerID.java: New definition of PeerID.equals
337        (port + address + id) and new method PeerID.sameID (only id). These
338        are used to really see if we already have a connection to a certain
339        peer (active setup vs passive setup).
340
3412003-05-08 03:05  Mark Wielaard  <mark@klomp.org>
342
343        * org/klomp/snark/PeerState.java: Use Snark.debug() not
344        System.out.println().
345
3462003-05-06 20:29  Mark Wielaard  <mark@klomp.org>
347
348        * org/klomp/snark/PeerState.java: s/noting/nothing/
349
3502003-05-06 20:28  Mark Wielaard  <mark@klomp.org>
351
352        * Makefile: s/lagacy/legacy/
353
3542003-05-05 23:17  Mark Wielaard  <mark@klomp.org>
355
356        * README: Set version to 0.2, explain new functionality and add
357        examples.
358
3592003-05-05 22:42  Mark Wielaard  <mark@klomp.org>
360
361        * .cvsignore, Makefile, org/klomp/snark/StaticSnark.java: Enable
362        -static binary creation.
363
3642003-05-05 22:42  Mark Wielaard  <mark@klomp.org>
365
366        * org/klomp/snark/Tracker.java: Disable --ip support.
367
3682003-05-05 21:02  Mark Wielaard  <mark@klomp.org>
369
370        * org/klomp/snark/: HttpAcceptor.java, PeerCheckerTask.java,
371        PeerCoordinator.java, TrackerClient.java: Use Snark.debug() not
372        System.out.println().
373
3742003-05-05 21:01  Mark Wielaard  <mark@klomp.org>
375
376        * org/klomp/snark/PeerConnectionIn.java: Be prepared to handle the
377        case where currentRequest is null.
378
3792003-05-05 21:00  Mark Wielaard  <mark@klomp.org>
380
381        * org/klomp/snark/Snark.java: Improve argument parsing errors.
382
3832003-05-05 21:00  Mark Wielaard  <mark@klomp.org>
384
385        * Makefile: Use gcj -C again for creating the class files.
386
3872003-05-05 09:24  Mark Wielaard  <mark@klomp.org>
388
389        * org/klomp/snark/PeerState.java: Just clear outstandingRequests,
390        never make it null.
391
3922003-05-05 02:55  Mark Wielaard  <mark@klomp.org>
393
394        * org/klomp/snark/TrackerClient.java: Always retry both first
395        started event and every other event as long the TrackerClient is
396        not stopped.
397
3982003-05-05 02:54  Mark Wielaard  <mark@klomp.org>
399
400        * org/klomp/snark/Snark.java: Remove double assignment port.
401
4022003-05-05 02:54  Mark Wielaard  <mark@klomp.org>
403
404        * TODO: Add Tracker TODO item.
405
4062003-05-04 23:38  Mark Wielaard  <mark@klomp.org>
407
408        * org/klomp/snark/: ConnectionAcceptor.java, MetaInfo.java,
409        Snark.java, Storage.java, Tracker.java: Add info hash calcultation
410        to MetaInfo.  Add torrent creation to Storage.  Add ip parameter
411        handling to Tracker.  Make ConnectionAcceptor handle
412        null/non-existing HttpAcceptors.  Add debug output, --ip handling
413        and all the above to Snark.
414
4152003-05-04 23:36  Mark Wielaard  <mark@klomp.org>
416
417        * org/klomp/snark/TrackerClient.java: Handle all failing requests
418        the same (print a warning).
419
4202003-05-03 15:46  Mark Wielaard  <mark@klomp.org>
421
422        * org/klomp/snark/: Peer.java, PeerID.java, TrackerInfo.java: Split
423        Peer and PeerID a little more.
424
4252003-05-03 15:44  Mark Wielaard  <mark@klomp.org>
426
427        * org/klomp/snark/MetaInfo.java: Add reannounce() and
428        getTorrentData().
429
4302003-05-03 15:38  Mark Wielaard  <mark@klomp.org>
431
432        * org/klomp/snark/: PeerCheckerTask.java, PeerCoordinator.java:
433        More concise verbose/debug output.  Always use addUpDownloader() to
434        set peers upload or download state to true.
435
4362003-05-03 13:38  Mark Wielaard  <mark@klomp.org>
437
438        * org/klomp/snark/TrackerClient.java: Compile fixes.
439
4402003-05-03 13:32  Mark Wielaard  <mark@klomp.org>
441
442        * org/klomp/snark/TrackerClient.java: Only generate fatal() call on
443        first Tracker access. Otherwise just print a warning error message.
444
4452003-05-03 03:10  Mark Wielaard  <mark@klomp.org>
446
447        * org/klomp/snark/PeerState.java: Better handle resending
448        outstanding pieces and try to recover better from unrequested
449        pieces.
450
4512003-05-02 21:33  Mark Wielaard  <mark@klomp.org>
452
453        * Makefile, org/klomp/snark/HttpAcceptor.java,
454        org/klomp/snark/MetaInfo.java, org/klomp/snark/PeerID.java,
455        org/klomp/snark/Snark.java, org/klomp/snark/Tracker.java,
456        org/klomp/snark/TrackerClient.java,
457        org/klomp/snark/bencode/BEncoder.java: Add Tracker, PeerID and
458        BEncoder.
459
4602003-05-01 20:17  Mark Wielaard  <mark@klomp.org>
461
462        * Makefile, org/klomp/snark/ConnectionAcceptor.java,
463        org/klomp/snark/HttpAcceptor.java, org/klomp/snark/Peer.java,
464        org/klomp/snark/PeerAcceptor.java, org/klomp/snark/Snark.java: Add
465        ConnectionAcceptor that handles both PeerAcceptor and HttpAcceptor.
466
4672003-05-01 18:39  Mark Wielaard  <mark@klomp.org>
468
469        * org/klomp/snark/PeerCoordinator.java: connected() synchronize on
470        peers.
471
4722003-04-28 02:56  Mark Wielaard  <mark@klomp.org>
473
474        * org/klomp/snark/SnarkShutdown.java: Wait some time before
475        returning...
476
4772003-04-28 02:56  Mark Wielaard  <mark@klomp.org>
478
479        * TODO: More items.
480
4812003-04-28 02:56  Mark Wielaard  <mark@klomp.org>
482
483        * org/klomp/snark/Snark.java: Calculate real random ID.
484
4852003-04-27  Mark Wielaard  <mark@klomp.org>
486
487        * snark: Initial (0.1) version.
Note: See TracBrowser for help on using the repository browser.