Commit Graph

1110 Commits

Author SHA1 Message Date
zzz
3834403c79 propagate from branch 'i2p.i2p' (head e014bb054baa0d8e844e9a97ad6f5b04ed7c0e56)
to branch 'i2p.i2p.zzz.test' (head 1e0af137b9c4c873fea72d661f2ee351a640734f)
2011-07-19 21:18:14 +00:00
zzz
c78719bfe4 cleanup 2011-07-19 20:54:06 +00:00
zzz
7fbb3b12d1 * FileUtil: Add a rename method and a new copy method 2011-07-17 16:33:40 +00:00
zzz
a4ec6a5369 propagate from branch 'i2p.i2p' (head 2072db743073a703da2f4be9707e7edd696c2925)
to branch 'i2p.i2p.zzz.test' (head cc952c7db4822bb6c49c8e6fb6df02a62c6cbe63)
2011-07-15 22:27:31 +00:00
zzz
55bfd6aa2d concurrentify 2011-07-15 20:47:49 +00:00
zzz
252f1047e5 javadocs and final 2011-07-14 18:53:58 +00:00
zzz
688634695d javadoc 2011-07-13 14:20:20 +00:00
zzz
42acdc314a * Router Clock: First cut at recognizing and reacting to large system
clock shifts by partially restarting the router. Also improve
    restarts initiated from config.jsp
    Tickets #465, #468, #494
  * UPnP: Wait for a while to ensure port removal at shutdown or restart
2011-07-10 00:00:58 +00:00
zzz
dccdb99632 prevent log error at shutdown 2011-07-09 17:26:09 +00:00
zzz
94af227b70 * DH, YK:
- Improve YK speed test
    - Shut down thread faster
    - Refiller keeps going until full
    - Cleanups
2011-07-09 17:11:38 +00:00
zzz
fdd0d6ceb1 remove static log refs 2011-07-09 14:57:41 +00:00
zzz
5402bd0dc2 javadoc 2011-07-09 14:55:34 +00:00
zzz
90b8aa7811 concurrent 2011-07-08 18:31:50 +00:00
zzz
56650ebfb4 more misc. findbugs 2011-07-08 18:05:28 +00:00
zzz
44f4e551b7 more misc findbugs 2011-07-08 17:54:57 +00:00
zzz
f173e88787 kill a debug log 2011-07-08 17:05:13 +00:00
zzz
32d9204e4a * Sha256Standalone:
- Use system SHA-256 MessageDigest instead of Sha256Standalone in PRNG
    - Deprecate DataHelper functions using Sha256Standalone arguments;
      used only by Syndie
    - Note deprecation in javadocs
2011-07-08 13:51:50 +00:00
zzz
dd4906258d javadoc 2011-07-08 13:47:49 +00:00
zzz
c7fcef2096 drop file used only by dropped naming service 2011-07-08 13:44:45 +00:00
zzz
2b4f8ed55c * Blockfile:
- Log error on out-of-order spans
    - Log error on corrupt level and discard
    - Fix SkipSpan non-flush bug causing null levels
    - Add level fixer that repairs nulls and out-of-order levels
    - Fix bug on backwards span construction, not hit in practice
    - Lots of log level changes
2011-07-07 15:19:59 +00:00
zzz
4f3c15eb04 use HostsTxtNamingService if default fails to initialize 2011-07-04 22:07:13 +00:00
zzz
d4b28058a7 * EepGet: Add method to add extra headers to request 2011-07-04 14:26:35 +00:00
zzz
43044586d1 * AppContext: Add hasWrapper() method
* Shutdown:
    - Clear more resources in peer manager, netdb, stat manager,
      session key manager, naming service, tunnel dispatcher,
      OCMOSJ (result of testing with jvisualvm)
    - Don't call wrapper on shutdown (starting two threads) if we
      were started with runplain
2011-07-03 13:46:29 +00:00
zzz
6074a02cf5 * I2PThread: Remove logging, too many issues with extra contexts 2011-07-01 11:27:49 +00:00
zzz
bf832a407e * EepGet:
- Fix error output bug
    - Output error data for 504 too
2011-07-01 11:04:09 +00:00
zzz
5ae41521a0 Set Blockfile as default naming service 2011-06-30 12:45:29 +00:00
zzz
81beb63916 propagate from branch 'i2p.i2p.zzz.android' (head cbf2d39e1944b9d601558761d0eedcdebfd2f589)
to branch 'i2p.i2p' (head c2393e50afccfd5682a9086f0eec2a0700cda2c9)
2011-06-30 12:27:00 +00:00
zzz
3a2e9ad5d3 propagate from branch 'i2p.i2p.zzz.test4' (head 50c95d70238ff224e57acfca3d8797990ff3d01d)
to branch 'i2p.i2p' (head 1fa62c230eba5af7849024338fecf51bb2719c4e)
2011-06-30 12:22:12 +00:00
zzz
01b4b227ae small optimization 2011-06-30 12:21:43 +00:00
zzz
73bd8c8515 * EepGet:
- Add method to get response code
    - Add method to write error data to the output
    - Increase buffer size to 8 KB
