Commit Graph

271 Commits

Author SHA1 Message Date
Gabriel Pettier 84d6591d50 fixes writting to StaticField through the class 2020-04-19 18:20:11 +01:00
Craig Macdonald 7f084beed8 reading static fields from instances, and writing to static fields 2020-04-19 18:17:59 +01:00
Gabriel Pettier 553fc05b74 implement __iter__ in Py2Iterator for cleanness's sake 2020-04-11 20:18:41 +02:00
Gabriel Pettier 3b255087fa fix log level checks 2020-04-11 20:08:25 +02:00
Gabriel Pettier 8196cd4677 fix issue with iterators in python2
not a *great* solution, but shouldn't impact code that uses the java
api, and allow using the pythonic api.
2020-04-11 20:04:50 +02:00
Gabriel Pettier 8a329891a0 cleanup 2020-04-11 19:58:30 +02:00
Craig Macdonald 6cd081d618 address review feedback 2020-04-11 15:25:55 +01:00
Craig Macdonald 91f62d015c implements more dunder protocols for Java Collections Framework, Iterators and Comparable 2020-04-11 10:01:29 +01:00
Gabriel Pettier 972c863d9d
Merge pull request #497 from cmacdonald/master
add support for java.lang.AutoCloseable #494
2020-04-09 14:34:34 +02:00
Craig Macdonald 0c1db7b280 moved __len__ to java.util.Collection plus tests, as per review 2020-04-09 09:52:08 +01:00
Craig Macdonald 33dace4bcc address review on #503 2020-04-09 09:36:39 +01:00
Craig Macdonald ad42b7ebf6 handle no java installed case based on exit code 2020-04-09 01:41:34 +01:00
Craig Macdonald e6ee4fdba3 detect JVM location on Mac using /usr/libexec/java_home 2020-04-09 01:41:23 +01:00
Craig Macdonald afe15b00a6 rename to protocol_map, change comments 2020-04-08 21:46:37 +01:00
Craig Macdonald cbc9b21290 Merge branch 'master' of https://github.com/kivy/pyjnius 2020-04-08 21:29:37 +01:00
Craig Macdonald 6d7091fe53 pep8 and prints made into log.debug, as per review 2020-04-08 17:04:22 +01:00
Craig Macdonald b8dd0b398d addressed feedback on class_hierachy and debug statement 2020-04-08 09:42:59 +01:00
Craig Macdonald c80ddfc39d addressed feedback 2020-04-07 21:16:47 +01:00
Craig Macdonald 049c97d55e issue 465 - revised reflect 2020-04-07 16:04:32 +01:00
Craig Macdonald 21f3c25166 remove java.io.Closeable in interface_map - AutoCloseable is enough 2020-04-07 12:52:24 +01:00
Craig Macdonald 9a3bcaba45 add support for java.lang.AutoCloseable #494 2020-04-04 10:02:05 +01:00
Gabriel Pettier 4063737cbf fix test_newinstance, returned obj is now a Child
remove faulty duplicate line that made the previous test useless
2020-04-04 00:26:19 +02:00
Gabriel Pettier d4631f3ba2 fix quickfix :] 2020-04-03 23:38:27 +02:00
Gabriel Pettier b3c7260199
Merge pull request #489 from cmacdonald/master
improvements to specified constructor signature selection
2020-04-03 23:28:09 +02:00
Gabriel Pettier 123b136b12 use getmethods 2020-03-26 16:06:10 +00:00
Guillaume Gay c18ebafba6
Fixes #481
See the bug description in #481
2020-03-25 17:43:06 +01:00
Craig Macdonald f9300aa07d clear scores array when match is found 2020-03-02 22:44:02 +00:00
Craig Macdonald b052833e2a adding quotes for clarity 2020-03-02 22:41:57 +00:00
Craig Macdonald 9ef0227f70 throw error is requested signature not found 2020-03-02 22:37:17 +00:00
Craig Macdonald 9c2e52ca44
change get to pop as per review 2020-02-09 20:48:58 +00:00
Craig Macdonald 49f9c37aeb
change keyword to signature 2020-02-09 20:44:26 +00:00
Craig Macdonald cdd653edf5 Python workarounds for wrong constructor selection. #474 2020-02-08 23:10:38 +00:00
Gabriel Pettier a5d3bb4069 expose the signatures as a signature object instead of `__dir__` 2019-12-15 11:01:10 +01:00
Young Ryul Bae 1ee5d29587 add more comments and typo fix 2019-12-15 10:51:41 +01:00
Young Ryul Bae f710ac56e8 add dunder __dir__ for java methods
For readable / usable propose, added __dir__ to JavaMethod & JavaMultipleMethod. 
It is more human readable than JNI signatures.
2019-12-15 10:51:41 +01:00
Gabriel Pettier e685086aba bump to 1.2.2-dev0 2019-12-05 23:58:02 +01:00
Gabriel Pettier a6102a3692
Merge pull request #460 from wdscxsj/master
Keep quiet when deducing jdk_home from JAVA_HOME
2019-12-05 14:14:19 +01:00
yyang 64d8eef4f9 Keep quiet when deducing jdk_home from JAVA_HOME. 2019-12-05 16:21:22 +08:00
Gabriel Pettier ede72eb1c9 1.2.1 release 2019-12-05 00:08:23 +01: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 76e100b0d5 build all manylinux in one step, no matrix 2019-12-01 02:47:47 +01:00
Gabriel Pettier cbd79e7716 bump 2019-11-30 17:04:26 +01:00
Gabriel Pettier 9ee1183cda fix import in python 3.8/windows 2019-11-30 16:27:24 +01:00
Gabriel Pettier b042e82d42 fix import of env module at runtime 2019-11-30 16:27:24 +01:00
Gabriel Pettier 36b10ab900 better guess of java home 2019-11-30 16:27:24 +01:00
Gabriel Pettier 30cda7518f manylinux for linux build 2019-11-30 16:27:24 +01:00
Gabriel Pettier 810e391092 move env logic to submodule, allow runtime lookup
this should allow building portable wheels
2019-11-30 16:21:28 +01:00
Gabriel Pettier fe41ee5bd5 Continious Integration using github actions 2019-11-30 15:47:48 +01:00