Commit Graph

246 Commits

Author SHA1 Message Date
Benson Margulies 1d42cfe367 ignorance. 2015-11-03 10:31:46 -05:00
Benson Margulies 2f50f0c866 More work to get travis and python3 working. 2015-11-03 10:31:06 -05:00
Benson Margulies f1dc7ea2c6 We need 'future' 2015-11-03 10:10:55 -05:00
Benson Margulies 341255ce33 setup.py fixes for py3. 2015-11-03 08:57:04 -05:00
Benson Margulies 3968f3af17 Merge branch 'master' of github.com:kivy/pyjnius into python-34
Conflicts:
	.travis.yml
	Makefile
	setup.py
	tests/test_proxy.py
2015-11-03 07:51:45 -05:00
dessant fc77dd624d Merge pull request #133 from chrisjrn/signatures
API for human-readable method signatures
2015-11-03 14:00:35 +02:00
dessant 51ebed91d7 Merge pull request #166 from benson-basis/modern_osx_java
Use the java from java_home on OSX.
2015-11-03 14:00:23 +02:00
dessant 5b4378ac85 Merge pull request #163 from benson-basis/fix-build-tests
Fix build tests
2015-11-03 13:57:59 +02:00
Akshay Arora 4adf0aa725 Merge pull request #153 from retsyo/patch-2
Another missing PR
2015-10-07 11:46:57 +05:30
dessant 161ecce63f change travis notification target 2015-07-28 12:07:36 +03:00
Mathieu Virbel 2627d95227 Fixes multiples memory leak in exception analysis, find_javaclass, and class instanciations 2015-07-26 14:29:51 +02:00
gabriel pettier ae359e054d allow setting java fields of object type
using convert_python_to_jobject
2015-07-21 16:36:42 +02:00
dessant 0f4604d6fe Update .travis.yml 2015-06-24 22:41:22 +03:00
dessant 37d702622e update copyright year 2015-05-19 22:01:00 +03:00
Benson Margulies 267ca88fe1 Use the java from java_home on OSX. 2015-05-03 11:30:30 -04:00
Benson Margulies 953fab9bd8 fix up new dlopen code. 2015-05-03 11:24:32 -04:00
Benson Margulies fa9f4531c0 Use dlopen instead of linking -ljvn. 2015-05-03 11:24:32 -04:00
Benson Margulies e1070965cc Support Python 3.4
see if we can't make travis happy.
2015-05-03 11:24:27 -04:00
Benson Margulies 8c910485de Use the java from java_home on OSX. 2015-05-03 11:24:27 -04:00
Benson Margulies 734e54789b cleanup the build process. Use ant, put the java code in a proper java root. 2015-05-03 11:24:11 -04:00
Benson Margulies 4f8c918ad4 Fix issue #162 by making 'make tests' pass. 2015-05-03 11:24:11 -04:00
Benson Margulies cca4da3cb0 Some sauce to map Java Beans to python properties and lists. 2015-05-03 11:23:47 -04:00
Benson Margulies 0ab1468bc5 Fix issue #162 by making 'make tests' pass. 2015-04-30 19:36:56 -04:00
Benson Margulies 2753c59573 Make lists work like Python list containers. 2015-04-30 16:24:27 -04:00
Benson Margulies 0c86904ede Support to map getters to properties. 2015-04-30 16:13:16 -04:00
Benson Margulies 6d91a2fe62 Fix 159: passing the result of autoclass to java.lang.Class parameter. 2015-04-30 14:17:28 -04:00
Mathieu Virbel a54772835c Merge pull request #152 from tonyfinn/patch-1
Re-applies #138
2015-03-13 15:11:57 +01:00
Mathieu Virbel 6208c609eb Merge pull request #150 from msmolens/set-fields
Enable setting primitive data type fields on Java classes
2015-03-12 16:22:45 +01:00
Mathieu Virbel c489ec412b Merge pull request #149 from msmolens/osx-yosemite-build
OS X: use JavaVM framework from current Mac OS SDK
2015-03-12 16:21:32 +01:00
Mathieu Virbel 9425a2cc31 Merge pull request #115 from Lenbok/issue-96-exception-handling
Issue 96 improved exception handling
2015-03-12 16:20:17 +01:00
Mathieu Virbel e149451ed1 fix license. Closes #139 2015-03-02 11:30:23 +01:00
Mathieu Virbel ce3572ba79 fixes hashCode overflow. (disclamer: i wont talk about collision probabiliity or whatever. In my point of view, it seems very low, as the id() is based on the address of the object, it except if you uses tons of memory, you wont get it. And whatever the changes are, this will never keep up safe from colliding with others java object.). Closes #146 2015-03-02 11:22:05 +01:00
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
Max Smolens 18d506911e Enable setting primitive data type fields on Java classes 2015-02-25 22:59:28 -05:00
Max Smolens 6fa4980b1b OS X: use JavaVM framework from current Mac OS SDK 2015-02-25 22:32:12 -05:00
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
retsyo 15664625ac Update jnius_conversion.pxi
change chr(<char>j_chars[i]) to unichr(j_chars[i]), now it can deal with Chinese
2015-01-29 19:47:26 +08: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
Tony Finn f0b8ce3856 Fix JVM signatures for the java.lang.Class method.
The methods defined in the Class class contain semicolons at the end of the signatures for methods which return primitives, while these are only required after class names. As a result, a JVM error occurs when attempting to call any of the affected methods.
2015-01-03 18:56:50 +00: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
Christopher Neugebauer 696924d54b More tests for signatures! 2014-09-17 18:07:41 +10:00
Christopher Neugebauer 2f838e2fac Adds tests for raw signature creation 2014-09-17 17:56:30 +10:00
Christopher Neugebauer 4948cc0e8e (oops) 2014-09-17 17:51:56 +10:00