Author: toad
Date: 2008-11-29 12:43:37 +0000 (Sat, 29 Nov 2008)
New Revision: 23968
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1186: (MANDATORY TUESDAY)
Message handling:
- Fix nasty race condition: We would match a message, set the matched flag
immediately, and then set the message afterwards, so the waiter would sometimes
wake up, see the match flag, and return null. Also notify at the right time.
- We do not support waitFor() on a message with a callback. Throw if it is
tried, and document why.
Auto-updater:
- Add a REQUIRED_EXT_BUILD_NUMBER constant. This is the earliest version of
freenet-ext.jar with which this main jar will function. RECOMMENDED is the
latest freenet-ext.jar with which this jar is known to work.
- Add manifest property Required-Ext-Version, which is a copy of the REQUIRED
constant.
- Do not update the ext.jar past RECOMMENDED_EXT_BUILD_NUMBER (except for UOM,
which will normally include a main jar as well). Download the ext update even
if we have the correct jar already, so we can distribute it via UOM to our
peers.
- Do not fetch updates by USK. Subscribe to the USK, but download from the SSK.
Then we know what version we are deploying.
- Update over Mandatory: Minor refactoring, support UOM of freenet-ext.jar. In
some cases we have one function with a flag to save code duplication, in other
cases code is copied.
- Minor refactorings to UOM code.
Datastore, preallocation, newbie nodes:
- Don't limit the size of the bloom filter (actually limit it to 2GB).
- Limit auto-detected datastore size to 256GB (=> 128MB bloom filter, but
that's not the only reason for a limit).
- Make the default datastore size 100MB. Everyone goes through the wizard
anyway, and creating the store will block startup, so it makes sense for it to
be small. Once the user has chosen a size, it will be resized in the background.
Plugins:
- Try to load the plugin from disk only if it is given as an absolute
filename???
Link level:
- Handle changed boot ID during rekeying properly.
L10n:
- Better no-peers message, explain how to resolve the situation (add peers, or
set seclevel to NORMAL/LOW).
Dev stuff:
- Comments. Document preallocation padding: it's not cryptographically secure,
but it doesn't need to be.
- Javadocs.
- Logging.
Website:
- Fix donatethanks.html (missing include file).
XMLLibrarian:
- Update to edition 17 of wAnnA?
nextgens
saces
sdiz
toad
tommy
xor
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-11-29 12:25:43 UTC (rev
23967)
+++ trunk/freenet/src/freenet/node/Version.java 2008-11-29 12:43:37 UTC (rev
23968)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1185;
+ private static final int buildNumber = 1186;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1181;
- private static final int newLastGoodBuild = 1185;
+ private static final int oldLastGoodBuild = 1185;
+ private static final int newLastGoodBuild = 1186;
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.DECEMBER, 1, 0, 0, 0 );
+ _cal.set( 2008, Calendar.DECEMBER, 2, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs