Author: toad
Date: 2007-12-19 19:10:21 +0000 (Wed, 19 Dec 2007)
New Revision: 16732

Modified:
   trunk/freenet/src/freenet/node/Version.java
Log:
1093: (mandatory Friday)
Disk space stuff:
- ALWAYS call flush() before close() on a BufferedOutputStream unless we really 
don't care about out-of-disk-space.
Requests:
- Don't wait forever in CHKInsertSender if CompletionWaiter has already been 
cleared (race condition causing leak of a sender).
- Code clarifications in waiting for completion/timeout of downstream transfers.
Seednode connectivity:
- Ignore lastGoodVersion completely on seed clients. Prevents connectivity 
problems with seeding nodes running 1092 or later.
- testnet defaults to false, even in innerProcessNewNoderef.
- Fix expectedLength. Was preventing 1092 nodes from recognising JFK(4)'s with 
only one noderef.
- location and testnet are included for now, but not in anon-initiator packets. 
So old darknet connections will work for UOM even with old nodes, but we 
minimize packet size for new nodes.
Opennet UI:
- Only show the 0/1/2 connections warnings if opennet is turned off. If it's on 
then presumably we will announce.
L10n/UI strings:
- Minor French update.
- Improve opennet-related strings.
- Update default bookmark edition numbers.
Config:
- Maybe fix an old config bug (listenPort=-1 is invalid).
Refactoring etc:
- Trivial refactoring in RequestHandler.
- CHKInsertSender: 
-- Delete Sender, merge into AwaitingCompletion.
-- Trivial refactoring: if(x) blah(true) else blah(false) -> blah(x);
-- Minor refactoring in CHKInsertSender.AwaitingCompletion.completed(): 
if(blah) blahMember = true; -> blahMember = blah.
-- AwaitingCompletion -> BackgroundTransfer.
-- nodesWaitingForCompletion -> backgroundTransfers, waiters -> transfers in 
local vars.
-- Rename the thread.
-- Delete unused timeout parameter from completed() and rename it to 
receivedNotice().
-- Delete CompletionWaiter and do the waiting on the main CHKInsertSender 
thread. (Saves a thread).
-- Factor out setTransferTimedOut().
-- Wait on the sender thread for the downstream transfers complete notification 
message (significantly simpler code, slightly more threads).
- Opennet-related:
-- ignoreLastGoodVersion parameter to PeerNode(): change to an abstract boolean 
method.
Dev stuff:
- Logging.

Website:
- Give a working command line for checking out the node (we need 
--ignore-externals).

batosai
nextgens
robert
toad


Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-12-19 19:04:11 UTC (rev 
16731)
+++ trunk/freenet/src/freenet/node/Version.java 2007-12-19 19:10:21 UTC (rev 
16732)
@@ -24,17 +24,17 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 1092;
+       private static final int buildNumber = 1093;

        /** Oldest build of Fred we will talk to */
-       private static final int oldLastGoodBuild = 1091;
-       private static final int newLastGoodBuild = 1092;
+       private static final int oldLastGoodBuild = 1092;
+       private static final int newLastGoodBuild = 1093;
        static final long transitionTime;

        static {
                final Calendar _cal = 
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
                // year, month - 1 (or constant), day, hour, minute, second
-               _cal.set( 2007, Calendar.DECEMBER, 20, 0, 0, 0 );
+               _cal.set( 2007, Calendar.DECEMBER, 21, 0, 0, 0 );
                transitionTime = _cal.getTimeInMillis();
        }



Reply via email to