Commit Graph

25 Commits

Author SHA1 Message Date
Gabriel Pettier 123b136b12 use getmethods 2020-03-26 16:06:10 +00:00
Gabriel Pettier 363308d7a9 small cleanup 2019-12-04 23:51:00 +01:00
Gabriel Pettier 64ebe8f9d7 better name for the logger 2019-12-03 21:17:57 +01:00
Gabriel Pettier 807bc5be7d make sure Interface have access to Object's methods
as specified in https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.2
2019-12-03 21:10:33 +01:00
Gabriel Pettier b748257a66 make sure methods are discovered in reverse-inheritance order
fix for #408
2019-02-20 21:39:29 +01:00
Derek J. Lambert 62486974f5 If method starts with "is" only remove 2 characters 2018-01-30 09:20:45 -06:00
psader 3ce729b41d Fix bad JavaException in _getitem
Fix list iteration test broken since commit efe610b8, which results in a
JavaException with a bad message being thrown.  This was caused by the call to
'Class.forName', which throws the exception.
2017-10-15 18:36:42 -04:00
Mikael Kasimir Harvilahti b4d2d503db add support for subclasses of IndexOutOfBoundsException 2017-05-11 12:19:25 +03:00
Mikael Kasimir Harvilahti 0c0e6641f6 support for for...in iteration 2017-05-08 12:42:56 +03:00
dessant b214ff1f8b pep8 fixes 2017-03-23 19:56:02 +02:00
Benson Margulies 209e57ed0d eliminate use of 'future' outside of tests, try to fix p2/p3 issues with setup. 2015-11-04 07:33:15 -05: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 cca4da3cb0 Some sauce to map Java Beans to python properties and lists. 2015-05-03 11:23:47 -04: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 5ff62b146e 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
tshirtman 7ac9bcd3d7 partial work on extending java classes from python
non-functionnal!
2012-09-06 14:19:45 +02:00
gabriel.pettier 17258f100d work on varargs support 2012-08-26 02:51:22 +02:00
Mathieu Virbel 79b564a338 renaming to JavaMultipleMethod. 2012-08-20 11:08:32 +02:00
gabriel.pettier 6aa4760721 Merge branch 'master' of github.com:kivy/pyjnius 2012-08-18 19:35:26 +02:00
gabriel.pettier 9ec504dfd6 change to getMethods and getFields to get inherited methods/fields too
and small doc fix
2012-08-18 19:32:15 +02:00
Mathieu Virbel 60ee14ed6f add the previous tests from python-for-android/javawrapper branch.
+ fix findclass (need cleaning)
+ fix array return with chars
+ export reflect module by default (it's already used in jnius so..)
2012-08-18 12:59:15 +02:00
Mathieu Virbel 774fc295e9 add cast(classname, obj) method to be able to use an instance from another class def 2012-08-16 00:16:17 +02:00
Mathieu Virbel 77139529ad add support for multiple signatures on constructors and methods. 2012-08-15 19:16:39 +02:00
Mathieu Virbel 68ef892cd1 little fixes for android, remove the recursive part in autoclass for the moment 2012-08-14 17:21:55 +02:00
Mathieu Virbel 162d011912 add autoclass/ensureclass, auto reflection for JavaObject, and fixes around j_self 2012-08-14 15:09:48 +02:00