Grant Limberg
|
7054c365f2
|
put a read timeout on the socket
|
2015-05-02 18:34:47 -07:00 |
|
Grant Limberg
|
06ab338ecc
|
added naive OneService implementation.
Does nothing but send packets to master nodes and listen for packets back.
|
2015-05-02 18:24:52 -07:00 |
|
Grant Limberg
|
ad6ec22857
|
DataStore now works
|
2015-05-02 18:22:56 -07:00 |
|
Grant Limberg
|
a9307693a6
|
Adding Data Store implementations for Android and normal Java
|
2015-05-02 17:32:12 -07:00 |
|
Grant Limberg
|
742c59a7c7
|
Refactor package name from com.zerotierone.sdk to com.zerotier.sdk
|
2015-05-02 16:54:00 -07:00 |
|
Grant Limberg
|
e79a6915ff
|
ensure java is compiled for JVM 1.7. Android cant read .class files compiled for 1.8
|
2015-05-02 12:06:07 -07:00 |
|
Grant Limberg
|
818339f966
|
replace old direct calls to FindClass, GetMethodID, etc with calls that use the cache
|
2015-05-02 12:05:40 -07:00 |
|
Grant Limberg
|
079d248eab
|
added a JniCache objectet for caching jclass, jmethodID, and jfieldID objects
|
2015-05-02 12:05:02 -07:00 |
|
Grant Limberg
|
9f2732d661
|
add the basedir to the ant buildfile
|
2015-05-02 10:16:10 -07:00 |
|
Grant Limberg
|
fb6b56a85f
|
clean up unused imports
|
2015-05-01 18:27:34 -07:00 |
|
Grant Limberg
|
02b33e3763
|
Yeah it helps to byte swap the port back to little-endian before sending the port off to Java
|
2015-04-30 22:07:14 -07:00 |
|
Grant Limberg
|
b242886c33
|
Merge branch 'adamierymenko-dev' into android-jni
|
2015-04-30 21:51:05 -07:00 |
|
Grant Limberg
|
0a15eae00f
|
Setup native build for Windows Java.
Still need to do Mac & Linux
|
2015-04-30 21:50:28 -07:00 |
|
Grant Limberg
|
75d7137025
|
added a class I found to load JNI code from within JAR files on non-android platforms.
That doesn't come for free, unlike android.
|
2015-04-30 21:50:05 -07:00 |
|
Adam Ierymenko
|
9279bac385
|
Fix deadlock in SelfAwareness by deferring reconnects.
|
2015-04-30 21:09:41 -07:00 |
|
Adam Ierymenko
|
105e1a016f
|
Get rid of G++ compiler warning.
|
2015-04-30 20:41:25 -07:00 |
|
Adam Ierymenko
|
604576075e
|
Add some missing includes that older G++ cares about.
|
2015-04-30 20:40:33 -07:00 |
|
Grant Limberg
|
52df59c552
|
Merge branch 'adamierymenko-dev' into android-jni
Conflicts:
.gitignore
|
2015-04-30 19:19:45 -07:00 |
|
Adam Ierymenko
|
d3820049b8
|
Add reported external address to OK(HELLO) TRACE to verify SN behavior.
|
2015-04-30 18:25:31 -07:00 |
|
Adam Ierymenko
|
9eb7698f0e
|
Learn external IP addresses on OK(HELLO) too.
|
2015-04-30 16:40:04 -07:00 |
|
Adam Ierymenko
|
5185103692
|
Fix to create-test-root-topology.
|
2015-04-30 16:13:17 -07:00 |
|
Adam Ierymenko
|
3ac23165c7
|
Kill old testnet -- was useful in its time, but Docker make running real test networks locally stupid easy and a more realistic simulation.
|
2015-04-30 16:04:17 -07:00 |
|
Adam Ierymenko
|
9a34fde8a5
|
Make sure identity.public exists and stays in sync, cleanup extra new in Node, and test script for local testnets.
|
2015-04-30 16:03:44 -07:00 |
|
Adam Ierymenko
|
918fc8884b
|
Update mktopology so it works again and can easily be used to create test dictionaries.
|
2015-04-30 15:31:01 -07:00 |
|
Adam Ierymenko
|
f3d7c9d681
|
Helps to index the array when enumerating a C array.
|
2015-04-30 15:16:21 -07:00 |
|
Adam Ierymenko
|
226e0f8722
|
docs and Makefile for tcp-proxy
|
2015-04-30 10:56:45 -07:00 |
|
Adam Ierymenko
|
288d73a4ad
|
A few more refinements to TCP code, ready to integrate with "desperation" stuff and test.
|
2015-04-30 10:47:27 -07:00 |
|
Grant Limberg
|
9464504e4a
|
DataStoreGet and Put and EventListener appear to work
|
2015-04-29 21:20:50 -07:00 |
|
Grant Limberg
|
7e0cc28a89
|
Fixes for bugs pointed out by updating warnings
|
2015-04-29 19:29:35 -07:00 |
|
Grant Limberg
|
0a2d1e7a66
|
Ignore windows debug build files
|
2015-04-29 19:29:18 -07:00 |
|
Grant Limberg
|
9bf9670ff9
|
add more warnings to the JNI build
|
2015-04-29 19:14:52 -07:00 |
|
Adam Ierymenko
|
a9a3705877
|
TCP tunneling implementation -- not tested yet and no initiation yet.
|
2015-04-28 12:43:10 -07:00 |
|
Grant Limberg
|
5983b4367b
|
jclass pointers aren't as cacheable as originally thought.
There is a way to do it. We can try it later if we determine it's needed for performance reasons. Otherwise, don't use static to cache them
|
2015-04-27 18:38:13 -07:00 |
|
Grant Limberg
|
d1ed269537
|
Switch to InetSockAddress instead of InetAddress so we can send the port # to java as well
|
2015-04-27 17:48:37 -07:00 |
|
Grant Limberg
|
73d68c0c98
|
Merge branch 'adamierymenko-dev' into android-jni
|
2015-04-27 17:24:55 -07:00 |
|
Adam Ierymenko
|
7dcde7503a
|
For now just bind TCP to localhost, since we do not permit remote use of the control bus at all yet.
|
2015-04-26 18:15:40 -07:00 |
|
Adam Ierymenko
|
b9f7f75ddf
|
TCP proxy for tunneling (desperation > 0).
|
2015-04-26 16:38:39 -07:00 |
|
Adam Ierymenko
|
a1005ca858
|
Do not unite() peers across different IP scopes as this would pretty much never work.
|
2015-04-26 16:03:16 -07:00 |
|
Adam Ierymenko
|
8c5ec54711
|
.
|
2015-04-26 14:05:36 -07:00 |
|
Adam Ierymenko
|
ab3f4d7539
|
Was thinking about this HTTP tunneling stuff but decided against for now. Stash unfinished code in attic/
|
2015-04-26 14:05:13 -07:00 |
|
Adam Ierymenko
|
a1d6df4bf8
|
Starting on new external updater binary.
|
2015-04-26 10:01:07 -07:00 |
|
Grant Limberg
|
4c71e92a67
|
It's now possible to actually create a Node object in Java/Android!!!
|
2015-04-25 20:47:21 -07:00 |
|
Grant Limberg
|
3bdbc6390f
|
Added logging to Android logcat
|
2015-04-25 20:46:56 -07:00 |
|
Grant Limberg
|
8a09e0ec3c
|
added NodeException
|
2015-04-25 20:46:41 -07:00 |
|
Grant Limberg
|
db80070ccb
|
fix strings pointing to enum fields in ResultCode java class
|
2015-04-25 19:19:58 -07:00 |
|
Grant Limberg
|
042f914dc5
|
If we could not recursively add ZeroTierOneSDK.jar to ZeroTierOneSDK.jar, that would be greeeaaaaat
|
2015-04-25 19:09:30 -07:00 |
|
Grant Limberg
|
ec45aeb42a
|
Merge branch 'adamierymenko-dev' into android-jni
|
2015-04-25 18:59:52 -07:00 |
|
Grant Limberg
|
a86a0ab2b1
|
Package the Android native libraries right in the .jar file
|
2015-04-25 18:59:00 -07:00 |
|
Grant Limberg
|
29bb2a9004
|
fix for a previously renamed class
|
2015-04-25 18:58:43 -07:00 |
|
Grant Limberg
|
56f8160af8
|
generate javadocs for the Java SDK
|
2015-04-25 17:29:07 -07:00 |
|