Commit Graph

2227 Commits

Author SHA1 Message Date
zzz
1e3e02d1f0 CPUID: Clear ECX register to ensure it will work with EAX=7
Tested on linux only
Add nativeJcpuidVersion()
Only call getCPUVendorID() once in getInfo()
Change all @since to 0.9.25 in hopes it will come true
Tab removal
Javadoc tweaks
2015-12-16 15:02:03 +00:00
dev
1f4a266c22 Added more checks to Haswell identification.. 2015-12-15 20:34:28 +00:00
dev
93fbdcd443 Made CPUIDCPUInfo non-abstract to support looking for CPU features during CPU identification. 2015-12-15 17:19:37 +00:00
dev
0e6e90baf0 Cleaned up BMI1/BMI2/AVX2/FMA3/MOVBE/ABM support. 2015-12-15 05:29:58 +00:00
dev
2c8179f057 Added hasBMI2() feature detection and use it to list some Celeron Haswell CPUs as non-Haswell CPUs. 2015-12-14 18:54:58 +00:00
zzz
3c5f9d0bc3 RouterInfo: Optimize writing to avoid extra copy;
eliminate caching previously enabled for routers with high memory limits
Log tweak on sig verify fail
DataHelper.writeLong() to write(byte) conversion
DatabaseEntry: Remove deprecated, unused setRoutingKey()
2015-12-13 16:48:04 +00:00
zzz
2155347e4f another writeLong 2015-12-13 16:41:35 +00:00
zzz
db86850d15 Addresses: Catch a rare (Windows only? IPv6 only?) error
when enumerating network interfaces
2015-12-13 16:40:42 +00:00
zzz
97ae1e5034 Cleanup: Don't use DataHelper.writeLong() for a single byte 2015-12-13 16:38:06 +00:00
zzz
fe3642edd4 CPUID: Multiple bug fixes:
- Add support for extended feature registers EBX/ECX
 - No such thing as EBX for 0x80000001 call; remove getExtendedEBXCPUFlags() method,
   replaced with getExtendedEBXFeatureFlags()
 - Check for support of 6 required Core i3/i5/i7 instructions to enable Haswell,
   since GMP Haswell requires Core i3/i5/i7 support.
   There are Pentium/Celeron Haswells that do not support these instructions.
 - Fix hasAVX2(), hasAVX512(), and hasADX() using wrong register
 - Fix hasAVX512() checking wrong bit
 - Define hasAVX512() as supporting AVX-512 Foundation, not the "full"
   instruction set as previously specified in the javadocs.
 - hasAVX2(), hasAVX512(), and hasADX() need not check hasAVX() first
 - Add missing hasADX() to CPUInfo interface
Also:
 - More diagnostic output in CPUID.main()
 - More javadocs
2015-12-12 22:53:33 +00:00
zzz
c8aca62d03 Crypto: Blacklist Verisign G1 roots
match by CN or OU
2015-12-11 22:36:40 +00:00
zzz
8b9bcbc777 SSU: Fix outbound IPv6 errors on Windows without a real v6 address
when explict host is set. Validate addresses before confirming that
we have an IPv6 address. Possibly related to ticket #1538.
javadocs
2015-12-11 17:14:45 +00:00
zzz
ea9c4a1957 Router, naming, I2CP: Increase lookup cache max sizes (except on Android),
reduce max lookup depth, and increase non-floodfill profile bonus
to attempt to reduce load on floodfills
2015-12-11 15:40:11 +00:00
zzz
393b593785 Logs: Windows line ending fixes for event log and duplicate message in router log 2015-12-11 15:06:22 +00:00
zzz
9b2bbe03ee dont put HTML in Android router logs 2015-12-10 13:07:40 +00:00
bb56a11bda propagate from branch 'i2p.i2p.unittests' (head 53586f73fb813f519cdb6a1f7b1b40efec2e35dc)
to branch 'i2p.i2p' (head 628a2c591ca44095e2f93acd026046d4512cf692)
2015-12-08 05:27:03 +00:00
zzz
7ea2be387e Better exception message, so it's in the router log 2015-12-08 02:13:31 +00:00
zzz
8b42896cc6 Crypto: Consolidate certificate import methods 2015-12-08 02:07:38 +00:00
dev
5df3f404f8 Fixed support for Atom CPUs. 2015-12-08 00:36:49 +00:00
zzz
fdc160cf1d Utils: Move new getSystemTimeZone() from DataHelper to SystemVersion,
which is a better place for it.
2015-12-06 16:28:14 +00:00
zzz
b53fe37a30 SAM:
- Don't map keys to upper case in parser, corrupts I2CP options
  - Register SSL and UDP ports with PortMapper
