5819 Commits

Author SHA1 Message Date
1c145cbc09 handle corruption / race during update of the peer's routerInfo data 2004-04-16 03:21:20 +00:00
5d71fde51b allow a third parameter - # seconds between fetch
this lets you periodically refetch the seeds (I'm using this to fetch the live netDb & run the netmonitor/viewer)
2004-04-16 03:09:48 +00:00
eec29f5c68 include the netmonitor (but not the GUI)
delete **/*.class and **/*.java~ (my IDE builds in place and backs up there)
2004-04-16 03:08:01 +00:00
8fbd7acf2a initial impl (public domain, yadda yadda yadda) 2004-04-16 02:16:55 +00:00
7b824e6178 kill long lines
[mihi]
2004-04-14 23:27:50 +00:00
24c69a26ea untabify
[mihi]
2004-04-14 23:26:59 +00:00
7b03c95cfd * Added STREAMing support;
* added NAMING LOOKUP NAME=ME support;
* various cleanups & fixes;
* what else?
(human)
2004-04-14 16:59:47 +00:00
d2b09ecfda * Fixed race that (maybe) caused the problems reported by aum on
<http://dev.i2p.net/pipermail/i2p/2004-April/000214.html>;
* slightly revised locking;
* made accept() throw a ConnectException when the I2PServerSocket is closed.
(human)
2004-04-14 15:28:02 +00:00
aum
4cdd42f391 Fixed build.xml to detect os, and launch 'jythonc' or 'jythonc.bat'
according to whether we're running on *nix or windoze. build.xml
should now work on your platform, as long as you have jython installed
and jython is on your execution path.

Got SAM STREAMs working - test code added to i2psamclient.py
as function demoSTREAM()
2004-04-13 17:40:07 +00:00
4d0b3b287f SAM bridge integration in the I2P build & packaging system
(human)
2004-04-13 04:41:14 +00:00
0d7f784773 Pure-java implementation of the SAM bridge. It actually supports the
HELLO, DEST and NAMING commands, plus SESSIONs with STYLE=RAW. It works with
aum's client-side Python library (modulo a small change in the HELLO command,
required to allow protocol versioning, not yet implemented in the client lib).
(human)
2004-04-13 04:38:52 +00:00
66ad54fbf0 Made logs actually go through I2P logging system
(human)
2004-04-13 04:15:46 +00:00
33782859b8 the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet).  the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
 * load/store the URLs being monitored so you don't
   have to reenter them on each startup
 * clear out the x axis on refetch (now it just keeps
   growing, which is good and bad)
 * adjustable refresh rate
 * implement snapshots (saving all the current state
   files to a dir, and allowing that dir to be loaded
   all at once)
 * beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j).  for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so.  but for now,
the above works.
2004-04-13 03:24:04 +00:00
3d294d5771 fix javadoc warning: no @return on void functions
(shendaras)
2004-04-12 10:26:42 +00:00
aum
c889a83707 More update ant tidy-up 2004-04-12 08:53:26 +00:00
aum
6a55af1950 Fixed paths 2004-04-12 08:43:32 +00:00
aum
a85cf2c2af Makefile and build.bat removed since we've switched to ant
README moved up to parent
2004-04-12 08:41:43 +00:00
aum
4c0e3f92d3 Created build.xml for SAM
Moved README out of build dir
2004-04-12 08:32:32 +00:00
e3354a805e javadoc, imports
(shendaras)
2004-04-12 08:14:07 +00:00
ceb9a935de import stuff (alphabetizing, etc.)
(shendaras)
2004-04-12 08:13:48 +00:00
aum
d3ad111b85 change - now goes to root build dir and does 'ant build' to ensure
the required jars are present
2004-04-12 06:41:24 +00:00
aum
de740b1d9d started adding STREAM support 2004-04-12 05:46:05 +00:00
7c155545ae partial impl of the gui, still a few things left to do:
- implement some validation on the state files loaded
- reenable delete and updates to refresh
- integrate the real chart code (currently just plain text instead of the graphs)
- gui updates
i wont spend more than another day on this during the testnet, but i want to get it plotting before continuing.
2004-04-12 02:44:18 +00:00
aum
a7597b2a6d Tested build process on windows.
Updated README, and fixed build.bat, so windows build
of i2psam.jar works.
2004-04-11 10:31:41 +00:00
aum
22916c1904 Corrected Makefile:
- removed relative path for jython.jar, replaced with a def
   which developer must edit

