pyjnius/jnius
Mathieu Virbel a0c9467d42 add native support for CharSequence. We supported String, but not the baseclass CharSequence. Both returns a python string, and a python string can be assigned to both. 2015-03-02 10:59:34 +01:00
..
src/org/jnius proxy: force GIL on invoke0, and add a special case for $Proxy name (android failed to FindClass) 2013-03-24 18:45:33 -05:00
__init__.py Add specific case for Android/libART: it crash if we check NativeInvocationHandler/InvocationHandler with isAssignableFrom. Plus, include some defaults methods implementation of java.lang.Object (hashCode, toString, equals), which is used by ART. Closes #92. Closes #113. 2014-07-31 13:49:25 +02:00
jni.pxi add a jnius.detach() method to detach a thread that used some jni. 2015-02-07 19:33:19 +01:00
jnius.pyx add a jnius.detach() method to detach a thread that used some jni. 2015-02-07 19:33:19 +01:00
jnius_conversion.pxi add native support for CharSequence. We supported String, but not the baseclass CharSequence. Both returns a python string, and a python string can be assigned to both. 2015-03-02 10:59:34 +01:00
jnius_env.pxi add a jnius.detach() method to detach a thread that used some jni. 2015-02-07 19:33:19 +01:00
jnius_export_class.pxi fix issue with "cannot allocate an array of constant size 0" on Windows / MSVC compiler 2014-05-22 17:54:51 +02:00
jnius_export_func.pxi cleanup proxy code 2013-03-13 21:38:10 +01:00
jnius_jvm_android.pxi jnius: refactor to not save jni env, and use the current pushed/pop env. This resolve few issues when pyjnius is called from a proxy (error such as E/dalvikvm( 6036): JNI ERROR: env->self != thread-self (0x68415860 vs. 0x400bb010); auto-correcting) 2013-06-24 17:58:20 +02:00
jnius_jvm_desktop.pxi Add control of JVM startup options 2014-05-09 18:20:29 +10:00
jnius_localref.pxi Fix string format error in 2.6 2013-08-29 16:14:06 +08:00
jnius_nativetypes.pxi new ByteArray native class, used to transport [B in python, instead of using Python list + integer. 2013-09-11 17:18:49 +02:00
jnius_proxy.pxi Add specific case for Android/libART: it crash if we check NativeInvocationHandler/InvocationHandler with isAssignableFrom. Plus, include some defaults methods implementation of java.lang.Object (hashCode, toString, equals), which is used by ART. Closes #92. Closes #113. 2014-07-31 13:49:25 +02:00
jnius_utils.pxi detect the implementation issue on IsAssignableFrom, and go the other way around for ART. Also dont try to use ExceptionDescribe if there is no Exception throw, or we will get a bad bad native crash. Closes #92 2014-11-13 09:43:11 +01:00
reflect.py last fixes to make pyjnius Java-thread proof. If you call any jnius related from a C thread, it will leak and/or crash (this hasnt been tested). 2013-06-25 11:49:42 +02:00