Commit Graph

1075 Commits

Author SHA1 Message Date
zzz
1fdeba0745 max not min 2011-06-24 01:43:53 +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
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
zzz
550bb1aaae fix the other gzip direction on android too 2011-06-11 17:05:24 +00:00
zzz
4fedb3fb5a javadoc thx kytv 2011-06-10 23:30:49 +00:00
zzz
dba92b0c42 actually use the 64 bit cpu detection 2011-06-10 23:24:54 +00:00
zzz
c8afe4bcaf * Random: Add config setting prng.bufferSize to override the default 256 KB 2011-06-10 22:01:25 +00:00
zzz
3f5022cbea log tweak 2011-06-10 22:00:35 +00:00
zzz
f7751de1c3 propagate from branch 'i2p.cpuid' (head be49d2042be9311c16ec5cc4b5accd1366b93556)
to branch 'i2p.i2p' (head 0d92feaa69315781a8e98190c6d11b6b91355f8b)
2011-06-10 21:59:42 +00:00
zzz
0b4e430c70 * NativeBigI: Add support for atom, core2, corei, nano, pentiumm, geode
* JBigI:
      - Add new libjbigi-linux-xxx.so files built by sponge, now that we have
        CPUID.java support for them (thanks hottuna).
        See http://zzz.i2p/topics/306 for discussion and test results.

        64-bit processors (atom, core2, corei, nano):
        Built with GMP 5.0.2. License is LGPLv3.
        Built by sponge with GCC 4.4.4, downloaded from
        http://sponge.i2p/files/jbigi/gmp-5.0.2/
        For 64-bit processors, both performance testing and
        the GMP changelog http://gmplib.org/gmp5.0.html led us to use 5.0.2
        for both the 32- and 64-bit versions, even though the files are twice as big.
        5.0.x contains specific optimizations for atom and nano.
        All 64-bit libs have _64 appended.

        32-bit processors (pentiumm, geode):
        Built with GMP 4.3.2. License is LGPLv3.
        Built by sponge with GCC 4.4.4, downloaded from
        http://sponge.i2p/files/jbigi/gmp-4.3.2/
        The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was
        little or no performance difference between the two versions for 32 bit processors.
2011-06-09 16:04:06 +00:00
dev
747d1f45a8 Added Geode support. 2011-06-09 15:11:31 +00:00
dev
6cf1591688 Large but simple refactor of CPUInfo interfaces and CPUInfoImpl classes.
Added interface and class for VIA cpus. 
Added support for VIA c5 cpus and some Via nano cpus (a few might be missing).
2011-06-09 15:00:30 +00:00
dev
562cabfbd6 Fixed bad merge, re-added CPU flags hex output. 2011-06-09 13:03:46 +00:00
dev
4033361f10 Added support for PentiumM where applicable. Added P4Compatability for a few processors. 2011-06-09 12:54:48 +00:00
dev
032faaeb73 run identifyCPU() on static for cleaner code. 2011-06-09 09:00:04 +00:00
dev
fd178f6ce5 Removed typos. 2011-06-09 08:45:44 +00:00
dev
28030dd470 Only run identifyCPU() once. 2011-06-09 08:41:51 +00:00
dev
11fb321674 Completed isXXXCompatible support for Bobcat/Atom/Core2/Corei
Added hasX64 for all CPUs.
2011-06-09 07:40:52 +00:00
zzz
3d18255eb1 * LogManager: Use DataHelper methods for loading and storing config 2011-06-08 20:16:48 +00:00
zzz
c5f04ee9c4 - Don't do 'mtn list changed' if not in a workspace or not needed 2011-06-08 20:15:53 +00:00
dev
366ed2b666 Formatting, tabs->spaces 2011-06-08 18:10:13 +00:00
dev
26899e488e Added more fine grained compatability for cpus in CPUID. Not implemented in NativeBigInteger yet. 2011-06-08 18:07:46 +00:00
dev
2cebe86524 Added support for AMD Bobcat APUs 2011-06-08 08:42:09 +00:00
dev
0a900088ca Formatting 2011-06-08 08:27:01 +00:00
dev
cdb1284e9e Added method for getting extended EBX CPUID flags. 2011-06-08 08:26:37 +00:00
dev
3a5347f88f Remove doCPUID caching, to due to having to much overhead compared to acutally just doing the doCPUID every time. 2011-06-08 08:25:09 +00:00
dev
831848e938 Added caching for doCPUID 2011-06-08 08:11:28 +00:00
dev
9f9e44bada Improved toString() and formatting. 2011-06-07 20:54:40 +00:00
dev
ff4b6504a1 Formatting 2011-06-07 20:13:00 +00:00
dev
55c6cdcae8 Formatting 2011-06-07 20:06:10 +00:00
dev
9c41bfeaa4 Added support for loading Atom,Core2 and Corei jbigi. 2011-06-07 17:04:15 +00:00
dev
3f43469104 Formatting 2011-06-07 16:35:51 +00:00
dev
89c3f894d7 Added support for most AMD cpus. 2011-06-07 16:27:26 +00:00
dev
33ec7babf9 Added support for a few more intel i3/i5/i7 2011-06-07 15:14:45 +00:00
dev
6121ccc46f Support additional platforms and processors. 2011-06-07 14:47:29 +00:00
zzz
7e84451ac3 Android:
- Import the main_rules file and remove the copied rules
  - Set the version code and name in the apk badging
  - Build target is 8 to allow SD install, MIN-SDK is still 3
  - Fix NPE on new install
  - Remove some debug code from NBigI
2011-06-05 22:38:35 +00:00
zzz
48f4c7286d - Remove libjbigi-windows-athlon64.dll which was a duplicate of libjbigi-windows-athlon.dll;
NBI now tries athlon as a fallback for all 64-bit processors.
2011-06-05 13:31:26 +00:00
zzz
d1e42233a8 * DSAEngine: Add code for alternate implementation using Java libs;
disabled by default. Add test code to verify identical results
                 and compare speed.
2011-06-05 12:40:59 +00:00