2016-06-25
Freenet 0.7.5 build 1475 is now available. It materializes several months of work (the previous release was rushed to fix frostbite) and features some major changes.
It will become mandatory on July 15th.
The following bugs have been fixed/implemented:
- 0006745: Disk crypto: Should type password twice when setting it
- 0006344: Change default compatibility mode to COMPAT_1466
- 0006488: using “visit freesite” to visit a freesite with a hash (#) fails instead of opening it and jumping to the anchor.
Summary of changes:
- fix a critical bug: prevent announcement loops
- drop support for negtype9 (non-cummulative ack logic)
- start to warn user that java7 is EOL
- PluginInfoMessage: Fix wrong "does not provide FCP" info about plugins
- Stop warning users that java9 isn't recent enough
- Don't use FOAF if the HTL isn't high enough
- Attempt to update update.sh
- l10n improvements
- cooldown improvements
- load-limiting changes (token buckets)
- MessageFilter improvements
- relax the CSS parser (see #446)
- support for HTML Audio tags
- ask/confirm the disk-crypto password in the wizard
- make the paste-a-key control usable on the WelcomeToadlet
- the default compatibility mode for inserts is now COMPAT_CURRENT
- remove the DSA related parameters from noderefs
- Fix a major bug that might explain the poor connectivity since 1473
Thank you for using Freenet!
- Florent Daigniere
diffstat:
.classpath | 2 +-
.settings/org.eclipse.jdt.core.prefs | 7 +-
build.properties | 2 +-
dependencies.properties | 8 +-
src/freenet/client/InsertContext.java | 3 +-
src/freenet/client/async/ClientLayerPersister.java | 7 +-
.../client/async/ClientRequestSelector.java | 27 +-
src/freenet/client/async/DatastoreChecker.java | 50 +-
src/freenet/client/async/KeyListenerTracker.java | 182 ++--
src/freenet/client/filter/CSSTokenizerFilter.java | 26 +-
src/freenet/client/filter/GIFFilter.java | 10 +-
src/freenet/client/filter/HTMLFilter.java | 59 ++
src/freenet/clients/fcp/FCPServer.java | 10 +-
src/freenet/clients/fcp/LoadPlugin.java | 5 +
src/freenet/clients/fcp/PluginInfoMessage.java | 5 +-
src/freenet/clients/fcp/ProtocolErrorMessage.java | 1 +
src/freenet/clients/http/FProxyToadlet.java | 8 +-
src/freenet/clients/http/PproxyToadlet.java | 3 +
.../clients/http/SecurityLevelsToadlet.java | 94 +-
src/freenet/clients/http/WelcomeToadlet.java | 31 +-
.../clients/http/staticfiles/defaultbookmarks.dat | 16 +-
.../http/wizardsteps/SECURITY_PHYSICAL.java | 21 +-
src/freenet/crypt/DSAPublicKey.java | 28 +-
src/freenet/crypt/ECDSA.java | 41 +-
src/freenet/crypt/EncryptingIoAdapter.java | 203 ----
src/freenet/io/comm/MessageCore.java | 6 +-
src/freenet/io/comm/MessageFilter.java | 45 +-
src/freenet/l10n/BaseL10n.java | 25 +-
src/freenet/l10n/freenet.l10n.de.properties | 3 +-
src/freenet/l10n/freenet.l10n.en.properties | 24 +-
src/freenet/l10n/freenet.l10n.es.properties | 4 +-
src/freenet/l10n/freenet.l10n.fr.properties | 4 +-
src/freenet/l10n/freenet.l10n.it.properties | 2 +-
src/freenet/l10n/freenet.l10n.nb-no.properties | 3 +-
src/freenet/l10n/freenet.l10n.nl.properties | 4 +-
src/freenet/l10n/freenet.l10n.pt-br.properties | 1 -
src/freenet/l10n/freenet.l10n.ru.properties | 2 +-
src/freenet/l10n/freenet.l10n.zh-cn.properties | 4 +-
src/freenet/l10n/freenet.l10n.zh-tw.properties | 4 +-
src/freenet/node/AnnounceSender.java | 2 +-
src/freenet/node/BasePeerNode.java | 3 -
src/freenet/node/BaseSender.java | 8 +-
src/freenet/node/DarknetPeerNode.java | 4 +-
src/freenet/node/DatabaseKey.java | 7 -
src/freenet/node/FNPPacketMangler.java | 19 +-
src/freenet/node/NPFPacket.java | 73 +-
src/freenet/node/NewPacketFormat.java | 6 +-
src/freenet/node/NewPacketFormatKeyContext.java | 3 +-
src/freenet/node/Node.java | 316 +-----
src/freenet/node/NodeClientCore.java | 1061 +++++++++++---------
src/freenet/node/NodeCrypto.java | 131 +--
src/freenet/node/NodeDispatcher.java | 24 +-
src/freenet/node/NodeStarter.java | 4 +-
src/freenet/node/NodeStats.java | 186 ++--
src/freenet/node/OpennetPeerNode.java | 4 +-
src/freenet/node/PeerManager.java | 4 +-
src/freenet/node/PeerNode.java | 17 +-
src/freenet/node/RequestStarter.java | 19 +-
src/freenet/node/RequestStarterGroup.java | 24 +-
src/freenet/node/SeedClientPeerNode.java | 2 +-
src/freenet/node/SeedServerPeerNode.java | 2 +-
src/freenet/node/fcp/AllDataMessage.java | 22 -
src/freenet/node/fcp/BaseDataCarryingMessage.java | 7 -
src/freenet/node/fcp/ClientGet.java | 132 ---
src/freenet/node/fcp/ClientPut.java | 183 ----
src/freenet/node/fcp/ClientPutBase.java | 72 --
src/freenet/node/fcp/ClientPutDir.java | 105 --
src/freenet/node/fcp/ClientRequest.java | 138 ---
src/freenet/node/fcp/CompatibilityMode.java | 59 --
src/freenet/node/fcp/DataCarryingMessage.java | 13 -
src/freenet/node/fcp/ExpectedHashes.java | 18 -
src/freenet/node/fcp/FCPClient.java | 140 ---
src/freenet/node/fcp/FCPMessage.java | 27 -
src/freenet/node/fcp/FCPPersistentRoot.java | 104 --
src/freenet/node/fcp/GetFailedMessage.java | 53 -
src/freenet/node/fcp/ProtocolErrorMessage.java | 77 --
src/freenet/node/fcp/PutFailedMessage.java | 42 -
src/freenet/node/fcp/SimpleProgressMessage.java | 52 -
src/freenet/node/fcp/package-info.java | 3 -
src/freenet/node/useralerts/JVMVersionAlert.java | 2 +-
src/freenet/pluginmanager/OfficialPlugins.java | 4 +-
src/freenet/pluginmanager/PluginManager.java | 28 +-
src/freenet/support/JVMVersion.java | 18 +-
src/freenet/support/PrioritizedTicker.java | 242 +++--
src/freenet/support/Ticker.java | 36 +
src/freenet/support/TokenBucket.java | 6 +-
src/freenet/support/TrivialTicker.java | 7 +
src/freenet/support/io/ArrayBucket.java | 4 +-
test/freenet/client/filter/CSSParserTest.java | 2 +-
test/freenet/crypt/EncryptingIoAdapterTest.java | 203 ----
test/freenet/node/NewPacketFormatTest.java | 38 +-
test/freenet/node/NodeAndClientLayerBlobTest.java | 110 ++
test/freenet/node/NodeAndClientLayerTest.java | 85 ++
test/freenet/node/NodeAndClientLayerTestBase.java | 40 +
test/freenet/node/NullBasePeerNode.java | 5 -
test/freenet/store/SlashdotStoreTest.java | 12 +-
test/freenet/support/CheatingTicker.java | 6 +
test/freenet/support/JVMVersionTest.java | 19 +-
test/freenet/support/PrioritizedTickerTest.java | 270 ++++-
test/freenet/support/SpeedyTicker.java | 25 +
100 files changed, 1981 insertions(+), 3327 deletions(-)
Git shortlog:
Arne Babenhauserheide (1):
audio-tag: add ?type=audio/mpeg to src-uris
Bert Massop (8):
Fix MessageFilter cleanup delay time
Replace traversal-only LinkedList and HashMap by ArrayList
Reduce frequency of MessageFilter cleanup job
Cleanup KeyListenerTracker
Fix a corner case in BloomFilter length
NodeStats: reduce code duplication in request location tracking
Fix parsing of Java versions >= 9 (JEP-223)
Force stripping ECDSA signature padding: BC 1.54 has retarded checks
Florent Daigniere (86):
Remove the DSA params from the noderefs
Merge branch 'localise-fde-hyperlink' of https://github.com/toad/fred-staging into toad-localise-fde-hyperlink
Merge branch 'toad-localise-fde-hyperlink' into next
Merge branch 'fix-db4o-source-path' of https://github.com/xor-freenet/fred-staging into xor-freenet-fix-db4o-source-path
Merge branch 'xor-freenet-fix-db4o-source-path' into next
Merge branch 'fix-eclipse-java-version' of https://github.com/xor-freenet/fred-staging into xor-freenet-fix-eclipse-java-version
Merge branch 'xor-freenet-fix-eclipse-java-version' into next
Merge branch 'PR500-fixup' of https://github.com/xor-freenet/fred-staging into xor-freenet-PR500-fixup
Merge branch 'xor-freenet-PR500-fixup' into next
Merge branch 'plugins-disable' of https://github.com/toad/fred-staging into toad-plugins-disable
fix indent
Merge branch 'toad-plugins-disable' into next
Merge branch 'lazy-start-datastore-checker' of https://github.com/toad/fred-staging into toad-lazy-start-datastore-checker
fix indent
Merge branch 'toad-lazy-start-datastore-checker' into next
Merge branch 'cooldown-fixes' of https://github.com/toad/fred-staging into toad-cooldown-fixes
fix indent
Merge branch 'toad-cooldown-fixes' into next
Merge branch 'remove-load-limiting-high-level-token-buckets' of https://github.com/toad/fred-staging into toad-remove-load-limiting-high-level-token-buckets
code style
Merge branch 'toad-remove-load-limiting-high-level-token-buckets' into next
Merge branch 'simple-messagefilter-fixes' of https://github.com/bertm/fred-staging into bertm-simple-messagefilter-fixes
Merge branch 'bertm-simple-messagefilter-fixes' into next
Merge branch 'test-node-blobs' of https://github.com/toad/fred-staging into toad-test-node-blobs
Merge branch 'toad-test-node-blobs' into next
Merge branch 'css-parser-expression-fixes' of https://github.com/toad/fred-staging into toad-css-parser-expression-fixes
fix indent
Merge branch 'toad-css-parser-expression-fixes' into next
Merge branch 'audio-tag' of https://github.com/ArneBab/fred-staging-1 into ArneBab-audio-tag
Merge branch 'ArneBab-audio-tag' into next
Merge branch 'plugin-uninstall-warning' of https://github.com/vwoodzell/fred-staging into vwoodzell-plugin-uninstall-warning
indent
Merge branch 'vwoodzell-plugin-uninstall-warning' into next
Merge branch 'test-ticker-remove' of https://github.com/toad/fred-staging into toad-test-ticker-remove
Merge branch 'toad-test-ticker-remove' into next
Merge branch 'masterpassword-confirmation' of https://github.com/nathanielnebel/fred into nathanielnebel-masterpassword-confirmation
Merge branch 'nathanielnebel-masterpassword-confirmation' into next
Upgrade to Freereader6
Merge branch 'nathanielnebel-L10n-changes' into next
fix bug #6488: visit freesite looses the anchor
be paranoid.
bertm sugggest to relax the max-length requirement
add L10n keys
Merge branch 'bloomfilter-corner-case' of https://github.com/bertm/fred-staging into bertm-bloomfilter-corner-case
Merge branch 'bertm-bloomfilter-corner-case' into next
Merge branch 'bug6488' of https://github.com/nextgens/fred into nextgens-bug6488
Merge branch 'nextgens-bug6488' into next
Merge tag 'build01474' into next
Merge branch 'remove-more-dsa' of https://github.com/nextgens/fred into nextgens-remove-more-dsa
Merge branch 'nextgens-remove-more-dsa' into next
Bump the metadata compatibility mode to COMPAT_CURRENT
Merge branch 'xor-freenet-PluginInfoMessage-fix' into next
Remove all db4o compat code
Fix l10n too
Drop support for negtype9
remove handling for negtype9 too
remove the non-cummulative ack logic
doh; forgot a file
doh; forgot more files
Warn users that java1.7 is EOL
show that CI/the test works
Merge branch 'xor-freenet-reduce-deprecation-warnings' into next
Get rid of src/freenet/node/fcp/
This isn't equivalent: revert
SlashdotStoreTest is racy like hell
Apparently oracle's jvm is optimizing better
Merge branch 'java7-eol' of https://github.com/nextgens/fred into nextgens-java7-eol
Merge branch 'nextgens-java7-eol' into next
Merge branch 'cleanup-keylistenertracker' of https://github.com/bertm/fred-staging into bertm-cleanup-keylistenertracker
Merge branch 'bertm-cleanup-keylistenertracker' into next
indent
Merge branch 'purge-db4o' into next
Save a redirect when fetching BC
Handle announcement loops
Merge branch 'fix-announcement-loop' into next
TokenBucket is full of bugs and will go away soon.
Merge branch 'nodestats-reduce-duplication' of https://github.com/bertm/fred-staging into bertm-nodestats-reduce-duplication
Merge branch 'bertm-nodestats-reduce-duplication' into next
Revert "Save a redirect when fetching BC"
Don't use FOAF if HTL<2
Merge branch 'dont-FOAF-at-low-HTL' into next
Merge branch 'bug-6862' of https://github.com/bertm/fred-staging into bertm-bug-6862
Merge branch 'bertm-bug-6862' into next
new, updated update.sh
Merge branch 'bertm-strip-padding-for-bouncycastle' into next
update bookmarks
Matthew Toseland (65):
Add test for remove()
Fix test
Explain the API
Explain some of the asserts, these are NOT part of the API.
Log rather than asserting since we clean up the mess.
If the job is not present, return.
Remove duplicate code for removing jobs
Count the right thing.
Allow queueing jobs at specific absolute time.
Improve race condition.
Explain a bit.
Split out second half of test
Block the ticker, avoid sleep()
Simplify test and use Blocker
Factor out sleep callback, make test non-sleeping
Fix testDeduping() and enable when not extensive.
Add queueTimedJobAbsolute to public interface
Clearer assertion errors
Fix typo, possibly fix test failure
Wait until the executor is idle
Fix test: Wait until it is actually sleeping.
Fix another part of test race conditions.
Always wait for Executor jobs to finish.
Document Ticker interface.
noDupes implies runOnTickerAnyway
Make queuedJobs* package-local
Rename l10n string
Rename substitution
Add localised link to WP (REVIEW)
Document parser expressions
Simplify and prevent matching bogus 1b2a3b4
Explain syntax.
Fix comment: ? is encoded as ?
Simplify and correct re b's in a's
Rename variables
Explain calling convention
Use asserts rather than ERROR checks
Simplify check.
Explain limitations of noDupes
Add pluginmanager.enabled= option.
Only register PproxyToadlet if plugins enabled
Don't try to shut down if not enabled
Error message for FCP LoadPlugin when plugins disabled
Break realStartPlugin() if plugins disabled
Only enable plugin tracker GC if plugins enabled
Fix typo breaking startup
Add plugins enabled to simulator config
Optionally start the DatastoreChecker thread lazily
Add missing var=config.get(..)
Set a default thread limit for tests
Add a high level client layer test
Need a bit of extra space to be sure to fetch it.
Factor out base class
Add test for binary blobs
Only run tests if extensive tests enabled
Remove temporary dirs after test
Start the load limiting token buckets as full
Remove the token buckets
Remove the high-level TokenBucket's from NodeStats.
Remove RequestStarter.LOCAL_REQUESTS_COMPETE_FAIRLY
Actually return a cooldown time from chooseRequestInner
Wake up the RequestStarter later if in cooldown.
Remove arbitrarily short wait, should be unnecessary (REVIEW!)
Add another sanity check
Merge branch 'next' into plugins-disable
Nathaniel Nebel (2):
Add confirmation prompt to disk crypto.
Change language so it possesses a more formal tone.
Vaughan Woodzell (1):
Add warning message about leftover plugin files
drak@kaverne (3):
filter: add minimal support for audio tag
ArrayBucket: fix spelling in error output
gif filter: remove stray return and use braced if
xor-freenet (7):
BaseL10n: Add support for Croatian translations
BaseL10n: Begin changing the language code standard we use
BaseL10n: Add support for Portgual's Portuguese translations
Eclipse config: Fix compiler Java version to match Ant builder
Eclipse classpath: Fix source path of db4o in freenet-ext
PluginInfoMessage: Fix wrong "does not provide FCP" info about plugins
Ant builder: Reduce warnings about usage of deprecated API