Gabriel Pettier
98e4f2f1c3
Merge pull request #336 from abrasive/fix_bytes
...
resolve_class: use bytes default objects when required
2018-08-23 13:29:49 +02:00
Gabriel Pettier
2cf985da48
Merge pull request #347 from JPDSousa/patch-1
...
Fix class name generated by autoclass
2018-07-18 19:02:12 +02:00
João Sousa
354bc27fdb
Fix class name generated by autoclass
...
This is just a minor fix. It is important to show the determinism of generated class names
2018-07-18 17:17:51 +01:00
Gabriel Pettier
61149f2043
Merge pull request #299 from drmoose/python-implementing-interface-fixes
...
Fixes for Implementing a Java Interface (DONE BUT CANT REMOVE wip FLAG)
2018-04-30 14:59:46 +02:00
Gabriel Pettier
1845a3d7a9
Merge branch 'master' into python-implementing-interface-fixes
2018-04-30 14:44:44 +02:00
Gabriel Pettier
d5468fb800
remove a few end of line spaces
2018-04-30 14:34:58 +02:00
Gabriel Pettier
82d872bbbe
also JavaMultipleMethod
...
closes #327
2018-04-30 14:34:15 +02:00
Gabriel Pettier
4d811e766e
expose JavaStaticMethod and JavaStaticField in jnius
2018-04-30 14:32:57 +02:00
Gabriel Pettier
58317e1e8b
replace "java" import with jnius
...
fixes #75
2018-04-30 13:54:43 +02:00
James Laird-Wah
a5e79e809f
resolve_class: use bytes default objects as req'd
...
Fixes a crash on Python 3.5 where PyBytes_Check() does not accept the
str() objects previously supplied.
2018-04-23 20:26:02 +10:00
Derek J. Lambert
3a6e6a3471
Add test for getter names starting with "is"
2018-01-30 09:21:37 -06:00
Derek J. Lambert
62486974f5
If method starts with "is" only remove 2 characters
2018-01-30 09:20:45 -06:00
Brandon Herzog
8b0c29cfd1
Ensure jnius_config.set_options and jnius_config.set_classpath set options as list types.
2017-12-19 12:58:38 -05:00
Dan
d9f6f0ab19
Add missing string conversion.
2017-12-13 09:57:37 -05:00
Dan
e7dc9be08b
Remove always-false isinstance check.
2017-12-13 09:57:34 -05:00
Dan
de76124bfc
Add PythonJavaClass special case to subclasscheck.
2017-12-13 09:45:14 -05:00
Dan
50b66da8d4
Fix uninitialized pointers.
2017-12-13 09:34:27 -05:00
Dan
8d66f198db
Add tests for isinstance, fix edge cases.
2017-12-11 14:04:32 -05:00
Dan
9d0d0519bc
Add __instancecheck__ to MetaJavaClass.
2017-12-11 14:04:32 -05:00
Dan
69766e9caa
Check j_self for null when converting PythonJavaClass objects.
2017-12-11 14:04:32 -05:00
Mathieu Virbel
d2ef91b73e
Merge pull request #315 from drmoose/fix-duplicate-function
...
Remove earlier (pre-utf16) implementation of convert_jstring_to_python
2017-12-11 20:02:53 +01:00
Dan
16bbb46def
Remove earlier (pre-utf16) implementation of convert_jstring_to_python
2017-12-11 12:56:11 -05:00
Mathieu Virbel
5d1e563fd4
Merge pull request #303 from psader/feature/fix_reflext_indexerror
...
Fix bad JavaException in _getitem
2017-12-11 18:05:42 +01:00
Mathieu Virbel
141800410f
Merge pull request #308 from drmoose/add_missing_nativeinvocationhandler
...
Add missing NativeInvocationHandler
2017-12-11 18:03:48 +01:00
Mathieu Virbel
3dec5d9610
Merge pull request #285 from brandonherzog/fix-unicode
...
Switching to JNI UTF-16 API for strings to fix supplementary unicode char encoding
2017-12-11 18:00:13 +01:00
brandonherzog
85131bc4ee
Merge branch 'master' into fix-unicode
2017-12-05 19:50:20 -05:00
Alexander Taylor
19ae9b0721
Merge pull request #310 from gdyuldin/fix_print_exc_call
...
Fix traceback.print_exc call
2017-11-25 14:54:15 +00:00
Georgy Dyuldin
c9b6348a2b
Fix traceback.print_exc call
...
`traceback.print_exc` expects `limit` as a first argument. Passing
excepiton instance (AssertionError in example below) raises TypeError
inside of traceback module:
```
TypeError: unorderable types: AssertionError() >= int()
```
2017-11-20 18:21:27 +03:00
Dan
f3d4f9fec4
Remove redunant .encode()
2017-10-29 17:42:35 -04:00
Dan
75ba217d34
Search for a javac based on JAVA_HOME/JDK_HOME.
2017-10-29 14:53:16 -04:00
Dan
c3188ec927
Specify a target bytecode level.
2017-10-24 10:46:22 -04:00
Dan
b0037b0631
Add missing javac call.
2017-10-24 10:33:12 -04:00
Jesse Crossen
1b6d0ababd
Include NativeInvocationHandler in the installed package and ensure its location is added to the path.
...
Close #288 , #223 , #137 .
2017-10-24 09:22:04 -04: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
Alexander Taylor
52ec55563e
Updated highly outdated Android installation info
2017-09-22 17:15:39 +01:00
Mathieu Virbel
72be57a3bd
Merge pull request #234 from espes/import-crash
...
check exceptions in find_javaclass
2017-08-22 10:28:00 +02:00
Mathieu Virbel
406dd2099f
Merge pull request #268 from b3b/empty_bytearray
...
bytearray: fix #267 operations on empty arrays
2017-08-22 10:27:33 +02:00
Mathieu Virbel
efe610b89d
Merge pull request #271 from InvalidCo/list_getitem_indexerror
...
for...in iteration of list interfaces
2017-08-22 10:26:59 +02:00
Mathieu Virbel
6f8d846fbe
Merge pull request #291 from jtoledo1974/master
...
Fixed mishandling of long arguments in multiple methods. Added test cases.
2017-08-21 18:59:11 +02:00
Juan Toledo
a912e1a87e
Fixed long literals for Python3 compatibility
2017-08-21 18:00:04 +02:00
Juan Toledo
e3dad6b5f5
Replaced calculation with its value
2017-08-21 17:33:28 +02:00
Juan Toledo
0163333954
Fixed multiple method matching when passing long arguments that cannot actually be represented as ints in java
2017-08-21 17:17:07 +02:00
Juan Toledo
ee87ed735c
Fixed multiple method matching when passing long arguments that can actually be represented as ints in java
2017-08-21 17:06:06 +02:00
Juan Toledo
cb099b8bc3
Merge branch 'master' of https://github.com/jtoledo1974/pyjnius
2017-08-21 16:51:14 +02:00
Juan Toledo
f0c5b97915
Added new tests to confirm that longs are not properly handled with multiplemethods
2017-08-21 16:48:27 +02:00
Akshay Arora
6ad8740400
Merge pull request #272 from malverick/android_signature
...
See signature for android class methods
2017-08-21 15:21:37 +05:30
Akshay Arora
e428ced087
Merge pull request #290 from madhawav/master
...
Fixed issue #279 which causes callbacks to fail in Windows 64 bit
2017-08-21 14:49:05 +05:30
madhawav
19b8a0bfcf
Fixed issue #279 which causes callbacks to fail in Windows 64 bit
2017-08-11 23:16:08 +05:30
Brandon Herzog
61592eedb0
Switching to JNI UTF-16 API for strings to fix supplementary unicode char encoding
2017-07-04 00:09:54 -04:00
malverick
34143a55a4
See signature for android class methods
2017-05-14 21:57:43 +05:30