Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/kivy/pyjnius

Access Java classes from Python
https://github.com/kivy/pyjnius

Merge pull request #542 from hx2A/master

Improve performance of byte array parameters

3371e1012873fe373773c43b556d2796d10d102e authored over 4 years ago by Gabriel Pettier <[email protected]>
add documentation for pass_by_reference and the autoclass visibility

6dea8811cbde3edfae48db948cb1cd85c3327ccb authored over 4 years ago by Jim <[email protected]>
constructor unit tests

4a0ee3ee01fef573a9748cf7cbe57677f99a98d0 authored over 4 years ago by Jim <[email protected]>
unit tests for pass_by_reference

1e159689c1c2513e3fdbf1f6baaac895160d50ef authored over 4 years ago by Jim <[email protected]>
allow for argument specific pass by reference / value settings

b838402897fbfa1094e269f476f1ecc363c581af authored over 4 years ago by Jim <[email protected]>
use kwargs to indicate if variables should be passed by reference or by value

6542d7dcf10b42e4963a550609b159854cd1fe86 authored over 4 years ago by Jim <[email protected]>
add check for __setitem__ in release_args

beef66aa490e655a583ad3b97e22325fd9067b27 authored over 4 years ago by Jim <[email protected]>
Remove changes to ByteArray and minor cleanup

9e14516ddf35f2b674cc7814627f4b62629892bd authored over 4 years ago by Jim <[email protected]>
handle bytes objects like bytearray objects

1c7b66a7b7a79a83a91ce7656010a6bbfb2c17ef authored over 4 years ago by Jim <[email protected]>
new approach that would make pass by reference configurable for any method

056c44e45bd1e67ce5053247a9e02d8f0b618e8d authored over 4 years ago by Jim <[email protected]>
figure out byte transfer performance issues and clean up code

4b8d7eac7292638ee3977b07fa1f306469ef53e9 authored over 4 years ago by Jim <[email protected]>
a bit more test cases

261f4d6e66335252d8b269aa5d9c81ea6a1585bb authored over 4 years ago by Craig Macdonald <[email protected]>
added float check too

08b7ca42c39fde3e9a6cb9e72ad8168577689870 authored over 4 years ago by Craig Macdonald <[email protected]>
addresses #545 by calling check_assignable_from_str for int and float parameters

31ee83ec51674e2dab3222aaeda5a75dd1eb4c6a authored over 4 years ago by Craig Macdonald <[email protected]>
Made ByteArray mutable with __setattr__ method

331e9406273a92ede4b2b164a56de448aba24aef authored over 4 years ago by Jim <[email protected]>
Merge branch 'origin_master' into lambdas_v1

24e242ad7e4991f006905cc0ce98d750af42ccde authored over 4 years ago by Craig Macdonald <[email protected]>
fix missing closing parenthesis in comment

9f8774f64a4d878fb5d5cfaaee62dd54d1650990 authored over 4 years ago by Gabriel Pettier <[email protected]>
Revert "work in progress on JavaException"

This reverts commit 6781b12bcd440f23e055da3150d1568d99f1a5dc.

fe0c8cea47ec1a0e73d0c3853ff11af5507fb7b2 authored over 4 years ago by Craig Macdonald <[email protected]>
Release 1.3.0

Full Changelog: https://github.com/kivy/pyjnius/compare/1.2.1...1.3.0

Implemented enhancements:...

c083fce16662d3a3a50964bf78680c8c2c281cb1 authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #528 from AndreMiras/feature/refactor_jnius_config

Minor jnius_config.py refactors

d039a382d093910883dcb0edc3505bddbc76570e authored over 4 years ago by Gabriel Pettier <[email protected]>
Minor jnius_config.py refactors

Simple `check_vm_running()` for a single source of truth, refs:
https://github.com/kivy/pyjnius/...

2942576728749480abc424f1c4d5c8ed154e0655 authored over 4 years ago by Andre Miras <[email protected]>
Merge pull request #527 from AndreMiras/feature/more_jnius_config_tests

Increases jnius_config.py coverage

088fa1af9f3a5e7054df44bd0f038c8dfe1cbe66 authored over 4 years ago by Gabriel Pettier <[email protected]>
Increases jnius_config.py coverage

Covers new functions:
- add_options
- get_options
- set_classpath
- add_classpath

Not yet cover...

8c940ddacd6cd114aa6f87b34246db75f4a03c5d authored over 4 years ago by Andre Miras <[email protected]>
Merge pull request #526 from AndreMiras/feature/basic_jnius_config_tests

Basic jnius_config unit testing

