Author: toad
Date: 2008-03-19 12:10:52 +0000 (Wed, 19 Mar 2008)
New Revision: 18571
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1124: (Mandatory friday)
Block transfer:
- Try to send blocks in approximately the order they were queued.
Random number generation:
- Fix a wierd NPE caused by a race condition in MersenneTwister.
L10n etc:
- French update from batosai and nextgens.
- Update bookmark editions.
Stats:
- Don't track per-IP totals in IOStatisticCollector by default.
- Track proportion of block receives that succeed.
Thread usage:
- SerialExecutor: Lazy initialisation. The thread sticks around for 5 minutes,
then exits; we restart it if necessary.
Disk usage:
- Delete old .fblob's: all temporary fblobs, and full fblob's before the last
mandatory / before the recommended ext.jar version.
Thread priorities:
- Run CHKInsertHandler DataReceiver thread at HIGH_PRIORITY.
Simulations:
- Create PacketThrottles directly, remove the old static code, which did not
work well with many nodes in one VM simulations.
- Make IOStatisticCollector non-static. This is necessary for simulations and
is a good idea generally.
- New simulator which simulates a busy and bandwidth limited network.
- Persistent downloads were mistakenly enabled for testing nodes.
- New config option throttleLocalTraffic. Enable it in the simulator if we set
a bandwidth limit.
- Disable DNS checker when running simulations.
TMCI:
- If parsing PROBEALL: argument fails, use the default.
Padding:
- Take the 32 byte hash overhead into account. Max padded packet size is 1280
bytes, not 1312. We now pad 64, 96, 160, 224, 288, ... rather than 64, 128,
192, 256, ... So the smallest packet is the same size, the second smallest is
smaller, and the larger packets are slightly bigger but give less info away.
Misc:
- Fix an NPE in PeerNode.getThrottle().
Dev stuff:
- Logging.
- PeerNode.isLocalAddress() -> !PeerNode.shouldThrottle().
- Detect very long waits (waiting for an off thread BlockTransmitter, and
waiting for RequestSender status), and don't wake up every 10 seconds.
Installer:
- *nix: Fix lots of bash'isms
- When the browse icon/script is run, create a firefox profile for Freenet, and
launch a browser using it. Fall back to the default browser if no firefox
found. Bundle a custom theme so the browser looks different to the default
browser for easy compartmentalisation. Blacklist the Skype extension (we can't
whitelist extensions), and prevent any further extensions being installed to
that profile. Various other settings tweaks, for security, performance, and
usability.
- Fix some windows XP specific bugs in the shell scripts.
- Delete the frost install script after installing.
batosai
robert
toad
nextgens
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-03-19 12:09:00 UTC (rev
18570)
+++ trunk/freenet/src/freenet/node/Version.java 2008-03-19 12:10:52 UTC (rev
18571)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1123;
+ private static final int buildNumber = 1124;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1122;
- private static final int newLastGoodBuild = 1123;
+ private static final int oldLastGoodBuild = 1123;
+ private static final int newLastGoodBuild = 1124;
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, 17, 0, 0, 0 );
+ _cal.set( 2008, Calendar.MARCH, 21, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}