Commit Graph

2280 Commits

Author SHA1 Message Date
zzz
65656b333a eliminate max 2011-07-15 02:12:10 +00:00
zzz
0bf0715adc * Shutdown:
- Cancel our JVM shutdown hook when shutting down
    - Run a spinner task so shutdown always completes
    - exit() instead of halt() so other JVM shutdown hooks run
    - Prevent duplicate wrapper notifier hooks
    - Notify the wrapper twice, once for stopping and once for stopped
2011-07-15 01:13:35 +00:00
zzz
dfbf01dad5 * Blocklist:
- Fix delayed lookup of reason from file
    - Tag strings for translation
    - Sort IPs on configpeer.jsp correctly
    - Cleanups
2011-07-13 14:21:42 +00:00
zzz
3455d3f943 * Message Registry: Clear pending messages at restart / shutdown
* OCMOSJ: Clear caches at restart
  * UPnP:
    - Fix device rediscovery and port opening after restart
2011-07-10 15:04:42 +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
4fd1800944 log tweaks 2011-07-09 23:09:55 +00:00
zzz
b41c58341f another NPE from ticket 493 2011-07-08 19:03:38 +00:00
zzz
44f4e551b7 more misc findbugs 2011-07-08 17:54:57 +00:00
zzz
ef40282081 * I2NP: Consolidate common code from TunnelBuildMessage and
TunnelBuildReplyMessage into a common base class
2011-07-08 17:03:19 +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
15165aa9af * NetDB: Fix NPE at startup (ticket #493) 2011-07-08 13:46:26 +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
49b39008c5 -5 2011-07-06 12:06:20 +00:00
zzz
476caf3f59 catch exception on dup entry 2011-07-05 12:46:23 +00:00
zzz
c839799023 increase min floodfills again 2011-07-04 19:16:54 +00:00
zzz
b7ff4fe87a * Netdb exploration:
- Remove floodfills from dont-include list in exploration
      DatabaseLookupMessage, as the dont-include-floodfills flag
      has been supported since release 0.7.9.
      This will make exploration work better, as there is room for
      non-floodfills in the don't-include list now.
    - Reduce min and max exploration intervals
    - Explore aggressively at startup and if known routers is low
    - Explore slowly if known routers is high
2011-07-04 18:48:31 +00:00
zzz
435683c5d1 * Tunnels: Use exploratory tunnels to help maintain a minimum number
of connected peers
2011-07-04 17:43:45 +00:00
zzz
1f3f17c8e6 * PeerManager: Load profiles in separate thread to avoid slowing
down the context initAll()
2011-07-04 16:13:28 +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
57d196edd6 * Router, console, i2psnark: Change three errors to warns (tickets #479, #482, #487) 2011-07-01 11:05:06 +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
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
f6f748217a allow outbound IRC INVITE 2011-06-23 22:47:52 +00:00
zzz
3f39cea89e propagate from branch 'i2p.i2p' (head 59d72ad41332fbcf2829c85f6b3e38aaca9ee528)
to branch 'i2p.i2p.zzz.android' (head f7e9a993c660229cca575d26a0ba06eea36cea8e)
2011-06-23 17:42:29 +00:00
5a64a866da -30rc
Add an icon (in OSX parlance, a 'bundle') to the installation folder to start
I2P.  

While there might be a better way to handle this (admittedly, I don't know OSX
that well), it is my belief that this way is less 'hackish' than the various
OSX 'installers' that I've seen floating around.
2011-06-23 10:18:19 +00:00
zzz
94e5aafa19 javadoc and more clearing at shutdown 2011-06-18 21:43:59 +00:00
zzz
0fa5fa40e1 * Shutdown:
- More job queue cleanups
    - RouterInfo readin job checks for quick shutdown
    - Note that we should improve profile read job
2011-06-18 19:58:50 +00:00
zzz
67825a7668 * Shutdown:
- Add final shutdown hook
2011-06-18 17:01:15 +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
4f722947e2 bump + rc 2011-06-17 18:26:15 +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
20ad7a44a7 clear profiles out of memory on shutdown 2011-06-15 15:20:00 +00:00
zzz
89191f4014 bump 2011-06-14 19:53:13 +00:00
zzz
399a05a5b5 * Router: Delete old libjbigi.so and libjcpuid.so at startup if jbigi.jar is newer.
This will force a reextraction by CPUID and NBI.
2011-06-14 19:37:30 +00:00
zzz
3c88c854bf more cleanup at shutdown 2011-06-14 19:27:46 +00:00
zzz
620ec536c2 propagate from branch 'i2p.i2p' (head ea4e5cdef1ba51f6eb24828f05dd7ef66d5188ae)
to branch 'i2p.i2p.zzz.android' (head 03199a42adae7400f4627e7391fe3768493fd65f)
2011-06-14 18:48:26 +00:00
zzz
d4ca9ca36d shutdown hook logging 2011-06-14 18:48:09 +00:00
zzz
38537de758 * NetDB: Increase floodfills and better adjustment based on available memory 2011-06-14 18:29:04 +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
6623616c82 - Fail build if gettext fails. Change property at top of build.xml if
you don't have gettext and want the build to continue.
2011-06-13 14:31:41 +00:00
ffffd2deb5 Add jcpuid binaries for Intel macs 2011-06-12 16:33:34 +00:00
zzz
dba92b0c42 actually use the 64 bit cpu detection 2011-06-10 23:24:54 +00:00
zzz
50578b34d0 * Profiles: Skip and delete a corrupt profile read from disk 2011-06-10 22:03:34 +00:00
194bd25e7b jbigi for 64bit Windows (jcpuid was checked in earlier).
Tested in Windows 7.
As has been customary, these were linked with gmp-5.0.2.

Built using 
"x86_64-w64-mingw32-gcc (GCC) 4.5.3" on Debian Sid with debug symbols stripped
using x86_64-w64-mingw32-strip.
2011-06-10 21:37:43 +00:00