b8575a8f2706892245842c55d685a94222a9e846 authored over 4 years ago by Andre Miras <[email protected]>
Basic jnius_config unit testing

This is a first try at unit testing this module (before refactoring it).
Follow up pull request ...

99c81b76a6f1ebf7fd94ac6b3d626cd301a1f9ee authored over 4 years ago by Andre Miras <[email protected]>
Merge pull request #525 from kivy/javac_encoding

use -encoding flag to make javac properly build tests on windows

ece9ce270cc0ad9270d21e451a1ef304cf48f0d3 authored over 4 years ago by Gabriel Pettier <[email protected]>
set encoding=UTF8 in the javac section of build.xml

as it doesn't work on windows otherwise

ad843f2a39979aee23eee98b515f018f9cd762fd authored over 4 years ago by Gabriel Pettier <[email protected]>
provide a stacktrace for where JVM was started.

384ae08993ce10aa07e64e5bcf81391ae9b91162 authored over 4 years ago by Craig Macdonald <[email protected]>
Merge pull request #520 from kivy/issue_428

tentative fix for #428

258778cb6ed40dd228a736a301cd9e1d9e3fb591 authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #524 from hx2A/master

remove <char> casts to allow for than 256 characters

c39f28316b7235b7c7c0a4d14915501f1d6910ca authored over 4 years ago by Gabriel Pettier <[email protected]>
use PY_MAJOR_VERSION < 3 to get version

7c12252ee95bb114942ef19cf5a3a442caf7184d authored over 4 years ago by Jim <[email protected]>
remove <char> cast for character arrays and strings

8feb5899304f370aa1cc6738d324004c36d09bfd authored over 4 years ago by Jim <[email protected]>
handle differences between 2.7 and 3

d675f61938128db69b5769969479f7e2957fd5dc authored over 4 years ago by Jim <[email protected]>
remove <char> cast to allow for than 256 characters

28afb20213c8226d4e39367a22d0053c7423007f authored over 4 years ago by Jim <[email protected]>
Merge pull request #519 from cmacdonald/show_javaexception_name

Always show the Java exception name

a1171d79cdd14eeaa9f1e3dd04d362c3d5c0b0f4 authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #522 from hx2A/master

consider "package protected" methods and fields in autoclass

d339fe70e1bc7a00f1ca4f7e883215d3c774fdea authored over 4 years ago by Gabriel Pettier <[email protected]>
take out the Modifier.isPackageProtected method

e66cc3c38584a6b1830cdb762268c717f2b4a6a1 authored over 4 years ago by Jim <[email protected]>
Merge pull request #523 from cmacdonald/expose_class_class

expose the class's class attribute

e803c0d3df01f0e23ee64ac0ef85314f7ab978c5 authored over 4 years ago by Gabriel Pettier <[email protected]>
expose the class's class attribute

fd8eb088f0eff616bc80a752126fe91a469b9315 authored over 4 years ago by Craig Macdonald <[email protected]>
visibility of package_protected methods and fields should follow include_protected or include_private if the class is or is not in the same package as the autoclass start package

712dbfdd4a2fbe7e7dadbb92f18a6b4b0bf9ac3f authored over 4 years ago by Jim <[email protected]>
consider package protected methods and fields in autoclass

a15b686e148e5fe1b937c49eba7f266fca1ec141 authored over 4 years ago by Jim <[email protected]>
Merge pull request #521 from kivy/issue_479

fix inheritance in example

cd067d7c8e19dcfd5bd5351785c3c87c8d0d2a1e authored over 4 years ago by Gabriel Pettier <[email protected]>
fix inheritance in example

closes #479

de6c6e9b7ac68e6dcd1d1264b5ddba50d4863e98 authored over 4 years ago by Gabriel Pettier <[email protected]>
try to be smarter about detecting libjvm.so

also create a new env variable JVM_PATH as a workaround for users for
which the system doesn't work

eb1bb63b84e63b631a9ae732a8086ad3a362ba24 authored over 4 years ago by Gabriel Pettier <[email protected]>
Always show the exception name

8bfa2578cca4917c060d3b6d5854cd44c7305d47 authored over 4 years ago by Craig Macdonald <[email protected]>
detail lambda support

66b267e42ece3c46c09cd2af40e081d19078206b authored over 4 years ago by Craig Macdonald <[email protected]>
Merge pull request #518 from hx2A/master

ensure autoclass prefers methods over properties

54f400494dc5389f0448c77cd5088423be9e2d7c authored over 4 years ago by Gabriel Pettier <[email protected]>
add a comment to explain the relationship between JavaBeans and properties.

