Commit Graph

706 Commits

Author SHA1 Message Date
Gabriel Pettier 4e37b72838 Fix ignored exceptions breaking tests
Add a few except clauses on methods that missed them, especially populate_args
that was failing tests because of it.
2021-07-21 14:06:28 +02:00
Gabriel Pettier ba3f42664c
Merge pull request #515 from cmacdonald/lambdas_v1
Allow passing Python Lambdas as Java lambdas
2021-07-08 23:23:01 +02:00
Gabriel Pettier a6af91a28c
Merge pull request #595 from dogatekin/master
Use Python standard library `which` instead of OS `which`
2021-07-08 02:10:56 +02:00
Doga Tekin 13e741dc8b Use Python standard library which instead of OS which 2021-06-18 13:12:28 +02:00
Gabriel Pettier 1692c95099
Merge pull request #594 from bgyori/pyproject
Add pyproject.toml to specify Cython as a build requirement
2021-06-05 02:20:17 +02:00
Ben Gyori 70de3f4e1f Remove build back-end 2021-06-04 19:03:14 -04:00
Ben Gyori aab3e67bfa Add pyproject.toml 2021-06-04 18:51:22 -04:00
Gabriel Pettier 5d086c0274
Merge pull request #584 from hajimurtaza/patch-1
Updated android.rst
2021-06-02 10:12:23 +02:00
Gabriel Pettier c0afd96d2c fix docs to refer to org.kivy.android.PythonActivity, not renpy 2021-03-27 19:12:35 +01:00
Murtaza Haji 3473fc1d8e
Updated android.rst
Reflect py3 print command
2021-03-10 10:00:39 -05:00
Gabriel Pettier eb49689e82
Merge pull request #569 from obfusk/fix-set_resolve_info
set_resolve_info: replace j_self w/ resolve_static
2020-11-14 12:20:44 +01:00
Gabriel Pettier 0d5091dc66
Merge pull request #572 from kivy/tshirtman-patch-1
Update README.md
2020-10-26 01:06:36 +01:00
Gabriel Pettier 702ada5b86
Merge pull request #556 from gasull/patch-1
Update README.md
2020-10-26 01:06:02 +01:00
Gabriel Pettier aff464dec6
Update README.md
use print() instead of print to make the example code python3 compatible.
2020-10-25 01:42:05 +02:00
Felix C. Stegerman b4e4e3fc0b
set_resolve_info: replace j_self w/ resolve_static 2020-10-23 20:33:07 +02:00
Gabriel Pettier 047668d4c3
Merge pull request #566 from hx2A/master
fix bug for constuctors with variable arguments
2020-10-23 00:03:47 +02:00
Jim 88ccf7357b include classname in error message 2020-10-22 17:18:38 -04:00
Jim c00f1e20c8 fix signature hints when used for constructors with varargs 2020-10-22 16:39:26 -04:00
Jim eab00790bc improve error message for constructor not matching arguments 2020-10-22 16:10:11 -04:00
Jim 653f8728d2 Merge branch 'master' of github.com:kivy/pyjnius 2020-10-22 15:52:28 -04:00
Gabriel Pettier 80815da495
Merge pull request #567 from obfusk/fix-static-methods
Fix static methods
2020-10-22 19:10:52 +02:00
Felix C. Stegerman 445839df08
fix constructor tests 2020-10-22 19:01:16 +02:00
Jim 27a9ef4ee5 fix bug for constuctors with variable arguments 2020-10-22 12:10:45 -04:00
Felix C. Stegerman 46c4682e6a
do not allow calling non-static methods on classes 2020-10-22 18:08:51 +02:00
Gabriel Pettier 205e1432f3
Merge pull request #565 from obfusk/update-python-versions
Update python versions
2020-10-22 15:07:50 +02:00
Gabriel Pettier eb6968c62c
Merge pull request #564 from obfusk/ci-on-pull-request
CI: run on pull request & add missing badge
2020-10-22 15:06:53 +02:00
Felix C. Stegerman ac3f2e72f5
CI: use setup-python@v2 2020-10-22 14:18:26 +02:00
Felix C. Stegerman 57d1be5066
CI: run on pull request & add missing badge 2020-10-22 13:57:33 +02:00
Felix C. Stegerman 7768eed3af
update python versions 2020-10-22 13:51:36 +02:00
Gabriel Pettier d30accc64d
Merge pull request #536 from kivy/ci_python_x86
add missing architecture for python setup in actions
2020-10-22 00:03:40 +02:00
Gabriel Pettier d2740a86cf
Merge pull request #560 from obfusk/x86-ci
CI: added x86 workflow
2020-10-21 23:52:10 +02:00
Felix C. Stegerman 70985b638a
CI: added x86 workflow 2020-10-21 21:06:12 +02:00
Gabriel Pettier a89929caf4
Merge pull request #558 from cmacdonald/improved_method_error
Improve error message on method not found
2020-10-20 23:59:21 +02:00
Gabriel Pettier afcc535afc actually use cython language_level=3 + fix issue! 2020-10-20 21:37:04 +02:00
Gabriel Pettier 06d96a4d88 add missing architecture for python setup in actions
also drop python2 builds
2020-10-20 21:37:04 +02:00
Craig Macdonald 9de2f9a5a0 Improve error message on method not found 2020-10-20 18:48:37 +01:00
Daniel Gonzalez Gasull 69b9cafa39
Update README.md
Fix broken hyperlink.
2020-10-07 02:03:44 +00:00
Mathieu Virbel 88212e2e61
Merge pull request #546 from cmacdonald/545_typechecking
Add in missing assignable check for int parameters etc.
2020-10-04 14:02:50 +02:00
Craig Macdonald 12e2f11d94
Merge branch 'master' into lambdas_v1 2020-07-16 10:05:31 +01:00
Gabriel Pettier 7dd6c8e679
Merge pull request #549 from bowensong/fix_jvm_options
Fixes #548 JVM options are not correctly set by jnius_config.set_options()
2020-07-10 22:30:46 +02:00
Bowen Song c64f64e50a Fixes #548 JVM options are not correctly set by jnius_config.set_options() 2020-07-10 16:17:41 +01:00
Gabriel Pettier 3371e10128
Merge pull request #542 from hx2A/master
Improve performance of byte array parameters
2020-06-13 12:20:22 +02:00
Jim 6dea8811cb add documentation for pass_by_reference and the autoclass visibility 2020-06-12 20:29:22 -04:00
Jim 4a0ee3ee01 constructor unit tests 2020-06-12 10:45:33 -04:00
Jim 1e159689c1 unit tests for pass_by_reference 2020-06-12 10:27:20 -04:00
Jim b838402897 allow for argument specific pass by reference / value settings 2020-06-11 14:46:09 -04:00
Jim 6542d7dcf1 use kwargs to indicate if variables should be passed by reference or by value 2020-06-11 13:28:42 -04:00
Jim beef66aa49 add check for __setitem__ in release_args 2020-06-10 10:27:29 -04:00
Jim 9e14516ddf Remove changes to ByteArray and minor cleanup 2020-06-10 09:34:40 -04:00
Jim 1c7b66a7b7 handle bytes objects like bytearray objects 2020-06-09 16:20:28 -04:00