Author: toad
Date: 2008-04-10 15:22:18 +0000 (Thu, 10 Apr 2008)
New Revision: 19145
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1136: (mandatory Saturday)
Inserts:
- 1135 would encode splitfiles with k=128, n=255, then insert them, but the
metadata would say check blocks per segment = 64 (rather than 127). Downloading
such files resulted in segfaults and other crashes when doing healing.
- We now set the correct metadata.
- We also increased it to k=128, n=256, since this will fit within Native8Code.
- We also have a workaround so we can read splitfiles inserted with 1135.
- And another workaround to fail inserts started with 1135 rather than
segfaulting.
- We have also refactored things a bit so that this won't happen again - the
only splitfile parameters are in the constants in HighLevelSimpleClientImpl.
Announcement:
- If we have 10 peers which are TOO_NEW, and the updater is disabled or waiting
for user input, turn off announcement, so that we don't spam the seednodes
forever. Tell the user to update manually in a useralert.
Bookmarks:
- Add Freesite HOWTO.
Web interface:
- Queue page: pretend isFinalised is true for uploads, we have a pretty good
idea how big they are.
First time wizard:
- Update the description for the datastore size choice slightly.
- If running on a 1.6 JVM, use getFreeSpace() to make the store default to 10%
of available disk space. If there is very little disk space then offer 256M or
512M.
Swapping:
- Trivial optimisation in clearOldSwapChains(), might fix an NPE.
Config parsing:
- Allow a space between the number and the multiplier in parseSILong (used by
config with long variables).
Stats:
- Fix copy constructor for BDRA. It wasn't using all the fields, and wasn't
synchronizing.
Datastore:
- BDBFS: Throw RuntimeException instead of Error.
- BDBFS: Use final and private where possible.
- BDBFS: Refactoring. Factor out removeSecondaryDatabase(),
openSecondaryDataBase().
- BDBFS: Refactoring. Remove a large amount of duplicated code between the two
constructors.
Link layer:
- KeyTracker: use Iterator.remove() to simplify the code and use LinkedList
instead of DoublyLinkedList.
Dev stuff:
- Minor optimisation: Use ArrayList instead of Vector where we don't need
synchronization.
- Javadocs: improve formatting, document more variables, document more methods.
- Comments: typo fixes.
- support.math: Make some implementation details fields and methods
private/protected.
- Remove unused methods, old unused code e.g. the DbDump recovery code, some
more ancient back compat code in BDBFS.
- Imports.
- Logging.
j16sdiz
nextgens
Thingamablog: (dieppe)
- Allow a user to change the path of the key.
- The URL fields aren't editable for a flog.
- Fix an edition number bug.
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-04-10 14:58:16 UTC (rev
19144)
+++ trunk/freenet/src/freenet/node/Version.java 2008-04-10 15:22:18 UTC (rev
19145)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1135;
+ private static final int buildNumber = 1136;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1134;
- private static final int newLastGoodBuild = 1135;
+ private static final int oldLastGoodBuild = 1135;
+ private static final int newLastGoodBuild = 1136;
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.APRIL, 10, 0, 0, 0 );
+ _cal.set( 2008, Calendar.APRIL, 12, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}