99bd241a90d919b20957134ec99465e057ffcf30 authored over 4 years ago by Jim <[email protected]>
unit test and code to ensure autoclass prefers methods over properties

bd014cbe747ed08aac640d7b88ac1952943dac21 authored over 4 years ago by Jim <[email protected]>
Merge pull request #517 from cmacdonald/signature_exception

make signature exception more useful

97b0dd3d418d609f5e3bf58006d51e33e2b9cb42 authored over 4 years ago by Gabriel Pettier <[email protected]>
make signature exception more useful

f9d5e4b0fe6cf33424c0de360d63a4b00147a6dd authored over 4 years ago by Craig Macdonald <[email protected]>
remove "holds"; more test cases; detect lambda in signature scoring

2294c2d514b642339de811d6616da7bbf3a9262e authored over 4 years ago by Craig Macdonald <[email protected]>
Merge remote-tracking branch 'origin/master' into lambdas_v1

30bbac7b1c02ee360f2b53908c08a6a5085d9231 authored over 4 years ago by Craig Macdonald <[email protected]>
ditto

c8aa4479418bd32bbd2aebd57e562a2dbc3750cd authored over 4 years ago by Craig Macdonald <[email protected]>
work in progress on JavaException

6781b12bcd440f23e055da3150d1568d99f1a5dc authored over 4 years ago by Craig Macdonald <[email protected]>
Merge pull request #500 from hx2A/master

add include_protected and include_private options to autoclass

1ab9573b15a4a05903282a5d74f7b7cabbebb116 authored over 4 years ago by Gabriel Pettier <[email protected]>
Update jnius/reflect.py

1c56e91d59004ec25960a2e556def8ce3e51b717 authored over 4 years ago by Gabriel Pettier <[email protected]>
add unit test to ensure autoclass prefers methods over fields

e76dd3370a38fadfc17e71c847d206b266ea867a authored over 4 years ago by Jim <[email protected]>
make include_protected and include_private default to true and prefer methods over fields

8b63e56a55b3e484cdafca66e296ab8367f417dd authored over 4 years ago by Jim <[email protected]>
clarify heritage

47fd21f74dd7a2bddcb450e76910fc2d32076ded authored over 4 years ago by Craig Macdonald <[email protected]>
remove extraneous comment

46a6af893bda2490048910f9e6288e97580af382 authored over 4 years ago by Craig Macdonald <[email protected]>
remove unused field

793b8bbec0b87339528dda2bed7b5e65933f2a3c authored over 4 years ago by Craig Macdonald <[email protected]>
PoC of passing Python Lambdas as Java lambdas

2182eee89253d3c7cc247607c7eb36bafbf52112 authored over 4 years ago by Craig Macdonald <[email protected]>
Merge pull request #508 from kollivier/exception_details

Let the check_exception handler raise the error with more details.

a63331da058cf345d2630bb2e19d25914692e38e authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #512 from cmacdonald/patch-1

documentation clarifications including for #511

635f1197607045dfd8b894c11ff7d9cbf7f28bc7 authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #514 from cmacdonald/static_fields_rebase

reading static fields from instances, and writing to static fields (rebase)

54811fc9707efdde9029981f5d5f89fc0437dd05 authored over 4 years ago by Gabriel Pettier <[email protected]>
dont refer to method that doesnt exist

5d2417e24f9b9061f663d54dcf957138adb82534 authored over 4 years ago by Craig Macdonald <[email protected]>
improved test for static fields

59e8296bbf6927cb727f59ecc42ea391c0266fa2 authored over 4 years ago by Craig Macdonald <[email protected]>
fixes writting to StaticField through the class

84d6591d50a7e70240e04dbe39d6f41421b84b9a authored over 4 years ago by Gabriel Pettier <[email protected]>
reading static fields from instances, and writing to static fields

7f084beed84a38fc6f6b2f6164610a43a4fc6bd1 authored over 4 years ago by Craig Macdonald <[email protected]>
clarifications including viz. #511

f7f34bb831506951b6f7ae8cb2860e9072c939f0 authored over 4 years ago by Craig Macdonald <[email protected]>
Merge pull request #510 from cmacdonald/patch-1

missing pxi files in setup.py

837659a4e61a799abcfff13a224b604d41136e58 authored over 4 years ago by Gabriel Pettier <[email protected]>
missing pxi files in setup.py

this prevents changes in the relevant files from being observed and causing Cython to recompile

ee293c3e3af9cd5321c14482269b326af91300b2 authored over 4 years ago by Craig Macdonald <[email protected]>
Merge branch 'master' into master

c9c085066d684fccf9c64400eee14bb8c375bb35 authored over 4 years ago by Jim <[email protected]>
Let the check_exception handler raise the error with more details.

