Author: toad
Date: 2008-05-06 17:16:41 +0000 (Tue, 06 May 2008)
New Revision: 19803
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1146: (mandatory Thursday)
Out of memory handling/low memory handling:
- Change threshold from 8MB left to 4MB left.
- Wait until 3 consecutive memory usage checks (~ 90 seconds) show less than
4MB left on average. Then GC and if still over the threshold, trigger low
memory hooks.
- Always return the SHA256. Use try {} finally {}.
- Use SHA256.digest().
- Don't reset() after getMessageDigest(), it's already reset.
- Reduce maximum running FEC decode/encode threads by 1 on low memory, reduce
to 1 on out of memory.
Opennet:
- Allow for late reseeding: check every minute even after finished.
Bookmarks:
- Update editions.
- Delete Another Index. Its categories are misleading, it links to a child porn
site in the Index-Sites section, most sites don't have descriptions, and
generally it isn't very usable.
- Change order of indexes: TUFI, FAITV, FAI, ISF.
- Update descriptions.
- Add Freemail freesite to default bookmarks.
- Fix a possible NPE in BookmarkItem.equals().
- Show the re-add default bookmarks form on the response to a POST to keep
things consistent.
Connection level:
- Disallow port numbers outside [0,65535] in Peer. So we won't be made to send
handshakes to a node by a crafted FNPDetectedIP or a bogus noderef.
Config page:
- Don't show "Contribute to the translation" in the config nav box if using
english.
Temporary files:
- Set originalFiles to null once we're finished with it in
PersistentTempBucketFactory, so it can be GC'ed, since it can be big.
- Swap out the LinkedList in PersistentTempBucketFactory.grabBucketsToFree(),
instead of copying and clearing.
- Use the strong RNG (Yarrow) to generate keys for encrypted temp buckets, not
the weak one (MersenneTwister).
FEC encoding/decoding:
- Synchronization fix.
- Only decide how many threads to use once, not every 5 minutes (the code to
check was broken).
- Terminate excess FECRunner's.
L10n:
- Updated French translation.
- Updated Italian translation.
- Updated German translation.
Dev stuff:
- Logging.
- Consistently throw an Error ("Impossible: JVM doesn't support UTF-8") on JVM
not supporting UTF-8 or ISO-8859-1.
- Use LinkedList instead of Vector(1,1) in MessageFilter.
- Add an assertion in NumberedItemComparator.
- Delete unused methods.
- Indenting.
Installer:
- Windows: Check for Firefox in the standard locations if we can't find it in
the registry or if the pointed to file in the registry doesn't exist.
- *nix: Fix a problem with spaces in the name of the directory we install to.
- Remove the license panel. Users don't need to accept the GPL to use GPL
software.
- Add a comment in wrapper.conf suggesting increasing -XX:MaxPermSize. This
seems to be necessary for humongous inserts.
- Make install_autostart.sh and remove_cronjob.sh executable.
- Set up auto-start earlier on, just before starting the node.
batosai
j16sdiz
NEOatNHNG
nextgens
toad
tommy
Singularity
Bandwidth scheduler branch: (wavey)
- Created branch.
Salted hash store branch: (j16sdiz)
- I will review these changes after 0.7.0 is released.
Thingamablog (dieppe)
- Functional progress bar, logging includes blocks totals.
jSite:
- Update copyright notice (years) in each language.
Website:
- Remove question about seednodes as there's no answer given. (NEOatNHNG)
- Fix a typo on the freemail page. (dbkr)
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-05-06 17:12:13 UTC (rev
19802)
+++ trunk/freenet/src/freenet/node/Version.java 2008-05-06 17:16:41 UTC (rev
19803)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1145;
+ private static final int buildNumber = 1146;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1144;
- private static final int newLastGoodBuild = 1145;
+ private static final int oldLastGoodBuild = 1145;
+ private static final int newLastGoodBuild = 1146;
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.MAY, 14, 0, 0, 0 );
+ _cal.set( 2008, Calendar.MAY, 8, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}