Author: toad
Date: 2008-03-29 17:51:11 +0000 (Sat, 29 Mar 2008)
New Revision: 18841

Modified:
   trunk/freenet/src/freenet/node/Version.java
Log:
1130: (mandatory Monday)
Client layer:
- Major bug in ClientRequestScheduler.removePendingKey(): it was removing all 
subscribed SendableGet's whenever there were several subscribed and we asked it 
to remove one. This would happen when a splitfile block entered the cooldown 
queue, also when we have several requests for the same key. Also some more 
minor bugfixes and some minor optimisations in the same code.
- When a request is in the wrong priority class, remove it as well as 
reregistering it. Not doing so was causing an infinite loop under some 
circumstances when changing request priorities.
- Try harder to find a request to run. Try all retry counts in the given 
priority and try all priorities. Generally this won't cause much overhead as we 
stop when we find something.
- Call notifyClients() from segment.schedule not splitfile.schedule 
(refactoring, it gets called at the same point either way).
- SplitFileFetcherSegment: Notify clients every time we get a success after 
scheduling has finished. Regardless of whether it is from the store.
SSK inserts:
- Fix bogus collisions when the data is identical. Broke Freemail, maybe ARKs.
Requests:
- Make asyncGet() work with CHKs which are already in the store. It was 
throwing an unexpected exception. asyncGet() is used iirc in OfferedKeysList??
Stats:
- Record location changes in nodeDir/location.log.txt. Delete file if it's over 
10MB.
Datastore:
- Catch verification errors on CHKs not just on SSKs! May have caused 
corruption to not go away.
Dev stuff:
- Logging.
- Remove some dead code.
- Rename some variables.
- Indenting.

Installer:
- Fixes for the code to load the don't-close-me window before the main freenet 
window.

nextgens
toad

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-03-29 16:50:49 UTC (rev 
18840)
+++ trunk/freenet/src/freenet/node/Version.java 2008-03-29 17:51:11 UTC (rev 
18841)
@@ -24,17 +24,17 @@
        public static final String protocolVersion = "1.0";

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

        /** Oldest build of Fred we will talk to */
-       private static final int oldLastGoodBuild = 1128;
-       private static final int newLastGoodBuild = 1129;
+       private static final int oldLastGoodBuild = 1129;
+       private static final int newLastGoodBuild = 1130;
        static final long transitionTime;

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



Reply via email to