2011-06-28 00:03:39 +00:00
zzz
54aff53afe 0.8.7 2011-06-27 02:25:18 +00:00
zzz
2f10cca40f * Fixes after review:
- Fix Polish po file
    - Install as a service by default on Windows again
    - Change CPUID getters to package private
    - Split new jbigi install messages into two lines
    - Javadocs
2011-06-26 19:07:01 +00:00
zzz
81dd267e29 throw IOE if uncompressed data too big, instead of silently truncating 2011-06-24 17:41:23 +00:00
zzz
1fdeba0745 max not min 2011-06-24 01:43:53 +00:00
zzz
bda6d7819c * BlockfileNamingService:
- Support readonly blockfiles
    - Open blockfile readonly if not in router context
    - Log warning if blockfile is locked
2011-06-23 14:35:48 +00:00
zzz
e468633408 trim content type 2011-06-20 15:21:03 +00:00
zzz
95c88881d9 * Shutdown:
- Stop I2PThread from starting a new App context at shutdown
    - Stop LogWriter from starting a new App context at shutdown
    - Have router kill any leftover App context at startup
2011-06-17 19:51:17 +00:00
zzz
9ad8f35bca * Shutdown:
- Kill the global app context
    - Recognize multi-router case
    - Fix RandomIterator, YKGenerator, DHBuilder, NTCPConnection
      hanging on to old context -
      probably other offenders not yet found
    - Fix DHBuilder thread not stopping
2011-06-17 18:37:02 +00:00
zzz
83ee57adc7 * Shutdown:
- Implement and call shutdown for RouterWatchdog
    - Fix i2psnark DirMonitor not stopping
    - Fix UPnP-Disposer not stopping quickly
    - Implement and call YKGenerator and DHSessionKeyBuilder shutdown
2011-06-16 21:02:56 +00:00
zzz
cb72bb0427 * Shutdown:
- Implement and call shutdown for BandwidthRefiller
    - Implement and register shutdown hook for Timestamper
    - Implement and register shutdown hook for Jetty console server
    - Fix UPnP-SSDPNotifySocket thread not stopping
    - Fix all but one UDP PacketHandler threads not stopping
2011-06-16 19:04:23 +00:00
zzz
518fdd8c03 AsyncFortunaRandomSource: Refactor refiller for concurrent and shutdown
Add shutdown hook for FortunaRandomSource
2011-06-16 12:42:25 +00:00
zzz
c655d23815 * Updates:
- Add the router version to the zip file comment in the updater
    - Add a class to extract the zip file comment
    - Require the sud version header to match the zip file comment
      to prevent spoofing of the version number, since the version
      number in the header is not covered by the sud signature.
2011-06-15 13:30:24 +00:00
zzz
3c88c854bf more cleanup at shutdown 2011-06-14 19:27:46 +00:00
zzz
21b76f1ca1 concurrentify 2011-06-14 19:15:04 +00:00
zzz
d50cf13085 Register shutdown hooks for caches, in the first step of cleaning up
resources on shutdown, which is important in Android as the JVM
isn't going away. More to do.
2011-06-14 19:08:15 +00:00
zzz
bb8b428598 * jbigi / NBI / wrapper / installer:
jbigi and wrapper files for arm.
    Compiled on trimslice with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) 
    Log postinstall errors to postinstall.log.
    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-0ubuntu2.1)
    OpenJDK Zero VM (build 14.0-b16, mixed mode)
    GMP 4.3.2 (half the size of 5.0.2, and no speed difference) LGPLv3
    Wrapper 3.5.9 GPLv2
    All binaries stripped.

    As on the Android emulator, the stock BigInteger.modPow()
    has some serious bug on arm.
    Without the libjbigi checked in here, the JVM crashes almost immediately.
2011-06-14 18:11:43 +00:00
zzz
730965812b final 2011-06-14 18:08:40 +00:00
ffffd2deb5 Add jcpuid binaries for Intel macs 2011-06-12 16:33:34 +00:00
654aa591c4 add isx86 check for x86_64 too 2011-06-12 00:19:45 +00:00
0a3bbb23e0 Preliminary jbigi support for osx. jcpuid will be coming later. 2011-06-12 00:12:58 +00:00