Grant Limberg
bcf697cc2b
Wire up PortMapper in Android
...
Enables UPnP port mapping for Android client on networks with UPnP routers
2017-07-17 16:16:25 -07:00
Grant Limberg
69ae35494e
put the correct file extensions on data written to disk in JNI
2017-07-12 13:36:22 -07:00
Grant Limberg
512c3af4ea
fix packet sending functions
2017-07-12 13:12:45 -07:00
Grant Limberg
d8f1c3dff7
Update JNI code to reflect new ZeroTier API
2017-07-12 11:34:53 -07:00
Grant Limberg
952834f7f3
Let Android Studio determine debug/release build
2017-05-23 14:56:29 -07:00
Grant Limberg
5f611dad51
added orbit/deorbit methods to java Node implementation
2017-03-29 13:29:02 -07:00
Grant Limberg
1c5fdb8a0a
fix path checker initialization
2017-03-29 13:28:06 -07:00
Grant Limberg
de4b9e9a16
Added path checking interface for Java
2017-03-29 12:52:52 -07:00
Grant Limberg
855361b5b8
fix native end of JNI code for new thread data ptr
2017-03-28 17:49:00 -07:00
Grant Limberg
1520534660
fix some rediculousness in NDK-14
...
Apparently having -fPIC on the command line multiple times turns it back off
2017-03-09 17:48:40 -08:00
Grant Limberg
06c866ceb4
Android JNI fix
2017-02-23 12:47:07 -08:00
Grant Limberg
9ae49b5b85
Update JNI with new root terminology
2017-02-13 10:51:36 -08:00
Grant Limberg
923d3f1fe8
remove references to deleted source files in Android NDK build files
2017-01-26 15:01:45 -08:00
Grant Limberg
f149dd9401
fix Android NDK build
2017-01-13 11:36:48 -08:00
Grant Limberg
3c5e28a27d
use new ZT_Node_Callbacks struct in JNI
2016-11-22 13:03:36 -08:00
Grant Limberg
e1c930f1b7
update JNI wrapper to reflect removal of lastMulticastFrame and lastUnicastFrame from ZT_Peer struct
2016-11-09 16:33:01 -08:00
Grant Limberg
3a3fe272bb
add Revocation.cpp to android build
2016-10-13 15:18:07 -07:00
Grant Limberg
8809c6d122
link atomic library. seems to be required in the latest Android NDK
2016-10-13 14:34:54 -07:00
Grant Limberg
40d3993ceb
java code still needed to reflect PEER_ROLE_RELAY rename to PEER_ROLE_UPSTREAM
2016-09-21 14:12:20 -07:00
Grant Limberg
0564bb3b35
added missing copyright/license info from ZT_jniutils
2016-09-21 14:09:46 -07:00
Grant Limberg
d87f0293e3
Don't print a few error messages when they don't matter.
2016-09-19 13:40:53 -07:00
Grant Limberg
5fadd8bdd2
ZT_PEER_ROLE_RELAY -> ZT_PEER_ROLE_UPSTREAM in JNI glue
2016-09-19 12:54:19 -07:00
Grant Limberg
dccca7df1a
another couple of missing semicolons
2016-09-08 17:45:40 -07:00
Grant Limberg
407ad659ea
Reflect changes to strut ZT_PeerPhysicalPath
2016-09-06 17:59:01 -07:00
Grant Limberg
43b3ec4b1a
forgot a semicolon in a JNI java type specifier.
2016-09-05 16:19:04 -07:00
Grant Limberg
9f717e79ea
Fixing filename again....
2016-09-05 14:42:36 -07:00
Grant Limberg
d063f583ee
Added VirtualNetworkRoute class and added it to VirtualNetworkConfig
2016-09-05 13:52:29 -07:00
Grant Limberg
8a15b42dab
switch to GCC for Android
2016-07-14 19:29:00 -07:00
Grant Limberg
be0af135bc
update JNI code for 1.1.6
2016-07-07 20:07:07 -07:00
Grant Limberg
3993dfa2a5
Fix JNI for API changes in 1.1.4
2016-01-22 18:06:58 -08:00
Grant Limberg
399b2e9e26
forgot to submit this. Add DeferredPackets.cpp to the android makefile
2015-11-17 19:16:10 -08:00
Grant Limberg
0508a41afd
added ttl parameter to WirePacketSendFunction
2015-11-14 17:40:17 -08:00
Grant Limberg
eadeac0a42
logging of events
2015-11-03 19:14:11 -08:00
Grant Limberg
b7df177f33
updates for origin/edge
2015-11-02 19:18:55 -08:00
Grant Limberg
75a191a856
don't create an InetSocketAddress on local address if it's equal to ZT_SOCKADDR_NULL
2015-09-26 14:10:45 -07:00
Grant Limberg
7c3be2b5c1
fix function signature in lookup for onSendPacketRequested function
2015-09-26 14:10:16 -07:00
Grant Limberg
e8cdff3eaf
Merge branch 'adamierymenko-dev' into android-jni-dev
...
also update for changed function calls that now accept a local address
# Conflicts:
# include/ZeroTierOne.h
# java/CMakeLists.txt
# java/jni/Android.mk
# java/jni/ZT1_jnicache.cpp
# java/jni/ZT1_jnilookup.h
# java/jni/ZT1_jniutils.cpp
# java/jni/com_zerotierone_sdk_Node.cpp
2015-09-26 13:47:55 -07:00
Adam Ierymenko
f69454ec98
(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
2015-09-24 16:21:36 -07:00
Grant Limberg
a408e5f685
set ZT_NO_TYPE_PUNNING and -O3 for Android builds
2015-07-08 18:00:13 -07:00
Grant Limberg
ab34884e3e
Set -O0
...
anything above that currently goes kaboom on ARM platforms
2015-07-03 18:14:50 -07:00
Grant Limberg
0b7cd2f40a
change some build settings. add a lock
2015-07-01 20:26:14 -07:00
Grant Limberg
f803dd5ff4
...
2015-07-01 18:13:39 -07:00
Grant Limberg
aee8e95d49
logging
2015-06-30 19:21:46 -07:00
Grant Limberg
c9919cc5ba
reflect changes to ZT1_PeerRole in JNI
2015-06-26 18:26:57 -07:00
Grant Limberg
bfb152f53f
configure the NDK to build all supported ABIs and package them up in the jar
2015-06-24 20:31:22 -07:00
Grant Limberg
dfdd46db80
Merge branch 'adamierymenko-dev' into android-jni
2015-06-17 18:42:23 -07:00
Grant Limberg
472206dfb2
Rename JniCache to JniLookup
...
Removed caching capabilities as the cached methods, fields, and objects appears to be broken on Android
2015-06-10 20:16:13 -07:00
Grant Limberg
7e84f5a7db
killing whitespace
2015-06-09 23:24:54 -07:00
Grant Limberg
6889fcfc28
Looks like it was the JNI cash causing the crash.
...
Forcing it to look up classes and methods instead of caching them stopped the crashes in the GC. Will investigate more later.
2015-06-09 23:24:47 -07:00
Grant Limberg
4dc0ff8f13
Replace calls to Get<Type>ArrayElements with GetPrimitiveArrayCritical.
...
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-09 23:12:44 -07:00