Author: toad
Date: 2007-12-18 18:09:48 +0000 (Tue, 18 Dec 2007)
New Revision: 16697
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1092: (mandatory 20 dec)
Requests:
- Don't fail with a RejectedOverload when we get a race condition and see the
status change to SUCCESS before we see the fact that the transfer has started.
Losing stuff on disk full:
- We must call flush() first as close() ignores any error produced by flush().
So we were writing to disk, thinking it had succeeded as there was nothing
thrown, and moving the empty file over the old one, thus clobbering settings.
This was a problem for many config/etc files.
- SFS.writeTo() closes the stream. Don't close it again.
L10n:
- French updates by batosai.
Announcement:
- Prevent an NPE when announcing locally, add noMoreNodes() callback.
- Mention in the no-seednodes alert where to get seednodes from.
- Various fixes related to running connectSomeSeednodes() many times
simultaneously.
- Various fixes related to retrying from the beginning with all seednodes if we
don't get enough peers the first time around.
- If we've tried all seednodes, but not all seednodes connect, give them
another minute, and then reset to retry the other seednodes. OTOH if we try all
of them and still need more peers, retry all immediately.
- OpennetPeerNode, DarknetPeerNode equals() - not equal to Seed*.
- Clear connectedToIdentities at the same time as announcedTo*
- Synchronization fixes.
- Use ByteArrayWrapper on announcedToIdentities as well as
connectedToIdentities.
- Don't leave disconnected seednodes lying around. After 1 minute, purge them
or restart announcement if we need to.
Stats:
- Do division in double precision floating point, not integer.
- Double vs long in TDRA: convert to double earlier when computing half-life
from uptime.
Minor stuff:
- Minor string optimisations (eliminate new String(String), String + new
String(StringBuffer)).
- Don't test for null twice.
- Synchronization fixes.
- Prevent an occasional leak of a Reader in the logger.
- DDA: Use randomness from the node's weak random rather than creating a new
one.
- Remove some dead code.
- Update the bookmark editions.
Dev stuff:
- Imports.
- Comments and javadocs.
- Minor refactoring in RequestHandler: returnLocalData().
- Logging.
Website: (nextgens, zothar)
- Download page: Use javascript to hide the sections concerning OSs other than
that of the browser by default.
- Download page: If Java is working in the browser, show the Java Web Start
link and not the OS-specific info. This should work for ~ 96% of visitors.
- CSS fixes.
- Tag closing order.
- Fix some charset problems (ISO chars in a UTF page).
- Fix some <p> problems, nesting <pre> or <ul> in <p>'s.
- "Linux and other Unix-like systems".
Legacy branch (jolantern):
- TODO updates.
- Tidying up shell scripts.
- Take out anti-NPTL code and option to download unstable branch.
Dev scripts:
- Fix the indent verification script.
Updater script:
- Bug #1565: GNU/Linux updater downloads stable release when update2.sh is
missing
batosai
jolantern
nextgens
toad
tommy
zothar
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-12-18 18:02:56 UTC (rev
16696)
+++ trunk/freenet/src/freenet/node/Version.java 2007-12-18 18:09:48 UTC (rev
16697)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1091;
+ private static final int buildNumber = 1092;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1089;
- private static final int newLastGoodBuild = 1091;
+ private static final int oldLastGoodBuild = 1091;
+ private static final int newLastGoodBuild = 1092;
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, 17, 0, 0, 0 );
+ _cal.set( 2007, Calendar.DECEMBER, 20, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}