I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Jun 15, 2009
    • zzz's avatar
      * i2psnark build: · 2ca0ae75
      zzz authored
            - Move FetchAndAdd to static inner class
            - Remove duplicate classes from i2psnark.war (120KB);
              fixes sporadic FetchAndAdd IllegalAccessError
            - Fix standalone build to include i2psnark.jar since classes
              aren't in the .war anymore
            - Have standalone jetty use I2PAppContext temp directory
            - Replace launch-i2psnark.jar with launch-i2psnark script,
              since RunStandalone is in i2p.jar
            - Clean up jetty-i2psnark.xml, turn off jetty logging
            - Remove standalone build from the pkg target in the main build.xml
      2ca0ae75
  2. Jun 04, 2009
    • zzz's avatar
      Big directory rework. · 524a25eb
      zzz authored
      Eliminate all uses of the current working directory, and
      set up multiple directories specified by absolute paths for various uses.
      
      Add a WorkingDir class to create a user config directory and
      migrate files to it for new installs.
      The directory will be $HOME/.i2p on linux and %APPDIR%\I2P on Windows,
      or as specified in the system property -Di2p.dir.config=/path/to/i2pdir
      All files except for the base install and temp files will be
      in the config directory by default.
      Temp files will be in a i2p-xxxxx subdirectory of the system temp directory
      specified by the system property java.io.tmpdir.
      
      Convert all file opens in the code to be relative to a specific directory,
      as specified in the context. Code and applications should never open
      files relative to the current working directory (e.g. new File("foo")).
      All files should be accessed in the appropriate context directory,
      e.g. new File(_context.getAppDir(), "foo").
      
      The router.config file location may be specified as a system property on the
      java command line with -Drouter.configLocation=/path/to/router.config
      All directories may be specified as properties in the router.config file.
      
      The migration will copy all files from an existing installation,
      except i2psnark/, with the system property -Di2p.dir.migrate=true.
      Otherwise it will just set up a new directory with a minimal configuration.
      
      The migration will also create a modified wrapper.config and (on linux only)
      a modified i2prouter script, and place them in the config directory.
      
      There are no changes to the installer or the default i2prouter, i2prouter.bat,
      i2prouter, wrapper.config, runplain.sh, windows service installer/uninstaller,
      etc. in this checkin.
      
      
          *  Directories. These are all set at instantiation and will not be changed by
          *  subsequent property changes.
          *  All properties, if set, should be absolute paths.
          *
          *  Name	Property 	Method		Files
          *  -----	-------- 	-----		-----
          *  Base	i2p.dir.base	getBaseDir()	lib/, webapps/, docs/, geoip/, licenses/, ...
          *  Temp	i2p.dir.temp	getTempDir()	Temporary files
          *  Config	i2p.dir.config	getConfigDir()	*.config, hosts.txt, addressbook/, ...
          *
          *  (the following all default to the same as Config)
          *
          *  Router	i2p.dir.router	getRouterDir()	netDb/, peerProfiles/, router.*, keyBackup/, ...
          *  Log	i2p.dir.log	getLogDir()	wrapper.log*, logs/
          *  PID	i2p.dir.pid	getPIDDir()	wrapper *.pid files, router.ping
          *  App	i2p.dir.app	getAppDir()	eepsite/, ...
          *
          *  Note that we can't control where the wrapper actually puts its files.
      
      All these will be set appropriately in a Router Context.
      In an I2P App Context, all except Temp will be the current working directory.
      
      Lightly tested so far, needs much more testing.
      524a25eb
  3. May 03, 2009
    • sponge's avatar
      2009-05-03 sponge · 7e3bda9d
      sponge authored
          * More hopeful fixes for BOB.
          * Added new Robert ID to snark
      7e3bda9d
  4. Apr 27, 2009
  5. Apr 26, 2009
  6. Apr 22, 2009
  7. Apr 08, 2009
    • zzz's avatar
      * IPV6/localhost: · 0cfbe9c2
      zzz authored
            - Enable IPv6 stack in the JVM, hopefully won't break anything
            - Patch Jetty to support binding to IPv6 addresses
            - Allow multiple bind addresses for the router console
              in the clients.config file; for new installs the
              default is now "127.0.0.1,::1"
            - Change most instances of "localhost" to "127.0.0.1"
              throughout the code
          * Router:
            - Move some classes to private static inner
      0cfbe9c2
  8. Mar 25, 2009
  9. Mar 09, 2009
  10. Feb 25, 2009
  11. Feb 10, 2009
  12. Feb 04, 2009
  13. Jan 31, 2009
  14. Jan 13, 2009
    • zzz's avatar
      * i2psnark: · 1c76d240
      zzz authored
            - Fix double completion message
            - Add crstrack
      1c76d240
  15. Jan 08, 2009
    • zzz's avatar
      robt4 · 0aaae0b0
      zzz authored
      0aaae0b0
  16. Jan 05, 2009
  17. Jan 03, 2009
  18. Dec 20, 2008
  19. Dec 05, 2008
  20. Dec 03, 2008
    • zzz's avatar
      robert + xl · 321f11c0
      zzz authored
      321f11c0
    • zzz's avatar
      * i2psnark: · b73b3fc5
      zzz authored
            - Add default i2psnark.config for new installs
            - Remove wishlist link
      b73b3fc5
  21. Nov 18, 2008
    • zzz's avatar
      i2psnark: · 0ff81674
      zzz authored
          - Don't create SnarkManager instance until first call,
            so it doesn't create the i2psnark dir, read the config,
            etc., for single Snark instances.
          - Don't read i2psnark.config twice; fix setting
            i2psnark.dir
          - More Snark constructor changes for calling from router
          - Make max connections per torrent configurable
      0ff81674
  22. Nov 16, 2008
    • zzz's avatar
      i2psnark: · 134764b1
      zzz authored
          - Use new I2PAppThread that does not call global listeners on OOM,
            so that OOMing apps will not shutdown the whole router.
      134764b1
    • zzz's avatar
      i2psnark: · 23699e46
      zzz authored
          - Remove static instances of I2PSnarkUtil, ConnectionAcceptor,
            and PeerCoordinatorSet
          - Convert static classes in Snark to listeners
          - Fix Snark to work in single torrent mode again
          - Should now work with multiple single Snarks
      23699e46
  23. Nov 15, 2008
    • zzz's avatar
      i2psnark: · fa23a7b0
      zzz authored
        - Refactor to allow running a single Snark without a SnarkManager again,
          by moving some things from SnarkManager to I2PSnarkUtil,
          having Snark call completeListener callbacks,
          and having Storage call storageListener callbacks.
          This is in preparation for using Snark for router updates.
          Step 2 is to allow multiple I2PSnarkUtil instances.
        - Big rewrite of Storage to open file descriptors on demand, and
          close them when unused, so we can support large numbers of torrents.
      fa23a7b0
  24. Nov 14, 2008
    • zzz's avatar
      * build files: · c7bb2e8f
      zzz authored
         - Don't die if depend not available
         - Only verify Jetty hash once
         - Add streaming lib tests to depends task
      c7bb2e8f
  25. Nov 12, 2008
    • zzz's avatar
      * Build files: · 98038e92
      zzz authored
            - Use the depend task with caching for more accurate dependencies
            - Make sure the routerconsole gets the latest router version
            - Fix addressbook repeated builds
      98038e92
  26. Oct 26, 2008
  27. Oct 13, 2008
  28. Oct 10, 2008
  29. Sep 29, 2008
    • zzz's avatar
      * checklist update · bf07a6a3
      zzz authored
          * i2psnark: Add codevoid link, remove mastertracker
          * hosts.txt: add echelon, codevoid
      bf07a6a3
  30. Sep 12, 2008
  31. Aug 13, 2008
  32. Jul 16, 2008
  33. Jul 07, 2008
    • zzz's avatar
      * i2psnark: · 0cfac58a
      zzz authored
            - Repair corrupted files with wrong length rather than die
            - Register shutdown hook to properly shutdown torrents when
              the router shuts down, hopefully will reduce corruption
            - Add Galen tracker
            - Add a note about how to chane directory
      0cfac58a
  34. Jun 30, 2008
    • zzz's avatar
      * i2psnark: · bae712ad
      zzz authored
            - Fix NPE caused by race (thanks echelon!)
            - Add mastertracker, remove de-ebook
      bae712ad
Loading