Commit Graph

16 Commits

Author SHA1 Message Date
tshirtman 208806f635 add support for multiple signatures, add various tests 2013-01-03 01:19:49 +01:00
Mathieu Virbel a2d0076e56 added convert_python_to_jobject: don't do convert to java primitive/jvalue, but jobject. fixed array translation. 2013-01-02 18:11:12 +01:00
Mathieu Virbel 143ab371b6 more work on the proxy, better argument conversion. shuffle() works on array <= 3. with 9 argument, it seem to call toArray(), and argument conversion is not great for [I 2013-01-02 13:57:08 +01:00
Mathieu Virbel 9838ac9282 fix for always returning an Object from invoke(). If it's a native primitive, create the corresponding native java.lang.<type>.
The current conversion is only for: int (java.lang.Long), bool (java.lang.Boolean), float (java.lang.Double).
+ remove debug
2013-01-02 12:18:30 +01:00
Mathieu Virbel dcfe369f1e various fix for java/python implementation. It finally start working, but still lot to do.
Use: make testimplem, and check the jnius/jnius_utils.pxi:test() function.
2012-12-31 05:15:09 +01:00
tshirtman 9b758a81c3 some clarifications for java classes extended support 2012-12-31 00:15:25 +01:00
Gabriel 21a6e0d4ce some progress on proxy/invocation handler for wrapping python classes in java 2012-12-25 01:07:00 +01:00
Gabriel 70fa391458 Merge branch 'master' into extend_class_support 2012-12-23 17:02:17 +01:00
Amirouche Boubekki b8ee0f8ab5 fix method resolution when they are varargs 2012-09-30 22:39:38 +02:00
tshirtman 52aea7efb8 start to add native invocation handler
+fix badly formated string
2012-09-16 00:45:32 +02:00
tshirtman 7ac9bcd3d7 partial work on extending java classes from python
non-functionnal!
2012-09-06 14:19:45 +02:00
Mathieu Virbel 61855a4f12 fixes 2012-08-20 16:51:32 +02:00
Mathieu Virbel 35ef6575d8 when calculating the score, check the assignable from too, and return -1 if the check doesn't work. 2012-08-20 11:09:02 +02:00
Mathieu Virbel 77f2928e0b fixes for subclasses. closes #3 2012-08-20 10:34:14 +02:00
Mathieu Virbel 4730c2b802 reorder functions 2012-08-20 09:40:18 +02:00
Mathieu Virbel 7bd35411bf split jnius.pyx 2012-08-20 09:35:14 +02:00