83886cdcfb
merge of '9cd70f6c6a5d8100782f92785a0082b09248e6b0'
...
and 'e6b29f8caf5730bada39b1296ff3eb3b5f363f0e'
2013-01-04 00:20:03 +00:00
dbfb4cbbbb
Remove test that does nothing anyway
2013-01-04 00:19:08 +00:00
fe477f0a0b
merge of '96801f1975a618da3caa8943bc186ad78449ee94'
...
and 'fa2d2cb834d3792b816984bc44da70ad903e40e8'
2013-01-04 00:10:56 +00:00
dd24ab6f70
Create a new RouterContext for net.i2p.router.tunnel tests (can't cast I2PAppContext)
2013-01-04 00:07:15 +00:00
47592377f2
Make test expect an UOE
2013-01-03 23:58:18 +00:00
e3ecc42e88
- Fix delivery instructions test
2013-01-03 23:13:47 +00:00
8e5c26270e
cross platform unit test hostname faking not relying
...
on external tools
The original method failed on Archlinux. This should work everywhere.
2013-01-03 22:58:21 +00:00
3eb00c526d
remove extranous reference (that I added) to junit; fix a bit more of the
...
router tests
2013-01-03 19:36:39 +00:00
8f4f7a677f
- Fix junit path typo
...
- Fix several router unit test compile errors.
They all compile now.
- Move SubmitMessageHistoryJob to i2p.scripts, it is not a unit test
2013-01-03 16:10:49 +00:00
9d77cd7761
allow setting hamcrest and junit locations with properties
...
Defaults to the ant library path (the previously hardcoded path) if not set.
2013-01-03 11:53:08 +00:00
cdc3682baa
Fixes to JUnit tests under net.i2p.router.transport
2013-01-02 22:05:12 +00:00
dae66d7f73
Updated JUnit tests in net.i2p.router.tunnel - almost all bugs fixed
2013-01-02 21:29:54 +00:00
d6d1b51970
Set up build.xml test harness to run the JUnit4 tests as well
...
You will need junit4.jar, hamcrest-core.jar and hamcrest-library.jar in your
Ant library path (probably /usr/share/ant/lib)
2013-01-02 21:06:59 +00:00
6ed602309f
- Local mods and wrapper for SipHashInline
...
- Convert SessionTag.hashCode() to SipHash to prevent collision attacks
in the SessionKeyManager; cache for speed
2013-01-02 14:01:29 +00:00
c8e12b9ac9
* Transport: Fix early NPE (ticket #824 )
2013-01-02 13:23:23 +00:00
e375ffe8f1
* I2CP:
...
- Fix leak if nonce = 0 but reliability != none
- More work on failure codes (ticket #788 )
- Fix race with _finished indication in OCMOSJ
2013-01-02 13:19:40 +00:00
c05cd07ff7
Fixing two potential NPEs found by findbugs
2013-01-01 00:02:18 +00:00
77f0dd653a
- Fix handling of duplicate participating tunnel IDs
...
- Reduce chance of generating duplicate IDs for our tunnels
(ticket #812 )
- Stat cleanup
- Comment out effectively unused countProactiveDrops()
2012-12-29 13:40:55 +00:00
8ed70084db
catch iterator exception on java 5
2012-12-29 13:31:31 +00:00
2f4e3862e3
cleanups
2012-12-29 13:23:57 +00:00
38214cf5be
* I2CP:
...
- Prep for delivery of detailed failure codes to the client (ticket #788 )
- Store session ID as an int instead of a long
- Clean up some duplicate createRateStat calls (ticket #787 comment 2)
- Other optimizations, cleanups, final
2012-12-26 14:29:49 +00:00
f4740d2639
* Stats: Clean up some duplicate createRateStat calls (ticket #787 comment 2)
2012-12-26 14:22:30 +00:00
48309c0f6d
* NetDB: Split routerInfo files into subdirectories, disabled for now,
...
enable with router.networkDatabase.flat=false
2012-12-26 14:19:52 +00:00
cf1f42ebf8
* Tunnels: Catch rare BuildExecutor IAE only in Java 7 (ticket #811 )
2012-12-26 14:16:49 +00:00
420ccad91b
javadoc fixes for the upstream cybergarage UPnP library. Upstream ticket #3598391 has been filed for this issue.
2012-12-24 19:44:25 +00:00
6d2fa690dc
quoting fixups
2012-12-22 19:30:36 +00:00
8b41956091
0.9.4
2012-12-17 14:52:02 +00:00
74f6abc97a
bump
2012-12-15 14:54:32 +00:00
60718dbf72
Drop custom-built armv7 wrapper.
...
Tanuki-built arm wrapper works on armv5 and armv7 but not on Raspberry Pi armv6.
Wrapper we built for Raspberry Pi does not work on Trimslice armv7.
2012-12-11 19:27:56 +00:00
87a56a6fac
* RouterClock: Reduce log level (ticket #790 )
2012-12-07 14:20:02 +00:00
0fa938e096
merge of '60726592fdfe50d6d8051846e0034b4b40a6761e'
...
and 'ad92f5811a7ff6ceab5ab09572d716f00f9100ea'
2012-12-06 00:17:13 +00:00
b7e3a60fbc
Ticket #802
...
Added https://euve5653.vserver.de/netDb/ to reseed host list.
Certificate using www.cacert.org, so no need to add a new crt file.
2012-12-05 20:57:33 +00:00
ca00b34314
* I2CP: Fix external I2CP apps, including i2ping, caused by 0 nonce value,
...
broken in 0.9.2 (tickets #799 , #801 ). Allow nonces == 0.
Javadocs and cleanups.
2012-12-05 00:03:27 +00:00
0c5811801f
* SSU: Fix rare NPE (ticket #798 )
2012-12-05 00:01:49 +00:00
d9727c901c
* Reseed: Don't go on to the next host if we have enough http://zzz.i2p/topics/1287
2012-12-05 00:00:55 +00:00
63b8e7101f
* GarlicMessage: Fix notes and log in GarlicMessageHandler and HandleGarlicMessageJob,
...
they are used for netdb messages received by floodfills http://zzz.i2p/topics/1282
2012-12-05 00:00:06 +00:00
d28480dd92
bumping build to -12
2012-11-28 10:34:19 +00:00
99058ee135
* Codel: Make stats non-required (ticket #786 )
2012-11-24 16:41:55 +00:00
b2e335fbba
* Profiles: Small optimization in coalesceOnly() (ticket #765 )
...
javadoc, detab
2012-11-24 16:41:12 +00:00
1d3bbfd250
* Addressbook: Disable unused wakeup via http
2012-11-24 13:56:45 +00:00
916e328e10
javadoc, volatile
2012-11-24 13:55:47 +00:00
28ba7880e4
merge of '15d44385349738e5c84f8efcdb797d98b4fbaed0'
...
and '586f7a71f1e187cb041d873c013fbe91d0184b08'
2012-11-23 18:07:07 +00:00
9dcfe98437
Added .project and .classpath Eclipse files to most sections of the source
...
To import a branch of trunk into Eclipse, create a new workspace based in the
root directory of the checked-out branch, and then select "File -> Import..."
then "General -> Existing Projects into Workspace", then for "Select root
directory" choose the root directory of the branch (and of the workspace).
Select all projects that appear, so that dependencies are satisfied.
Currently left out are i2psnark, routerconsole and susimail, because they all
depend on jars in apps/jetty/jettylib, which seems to be auto-generated. Need
to check whether the existence of that folder (from having Eclipse files in it)
will prevent the jars being populated or not.
2012-11-23 12:20:26 +00:00
55c264916b
kill a string allocation hotspot
2012-11-23 07:52:03 +00:00
0ec77f5514
Use the cached iterator list to remove Iterator allocation hotspots
2012-11-23 07:22:58 +00:00
e974d3bc55
propagate from branch 'i2p.i2p.zab.782' (head 64415601890b9c494a8f06379f9feefbc855e07c)
...
to branch 'i2p.i2p' (head 0e92cf3a3844e7b738ca9c2486112867fc663b6f)
2012-11-22 20:53:03 +00:00
33ee8a38ca
Ticket #765 - optimize locking during profile reorg
2012-11-21 15:45:38 +00:00
5f4562467e
* Transport: Fix bug that inadvertently reduced default max
...
SSU connections in 0.9.2, cutting network capacity in half and
harming tunnel build success rates
2012-11-20 01:17:02 +00:00
d94c14967c
move HashDistance to router/util
2012-11-19 16:22:09 +00:00
f15828fa95
* NetDB: Add negative lookup cache
2012-11-19 16:10:02 +00:00