2015-12-01 20:14:09 +00:00
zzz
d5717ca12d javadoc 2015-11-29 14:52:08 +00:00
zzz
dffd441304 SAM: Allow backslash escapes in parser (tickets #1325, #1488)
remove unneeded escape char in other parsers
2015-11-28 18:53:40 +00:00
zzz
415b51bc49 i2psnark: Fix NPE caused by URL-to-URI conversion in -2 (ticket #1715)
Fix some other similar places
2015-11-28 12:54:41 +00:00
zzz
9ce8fced02 propagate from branch 'i2p.i2p.zzz.sam' (head b328f0edb961263d7606ea964ecb3f7c319ca1cf)
to branch 'i2p.i2p' (head 7b4c0525be182722ef2cc7b564691f27d997da3b)
2015-11-27 20:58:18 +00:00
zzz
8d7edaae61 Block DSDTestProvider CA cert 2015-11-26 12:54:37 +00:00
zzz
6b67a70bbd update @since 2015-11-25 16:54:44 +00:00
zzz
92bb2dbda7 Block CNNIC roots also.
Only log once.
2015-11-24 17:18:26 +00:00
zzz
5c4189abdf KeyStoreUtil: Implement system cert blacklist
Fix creation of empty keystore
test enhancements
2015-11-24 15:23:13 +00:00
zzz
2400a77e25 Remove unused USE_FAKE_CRYPTO 2015-11-23 19:49:56 +00:00
zzz
1215a70aab propagate from branch 'i2p.i2p.zzz.test2' (head 8fa44268a1dd2b7baaf01806e6994281ab031870)
to branch 'i2p.i2p' (head 44afdaa15ce8a95c112c7d58a5908f401c1a0145)
2015-11-22 16:00:16 +00:00
zzz
d30c1ec319 EepGet: Fixes after URL to URI conversion 2015-11-21 17:37:56 +00:00
dfb8830802 0.9.23 2015-11-19 00:31:15 +00:00
zzz
6fb0692d57 Centralize time zone code in DataHelper
NewsManager should be a ClientApp, not a RouterApp
2015-11-16 20:04:15 +00:00
bbaa6f7f87 Tweaks after review 2015-11-16 19:32:00 +00:00
e6644236ed Interrupt when cancelling events 2015-11-13 23:28:02 +00:00
zzz
51c5da3f72 lint: don't catch Exception, catch RuntimeException or checked exception.
omits SAM, BOB, reflection, commented-out code, and a few other places
2015-11-12 18:49:13 +00:00
zzz
3fa2fb4c8d Timers: State fix 4th try (tickets #1694, #1705)
log tweaks
2015-11-11 13:38:24 +00:00
c944fcce96 log if we can't cancel the future 2015-11-09 17:44:54 +00:00
zzz
1451dc6ece More: Don't use DataHelper.readLong() for 1-byte reads, for efficiency 2015-11-08 20:43:42 +00:00
zzz
63ddf11799 use float for efficiency 2015-11-08 18:14:19 +00:00
zzz
8e77188560 Replace URL with URI where possible
URL bad for anon and has traps like equals()
2015-11-07 22:38:05 +00:00
zzz
1e5a35c7f8 Use new split() 2015-11-07 17:45:48 +00:00
zzz
83b923151c propagate from branch 'i2p.i2p' (head e2aa08a93036bcf0d846b8ff67e9cb74de3e4d0f)
to branch 'i2p.i2p.zzz.test2' (head b3d23ed369ba339b9a71dfeb205110458df9ec0d)
2015-11-07 17:08:39 +00:00
zzz
e4ebb9a77d Utils: Add caching string split() 2015-11-07 17:08:27 +00:00
zzz
077c4a073f replaceAll -> replace 2015-11-07 12:47:31 +00:00
ca4642e0f0 Reduce the memory footprint of Rate objects by changing longs to ints and doubles to floats 2015-11-06 20:19:43 +00:00
zzz
d5e2defb5f synch fix 2015-11-05 21:34:47 +00:00
zzz
c1d77dfe5c I2CP: Fix additional connections getting rejected during tunnel open (ticket #1650)
State change cleanups
State checking consolidation
2015-11-05 21:18:01 +00:00
9baeedbc27 merge of '380c87670c1c931cf39e93d5600c4954c6e13d1e'
and '4fe47402bea065caae229256d58d87e60607602a'
2015-11-04 22:22:58 +00:00