Mathieu Virbel
9e60152dc5
pyjnius: document detach() function. Closes #97 . Closes #107 .
2015-02-07 20:07:56 +01:00
Mathieu Virbel
857e4c762a
add a jnius.detach() method to detach a thread that used some jni.
...
This cannot be automatic as jnius do not control the thread creation, so it cannot add a callabck to autocall this method.
It must be added by the user before the thread leave, if it used pyjnius inside.
Ref #107
Ref #97
2015-02-07 19:33:19 +01:00
Mathieu Virbel
614e43626a
add few tests about bytearray filling.
2015-02-07 19:31:04 +01:00
Mathieu Virbel
d9cdbb7288
add a test with signed char to ensure it still working
2015-02-06 18:34:50 +01:00
Mathieu Virbel
627bdc6d61
Merge pull request #142 from kived/signed-char
...
use temporary var to handle unsigned char -> jbyte (signed char)
2015-01-27 17:42:41 +01:00
Ryan Pessa
4839674fdd
use temporary var to handle unsigned char -> jbyte (signed char)
2015-01-27 10:28:14 -06:00
Mathieu Virbel
5fb4667c18
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
Mathieu Virbel
bb3cd4f376
Merge pull request #110 from abrasive/jvmoptions
...
Add control of JVM startup options
2014-09-30 20:01:09 +02:00
Mathieu Virbel
17a8ae8627
Merge pull request #121 from JustinCappos/patch-1
...
Update api.rst
2014-09-29 21:31:43 +02:00
Mathieu Virbel
910cac251f
Merge pull request #129 from prophittcorey/prophittcorey/typo-fix
...
Fixed sound recorder example syntax error
2014-09-29 21:31:06 +02:00
Mathieu Virbel
9f9d61618f
fixes for Cython 0.21. Closes #131
2014-09-16 10:08:32 +02:00
Akshay Arora
b38a365fda
Merge pull request #111 from abrasive/multidim
...
Add support for multidimensional arrays
2014-09-15 01:02:50 +05:30
Corey Prophitt
f9e0a87e97
Fixed sound recorder example syntax error
2014-08-30 00:53:12 -07:00
Mathieu Virbel
7826ca53d7
fix architecture detection for python2 and python3
2014-08-19 20:06:44 +02:00
Gabriel Pettier
4f684a90f5
Merge pull request #128 from dessant/patch-1
...
fix print statement
2014-08-19 15:16:34 +02:00
dessant
9c483237a4
fix print statement
2014-08-19 15:35:20 +03:00
Mathieu Virbel
f5b555d3d2
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
JustinCappos
0635452378
Update api.rst
...
grammar fix
2014-07-29 17:57:25 -04:00
Mathieu Virbel
a45ba1737e
fix issue with "cannot allocate an array of constant size 0" on Windows / MSVC compiler
2014-05-22 17:54:51 +02:00
James Laird
2910e2fddc
Add control of JVM startup options
2014-05-09 18:20:29 +10:00
James Laird
0279d2e870
Add support for multidimensional arrays
2014-05-05 17:29:33 +10:00
Richard Larkin
19d4ddc45d
doc: revisions to docs/source/android.rst
2014-03-07 15:24:10 +02:00
Richard Larkin
10b36fdf00
doc: revisions to docs/sources/android.rst
2014-03-07 15:18:35 +02:00
Richard Larkin
2521fbd9c9
doc: revisions to README.md
2014-03-07 14:57:30 +02:00
Mathieu Virbel
d5d2926190
raise an exception if the signature have invalid character + fix pyjnius documentation about array declaration in signature
2014-01-21 09:48:48 +01:00
Mathieu Virbel
de6af494d2
Merge pull request #87 from kevlened/squashed_windows_branch
...
Successfully compiled for Windows
2014-01-15 07:49:28 -08:00
Gabriel Pettier
6afbdb687b
Merge pull request #94 from remram44/fix-double-licenses
...
Removes LGPL license in 'COPYING'
2014-01-10 13:09:51 -08:00
Remi Rampin
33cddb2d53
Removes LGPL license in 'COPYING'
...
There is already the MIT license in 'LICENSE'.
2014-01-10 13:37:25 -05:00
kevlened
445ee20643
Fixed platform selection error
2013-11-25 23:44:46 -05:00
Len Boyette
d7bf5aa8a1
Improved JDK_HOME identification in Windows
2013-11-25 22:41:33 -05:00
Len Boyette
f88f3ed170
Compile in Windows successfully
...
Fixed jvm.lib reference
2013-11-25 22:41:12 -05:00
Len Boyette
cf93f7afc8
Removed hard-coded linux directory in the include_dirs
2013-11-24 19:37:06 -05:00
Mathieu Virbel
b7a583984d
Merge pull request #74 from Ian-Foote/master
...
Document autoclass syntax for nested Java classes.
2013-10-25 07:15:08 -07:00
Mathieu Virbel
9d7c90135b
Merge pull request #72 from limodou/patch-1
...
Fix string format error in 2.6
2013-10-25 07:14:49 -07:00
Mathieu Virbel
6ea6173346
Merge pull request #78 from zielmicha/master
...
Fix field dereference when multiple instances of a class exist. Fixes #77
2013-10-25 07:14:29 -07:00
Mathieu Virbel
5fc9e58b4c
fix a leak when calling constructor with string arguments
2013-10-16 11:52:14 +02:00
Ian
6a9705138f
Remove duplicated text from TextToSpeech example.
2013-09-22 10:55:59 +01:00
Michał Zieliński
51889323a3
Fix field dereference when multiple instances of a class exist. Fixes #77
2013-09-16 22:04:56 +02:00
Ian Foote
9ecf8b2263
Document autoclass syntax for nested Java classes.
2013-09-11 22:41:19 +01:00
Mathieu Virbel
693275fe48
new ByteArray native class, used to transport [B in python, instead of using Python list + integer.
...
ByteArray have .tostring() + .tolist(), and support slices / item lookup / size, but everything is readonly.
2013-09-11 17:18:49 +02:00
Mathieu Virbel
af824144cc
fixes for convert_jobject_to_python to correctly handle [B as parameters, as well as "Ljava/lang/Object;" that can be converted into "[Ljava/lang/String;"
2013-09-10 11:05:13 +02:00
Mathieu Virbel
9a18e94aa9
proxy: add "except *" to correctly propagate the python exception in invoke0, and let traceback print it. (python exception doesn't go through java... ^^).
...
+ avoid double-referencing in proxy. Before, we was having weird issue without it, but i'm not able to trigger it right now. Do the clean way.
2013-09-10 11:03:55 +02:00
limodou
a92308975b
Fix string format error in 2.6
...
In 2.6, you should give index value to format.
2013-08-29 16:14:06 +08:00
Mathieu Virbel
04c8ced2a7
Merge branch 'master' of github.com:kivy/pyjnius
2013-08-17 19:14:04 +02:00
Mathieu Virbel
8541c489ff
make sure that GetObjectArrayElement are freed.
2013-08-17 19:13:49 +02:00
Gabriel Pettier
c746796723
Merge pull request #69 from smglab/master
...
fix NotImplemented not found
2013-08-12 06:43:44 -07:00
Max Shabalihin
d226263174
fix NotImplemented not found
2013-08-12 17:26:44 +04:00
Mathieu Virbel
54097ccacb
dont overload the type, or later if will failed as well.
2013-08-06 16:24:19 +02:00
Mathieu Virbel
afc1d9d788
Merge pull request #66 from zielmicha/master
...
Check for exception after calling constructor
2013-08-02 07:04:16 -07:00
Michał Zieliński
35c410e542
fix lookup_java_object_name local reference leak
2013-08-02 14:14:50 +02:00