summaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)Author
2015-06-30loggingGrant Limberg
2015-06-26reflect changes to ZT1_PeerRole in JNIGrant Limberg
2015-06-24configure the NDK to build all supported ABIs and package them up in the jarGrant Limberg
2015-06-23added Comparable interface to VirtualNetworkConfig so we can sort arrays ↵Grant Limberg
containing it.
2015-06-19dont consider multicast groups in VirtualNetworkConfig.equals()Grant Limberg
2015-06-17Merge branch 'adamierymenko-dev' into android-jniGrant Limberg
2015-06-13Modified ant build script so that it can be integrated with Android Studio's ↵Grant Limberg
build system
2015-06-10Rename JniCache to JniLookupGrant Limberg
Removed caching capabilities as the cached methods, fields, and objects appears to be broken on Android
2015-06-09killing whitespaceGrant Limberg
2015-06-09Looks like it was the JNI cash causing the crash.Grant Limberg
Forcing it to look up classes and methods instead of caching them stopped the crashes in the GC. Will investigate more later.
2015-06-09Replace calls to Get<Type>ArrayElements with GetPrimitiveArrayCritical.Grant Limberg
This puts code accessing the data in a critical section so that the GC cannot run while JNI has access to the array. This helps with stability somewhat, but I'm still getting some crashes in the GC
2015-06-09Logging and adding .equals() methods to MulticastGroup and VirtualNetworkCofnigGrant Limberg
2015-06-03Might help to set the enabled field on a VirtualNetworkConfig object :)Grant Limberg
2015-06-03more loggingGrant Limberg
2015-06-03delete dead test codeGrant Limberg
2015-06-01Fixed sending a port number of 0 to ZT1.Grant Limberg
Fixed VirtualNetworkConfigFunction (creating array to send to Java) Fixed the creating InetAddress instead of InetSocketAddress in virtual network config callback
2015-06-01Enable ZT_TRACE and more verbose build outputGrant Limberg
2015-05-28more loggingGrant Limberg
2015-05-28Fix DataStoreGetFunction.Grant Limberg
2015-05-28Use object arrays rather than ArrayList. JNI sideGrant Limberg
2015-05-28Replace ArrayList instances with []Grant Limberg
2015-05-27LOTS more error checking and logging.Grant Limberg
Running into a wall attempting to add items to an ArrayList from the JNI side
2015-05-26fix datastore get call in JNIGrant Limberg
Just delete the local reference rather than do an array delete. Array delete was causing a crash on loading network config files. Deleting the local ref works fine, though, as it still lets the JVM garbage collecter know that the native code is done with the array
2015-05-26added the android verbose log level and moved most jni debug messages to verboseGrant Limberg
2015-05-26add a missing break from a switchGrant Limberg
2015-05-26still getting re-used to all the places you have to put access modifiers in JavaGrant Limberg
2015-05-23fixing up data store stuffGrant Limberg
2015-05-21Remove link desperation from java APIGrant Limberg
2015-05-06Renamed supernode to rootserverKees Bos
2015-05-04build & package libZeroTierOneSDK.jnilib on Mac oSGrant Limberg
Signed-off-by: Grant Limberg <glimberg@gmail.com>
2015-05-02put a read timeout on the socketGrant Limberg
2015-05-02added naive OneService implementation.Grant Limberg
Does nothing but send packets to master nodes and listen for packets back.
2015-05-02DataStore now worksGrant Limberg
2015-05-02Adding Data Store implementations for Android and normal JavaGrant Limberg
2015-05-02Refactor package name from com.zerotierone.sdk to com.zerotier.sdkGrant Limberg
2015-05-02ensure java is compiled for JVM 1.7. Android cant read .class files ↵Grant Limberg
compiled for 1.8
2015-05-02replace old direct calls to FindClass, GetMethodID, etc with calls that use ↵Grant Limberg
the cache
2015-05-02added a JniCache objectet for caching jclass, jmethodID, and jfieldID objectsGrant Limberg
2015-05-02add the basedir to the ant buildfileGrant Limberg
2015-05-01clean up unused importsGrant Limberg
2015-04-30Yeah it helps to byte swap the port back to little-endian before sending the ↵Grant Limberg
port off to Java
2015-04-30Setup native build for Windows Java.Grant Limberg
Still need to do Mac & Linux
2015-04-30added a class I found to load JNI code from within JAR files on non-android ↵Grant Limberg
platforms. That doesn't come for free, unlike android.
2015-04-29DataStoreGet and Put and EventListener appear to workGrant Limberg
2015-04-29Fixes for bugs pointed out by updating warningsGrant Limberg
2015-04-29add more warnings to the JNI buildGrant Limberg
2015-04-27jclass pointers aren't as cacheable as originally thought.Grant Limberg
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-27Switch to InetSockAddress instead of InetAddress so we can send the port # ↵Grant Limberg
to java as well
2015-04-25It's now possible to actually create a Node object in Java/Android!!!Grant Limberg
2015-04-25Added logging to Android logcatGrant Limberg