6822a53a736e4930c013e7234d614292ab89d379 authored over 4 years ago by Kevin Ollivier <[email protected]>
Merge pull request #507 from kivy/fix_iterators_py2

Fix iterators py2

84613641a76b1d23958a5b8a45889c5c1b2e084a authored over 4 years ago by Gabriel Pettier <[email protected]>
implement __iter__ in Py2Iterator for cleanness's sake

553fc05b746eedcc8306cbcf1587856a1a3dadc6 authored over 4 years ago by Gabriel Pettier <[email protected]>
fix log level checks

3b255087fa442b9414fe2e5fd4b5192c15b4ac40 authored over 4 years ago by Gabriel Pettier <[email protected]>
fix issue with iterators in python2

not a *great* solution, but shouldn't impact code that uses the java
api, and allow using the py...

8196cd4677f5a575f897a4f71e2ca1fdcfdcea8e authored over 4 years ago by Gabriel Pettier <[email protected]>
cleanup

8a329891a0f9251c4a4df136da43d76b77b0a0ea authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #506 from cmacdonald/more_dunder_protocols

implements more dunder protocols

dd8fbdce175c4b4544fafb85d38ac7e048cfbb03 authored over 4 years ago by Gabriel Pettier <[email protected]>
address review feedback

6cd081d6189e8786dcdceceb87bc37fabcee49c3 authored over 4 years ago by Craig Macdonald <[email protected]>
even more unit tests

8b393126ebb5aee6cd6df047eb09e24d9b12d3c4 authored over 4 years ago by Jim <[email protected]>
more unit tests

df1fe04bfd4a30d58beae16e14a99e20cd375034 authored over 4 years ago by Jim <[email protected]>
implements more dunder protocols for Java Collections Framework, Iterators and Comparable

91f62d015c65fa39b7a076bc944b9a9af6619df0 authored over 4 years ago by Craig Macdonald <[email protected]>
MetaJavaClass class cache needs to take into account include_protected and include_private

2e227ba04d2f20f13bf62a80fb5acc3b7fa82096 authored over 4 years ago by Jim <[email protected]>
make default option public only

5715c4c4a398c992209ef4219ad7e155e75059b6 authored over 4 years ago by Jim <[email protected]>
merged with master branch

e7f7e552b2369ed695be1495cfb4a1685b9a5a6d authored over 4 years ago by Jim <[email protected]>
add include_private and _protected params to autoclass

d63d2601ac9077e666ce4af4e56515a7584f7d9b authored over 4 years ago by Jim <[email protected]>
Merge pull request #497 from cmacdonald/master

add support for java.lang.AutoCloseable #494

972c863d9db02f76914f4546ad7b4ba5b7880f0a authored over 4 years ago by Gabriel Pettier <[email protected]>
Merge pull request #503 from cmacdonald/mac_java_home_rebase

macOS - use /usr/libexec/java_home to detect Java

49f8bd387d1f589016b11a63abccd396f5216439 authored over 4 years ago by Gabriel Pettier <[email protected]>
moved __len__ to java.util.Collection plus tests, as per review

0c1db7b280b85493da894e21bd2f608bb17977e6 authored over 4 years ago by Craig Macdonald <[email protected]>
addressed comment feedback

af7cd7b4ea38cf2be2b6aaefb5d597869788ab67 authored over 4 years ago by Craig Macdonald <[email protected]>
address review on #503

33dace4bcc5f961718879956262dc511fe91e01f authored over 4 years ago by Craig Macdonald <[email protected]>
change test name

7a195a42a1d9ae8edf998219f5761829c363cc6d authored over 4 years ago by Craig Macdonald <[email protected]>
handle no java installed case based on exit code

ad42b7ebf6cc381920e6907febe301fd34b6780a authored over 4 years ago by Craig Macdonald <[email protected]>
detect JVM location on Mac using /usr/libexec/java_home

e6ee4fdba380a55cfdb29a4eb6cb9a83a42527b1 authored over 4 years ago by Craig Macdonald <[email protected]>
checkin unittests for non-public fields fix

95ed541b23a6ffdd4d924989fcb13f2f18bf21d0 authored over 4 years ago by Jim <[email protected]>
make autoclass create classes with all available fields, not just the public ones

64ee8a597c796df79f8157018fb86de3c8ded9d9 authored over 4 years ago by Jim <[email protected]>
rename to protocol_map, change comments

afe15b00a65073bbfe0dcf51a8a26b0bd7c4ea73 authored over 4 years ago by Craig Macdonald <[email protected]>