Update Japanese translation a little
MIME validity checker: Backwards compatibility to older Infocalypse repo's. Will be removed eventually.
Fix NPE handling worked-around MIME type for old infocalypse repo's, throw a more appropriate exception, don't show force-fetch link if the MIME type isn't plausible.
Fix bug #5578.
Hidden files in directory uploads: IncludeHiddenFiles in ClientPutDiskDir, for now always ignore them in fproxy uploads.
Revert "Add and use removeFromUnorderedList"

This reverts commit c8b9e1115a9a1089ecaccd7d6259b246303e47a1.

Order in waitingThreads was important: we should keep unused threads
near start of list, so they dies more easily, and thread suicide is rare
(and costly anyway).

Conflicts:

	src/freenet/support/PooledExecutor.java
[PATCH 11/12] ECDH: use standard names for KeyFactory and KeyPairGenerator [ some editing needed since I didn't apply #10 in full - toad ]

And get rid of spurious parameter in KeyAgreement.init() [BC silently
ignores it, SunPKCS11 bailout].

This would allow us use SunPKCS11-NSS, unfortunately SunPKCS11-NSS is
partially broken in java6, so just hardcode BouncyCastle for now (will
be improved later).
Add comment, try to explain.
More comments.
Does not need to be public, only used internally.
More comments, and assertions.
Explain another method with javadocs and add an assertion.
Do not assume the element is not a redirect.
More sanity checks.
I don't understand this. Add a FIXME.
Redirects are also 512 bytes; so we could have a redirect here; use addElement().
Always put in redirects when first separating itemsLeft. Better than anonymous@fms and Eleriseth's approaches. But they put me on the right trail...
Check for too many files in a single folder in an insert (MAY BREAK PLUGINS). Avoids infinite looping. Handling is somewhat complex as makePutHandlers() is called in constructor.
Remove old constructor, may be used by plugins, but they will be broken anyway.
Add the redirects first, before filling container up with files. Thanks Eleriseth and anonymous@6KMY4DVjZy4LvNWrJtftT8PqrOJoqAGRdblO-6vU0ko.fms for pointing this out.