Author: toad
Date: 2007-08-23 23:14:18 +0000 (Thu, 23 Aug 2007)
New Revision: 14868

Modified:
   trunk/freenet/src/freenet/node/Version.java
Log:
1055: (mandatory august 31)
Swapping:
- Enforce the maximum swap HTL. D'oh! Log when it's too big.
- Reset out location once in every 4000 swap evaluations (incoming and 
outgoing). This should hopefully prevent degeneration into location clusters - 
both gradually from churn, and from attacks.
- Increase swap HTL to 10. This should work better on a relatively poor network 
topology.
- Send a swap request every [ average swap time, max 1 minute, min 900ms ]. 
Show the average swap time and the swap delay on the stats page.
- Don't swap with a node whose location is the same as ours. (This shouldn't 
happen anyway...)
- Remove config node.swapRequestInterval
- Refactoring: Factor out max swap HTL to a static variable.
Synchronization, concurrency etc:
- USKInserter: don't schedule the fetcher inside the lock
- SingleFileFetcher: schedule archive fetches off-thread
- Run node IP detection on a separate thread, NOT the PacketSender thread
Heavy load:
- Don't reschedule the node pinger until it's finished
FProxy:
- Maybe fix CSS filter bugs
- Bookmarks:
-- only reset bookmarks to default if there was no config about them
-- fix bugs with renaming/editing bookmarks
- Config: Display the freenet.ini key for each option in advanced mode
Client layer:
- Catch metadata parse exceptions and report as INVALID_METADATA, *not* 
BUCKET_ERROR
- Fix bug in metadata generation for larger freesites (we weren't always 
resolving sub-metadata's), probably causes corrupt metadata errors, EOFs etc
- Allow many more files to be cached by the container unpacking cache
- Decode text before feeding it to onText() callback (mostly used by spider atm)
Diagnostics:
- Fix ConcurrentModificationException when accessing the message count list
- Indicate opennet nodes with an o instead of an x in the peer circle
Minor optimisations and related code:
- Bigger buffers, buffer streams
- Faster exception backtrace logging
- Minor optimisations in message matching
L10n etc:
- Fix bug in decoding URLs including unescaped non-ascii chars (these commonly 
come in over FCP, or Fproxy)
- Slight updates to the french translation by batosai
- New spanish translation by Caco_Patane
- Clarify some strings:
-- First-time toadlet explanation on why your node name should say something 
about you
Datastore:
- Reconstruct on a LogNotFoundException, DbChecksumException or 
RunRecoveryException. Check the cause as well.
- Reconstruct even on the mention of a LogNotFoundException or 
DbChecksumException in the message string for an error (sadly this is needed :( 
)
- Restart, don't exit, when need to reconstruct
- Allow up to an hour for auto-recovery of the Environment
- Get freenet-ext.jar #16 for database engine improvements
- Increase FCP request serialisation timeout to 20 minutes - must be greater 
than the store lock timeout
Config:
- always write to disk node.nodeDir, node.storeDir, fcp.enabled, since they 
can't be changed on the fly
Debugging/etc:
- Logging: remove some, add some
- Indenting
- Imports
- Remove dead code
- Trivial refactorings, renaming variables, adding static, final, private, 
access static as static etc
- Avoid NPEs when comparing strings by doing constant.equals(variable)
- Remove dead backwards compatibility code in BookmarkManager
- Comments, javadocs.
- Bug paranoia fixes
- Better error reporting if plugin load fails due to temp file problems.

Freenet-ext.jar build 16:
- Upgrade to BDB 3.2.43
(#14 upgraded to 3.2.42, but there was a mixup involving unsigned jars; #15 
fixed that, #16 upgraded to 3.2.43)

Installer:
- Maybe fix shortcut creation on unix, fix possible problem installing the 
updater on unix, don't grumble if dirs already exist while installing plugins, 
fix install of Thaw
SoC:
- Kryptos: Work on JFK: javadocs, message 4, tweaking, sync with trunk
- Fred: Work on Echo: Internal support for wiki markup, block dir, load the 
translation from the jar, remove RSS generation tests, create the categories 
file, multiple projects, read CSS from the source dir, generate and insert 
pages. New internal disk-dir constructor for ClientPutDir used by the plugin.
- Swati: XMLSpider/XMLLibrarian: More work on multi-index support. Spider: most 
structures by ID rather than by URI, use ID rather than baseURI to put words on 
pages (the latter was *bad*, exploitable to put words onto others' pages), 
identify inlinks/outlinks for each page to be used by clients later on for page 
ranking etc, publish and use (in librarian) titles of pages, javadocs, 
comments, remove dead code, logging and better error handling, better UI, 
better handling of errors in UI, visible version numbers for librarian and 
spider (needed because of some build problems) ...
- Sback: Test HTMLNode, enable some tests on URLDecoder, test DSA (reinstated 
old tests after fixing related issues)
Other:
- Update svn:externals for the wrapper on contrib
- Vivee: Simulations of opennet and delay-sensitive routing

Credits:
- Jogy
- toad
- nextgens
- sback
- swatig0
- fred
- kryptos
- vivee
- caco_patane

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-08-23 20:46:56 UTC (rev 
14867)
+++ trunk/freenet/src/freenet/node/Version.java 2007-08-23 23:14:18 UTC (rev 
14868)
@@ -24,17 +24,17 @@
        public static final String protocolVersion = "1.0";

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

        /** Oldest build of Fred we will talk to */
-       private static final int oldLastGoodBuild = 1049;
-       private static final int newLastGoodBuild = 1054;
+       private static final int oldLastGoodBuild = 1054;
+       private static final int newLastGoodBuild = 1055;
        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.AUGUST, 14, 0, 0, 0 );
+               _cal.set( 2007, Calendar.AUGUST, 31, 0, 0, 0 );
                transitionTime = _cal.getTimeInMillis();
        }



Reply via email to