Author: toad
Date: 2007-12-22 23:43:08 +0000 (Sat, 22 Dec 2007)
New Revision: 16799

Modified:
   trunk/freenet/src/freenet/node/Version.java
Log:
1096: (Mandatory monday)
Startup:
- Don't NPE if no freenet.ini when starting up.
Link layer:
- processJFK(3): Only check for pn==null if we have just constructed a 
peernode. If it's passed in, this check should occur earlier on as an 
assertion. Hopefully this is just a code simplification in practice.
L10n/strings:
- Purge all references to #freenet-refs - specifically in the no-peers warning.
CHK inserts:
- Actually time out the 
BackgroundTransfer-asynchronously-waiting-for-completion-message's. We were 
assuming that onMatch(null) meant timeout. In fact there was no timeout 
notification at all: we have now added onTimeout() to 
AsyncMessageFilterCallback for notifying of timeouts.
Messaging:
- Add AsyncMessageFilterCallback.onTimeout(), as above.
- Always call MessageFilter.setMessage() before calling .onMatched() - prevent 
NPE especially with async filters.
Generated HTML (web interface):
- Put <meta> before <title>.
Web interface:
- Add missing / to Frost default bookmark URL.
Client layer:
- Unless EarlyEncode=true, always complete the insertion of each layer in the 
splitfile before starting the next. Improves security: an attacker who doesn't 
know the file being inserted could have waited for the top block, and then 
started fetching the blocks we have inserted, thus he would be able to move 
towards the originator much more quickly than if the top block is inserted last.
- Trivial code simplifications.
- Don't prevent starting the metadata inserter if it hasn't been started by the 
time we reach SplitHandler.onSuccess().
- Fix an internal error message ("Got metadata from unknown state").
- Fix USK redirects from /<number> to /<number>/ - we were redirecting to 
/-<number>/ !
I18N:
- getBytes() -> getBytes("UTF-8") in various places - web interface, N2NTMs, 
... - fixes charset problems.
Dev stuff:
- Javadocs.
- Comments.
- Trivial code simplifications.
- Logging.


KeyExplorer (saces)
- Only look in store for keys.

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-12-22 23:28:47 UTC (rev 
16798)
+++ trunk/freenet/src/freenet/node/Version.java 2007-12-22 23:43:08 UTC (rev 
16799)
@@ -24,17 +24,17 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 1095;
+       private static final int buildNumber = 1096;

        /** Oldest build of Fred we will talk to */
-       private static final int oldLastGoodBuild = 1093;
-       private static final int newLastGoodBuild = 1094;
+       private static final int oldLastGoodBuild = 1094;
+       private static final int newLastGoodBuild = 1096;
        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, 23, 0, 0, 0 );
+               _cal.set( 2007, Calendar.DECEMBER, 24, 0, 0, 0 );
                transitionTime = _cal.getTimeInMillis();
        }



Reply via email to