Added README
 - overviews the i2psam.jar building process

Added build.bat
 - an attempt at a build script which might work on Windows, for people
   who don't have 'make' installed
2004-04-11 07:21:28 +00:00
a72e479e50 scoping so the test classes are reachable outside the current package 2004-04-10 13:37:29 +00:00
60c1776994 fix up packages 2004-04-10 13:35:56 +00:00
fbddb24728 license incompatible with i2p license policy - section 2 requires application
developers to use the software in a particular way (to have the software display
"Copyright \xa91996-1999 Corporation for National Research Initiatives; All Rights Reserved")
section 3 has a similar problem.

this violates the rule #2 of the i2p license policy -
All software bundled in the I2P distributions will allow
 2) use with no restrictions on how, when, where, why, or by whom is running it

in addition, using jython does not seem wise for some situations, as the license is
not GPL compatible (aka cannot be used with the GPL'ed SAM code)

sorry for the confusion earlier aum, I had mistakenly seen a COPYING file and
assumed it was Yet Another copy of the GPL.

http://lists.debian.org/debian-python/2001/debian-python-200107/msg00001.html as
well.
2004-04-10 12:56:02 +00:00
e716f9e63a format (shendaras) 2004-04-10 11:55:25 +00:00
51c49d7c1b format (shendaras) 2004-04-10 11:50:11 +00:00
17a1b11f66 beginning of format, updated imports. (shendaras) 2004-04-10 11:45:02 +00:00
8a8e68146f beginning of format, updated imports. (shendaras) 2004-04-10 11:39:00 +00:00
dbe5dea525 120 code, 160 comments (shendaras) 2004-04-10 11:01:42 +00:00
604af822aa see how that looks
(shendaras)
2004-04-10 10:58:11 +00:00
435759c21c indent on column, update javadoc
(shendaras)
2004-04-10 10:31:03 +00:00
847f094975 @seeRoutine -> @see
(shendaras)
2004-04-10 10:26:19 +00:00
b939d86975 once more to fix newline after @param (shendaras) 2004-04-10 10:20:37 +00:00
3e5f56b19b final? (shendaras) 2004-04-10 10:17:32 +00:00
d81f42e3e9 again? Longer wrapping
(shendaras)
2004-04-10 10:08:33 +00:00
4fb3d34786 see how that looks
(shendaras)
2004-04-10 10:01:17 +00:00
9a0a527b2b try with different settings... 2004-04-10 09:55:11 +00:00
ba8fb23b9d editor testing (ignore for now) 2004-04-10 09:43:29 +00:00
99790695a2 Javadoc, imports, and (potentially) some indentation. Maybe it won't do anything.... who knows?
(shendaras)
2004-04-10 09:12:59 +00:00
aum
e3a86bb150 code.leo is an xml-format file that holds the I2P SAM server and
client sources in a dissected XML form.

If you're working on I2P SAM, we strongly encourage you to install
the Leo editor (http://leo.sf.net), and use it to edit the
sources. Otherwise, we're stuck with the menial task of re-importing
your changes into the Leo tree. Thanks for your understanding and
co-operation.
2004-04-10 08:21:01 +00:00
aum
0ac1e885bd Description of what lives here and how to build it 2004-04-10 08:18:42 +00:00
aum
36aca1d39b i2psamclient.py is a Python API allowing Python apps to access
I2P via SAM. File contains a demo function, which both tests
the library, and shows simple examples of how to use the API.
Run epydoc on this file to get good doco.
2004-04-10 08:16:18 +00:00
aum
d0192b4cab Implements the I2P SAM server, in Jython (www.jython.org) 2004-04-10 08:12:22 +00:00
aum
a3a7a585d7 Added Makefile for building i2p SAM server jarfile 2004-04-10 08:11:24 +00:00
aum
b437d858f0 Added Jython license document, copied verbatim from website 2004-04-10 07:00:54 +00:00
aum
06f78178da removed jython.jar from this dir, should have gone into lib
(which I've already done)
2004-04-10 06:57:32 +00:00