Commit Graph

423 Commits

Author SHA1 Message Date
Peter Badida d1647b6952 Create compat file to handle basestring issues and more 2019-01-05 15:09:26 +01:00
Peter Badida e83ca49978 Add test for Python to Java function arguments conversion 2019-01-03 22:42:59 +01:00
Peter Badida 291c9cc071
Merge pull request #386 from kivy/conv_pyarray_jobject
Convert Python array-like structures properly to Java Objects
2019-01-03 21:27:08 +01:00
Peter Badida 6f49798bd9
Remove incorrect explanation of no matching method error 2019-01-03 21:23:49 +01:00
Peter Badida 6a59b4eb06 Add example of nested arrays and Python tuple/list as func arg 2019-01-03 00:06:41 +01:00
Peter Badida 01c2590298 Handle case when passing an empty Python tuple/list to Java function as argument 2019-01-02 23:45:47 +01:00
Peter Badida 4d574860cb Fix indentation and debug info in JavaExceptions
no 'definition' or 'pyarray' was visible due to using JavaException.__init__ counterintuitively (98e4f2f1c3/jnius/jnius_export_class.pxi (L11)
2019-01-02 22:27:02 +01:00
Peter Badida 32ed8b9113 Allow conversion from Python array-like structures to bare java.lang.Object 2019-01-02 21:10:35 +01:00
Peter Badida f77a87d3fd Add minor explanation for the no matching methods error 2019-01-02 21:09:37 +01:00
Peter Badida a28140bac8
Merge pull request #378 from kivy/doc_metaclass
Add note about incompatibility of __metaclass__ in Python 3
2018-12-16 00:09:08 +01:00
Peter Badida ffe595cdc7 Add note about incompatibility of __metaclass__ in Python 3
new behavior specified in PEP 3115 (https://www.python.org/dev/peps/pep-3115/)
2018-12-16 00:06:28 +01:00
Richard Larkin 4034c68752 Doc tweaks (#377)
* Grammar tweaks

* Added missing space, replace like with e.g.

* More grammar tweaks

* Grammar tweaks
2018-12-15 23:27:53 +01:00
Peter Badida 1c74839e1c
Bump to 1.1.5.dev0 2018-12-05 00:32:19 +01:00
Peter Badida e4a248cb3a
Fix deployment due to broken matrix 2018-12-05 00:01:03 +01:00
Peter Badida 7bccd20523
Bump to 1.1.4 2018-12-04 23:55:16 +01:00
Peter Badida e90a93a857
Merge pull request #374 from kivy/condaforge
Add instructions for installing pyjnius in conda
2018-12-04 23:09:47 +01:00
Peter Badida 83ba82c6c3
Merge pull request #373 from kivy/packaging
Add instructions for packaging with PyInstaller
2018-12-04 23:07:46 +01:00
Peter Badida 8820407e3d Add instructions for installing pyjnius in conda
Build repo: https://github.com/conda-forge/pyjnius-feedstock, closes #348
2018-12-04 23:06:52 +01:00
Peter Badida 2ff175f0fc Add instructions for packaging with PyInstaller 2018-12-04 22:31:28 +01:00
Hadrien Mary 85215f75e8 Fix tests 2018-12-01 19:29:35 +01:00
Hadrien Mary f5b80af9c3 New line 2018-12-01 19:29:33 +01:00
Hadrien Mary 5d7e22a90f Remove debug print 2018-12-01 19:29:32 +01:00
Hadrien Mary 657c7fef24 Disable some tests in Python 2 2018-12-01 19:29:31 +01:00
Hadrien Mary d55fd1a5d5 Add appveyor CI 2018-12-01 19:29:19 +01:00
psader fdc4ee75fc Fix leaked array elements by deleting local refs
Add missing calls to 'DeleteLocalRef' to clean up `jobject*` converting
array data from Python to Java.
2018-11-29 22:32:37 +01:00
Peter Badida 69a01f5385
Merge pull request #366 from hadim/fix-osx
On OSX we should favor Java distribution that declare JAVA_HOME
2018-11-28 22:16:21 +01:00
Hadrien Mary 0a7b72cc0b Switch from JAVA_HOME to FRAMEWORK for darwin in setup.py + decode using utf-8 2018-11-28 15:30:32 -05:00
Peter Badida 6c2f7a5997
Merge pull request #369 from kivy/fix_setup
Remove setup.py from installed package
2018-11-27 18:59:14 +01:00
Peter Badida 881daa395f Remove setup.py from installed package 2018-11-27 18:53:01 +01:00
Hadrien Mary 5b95e578d6 On OSX we should favor Java distribution that declare JAVA_HOME 2018-11-24 18:24:08 -05:00
Hadrien Mary 8aa91781f6 Fix Java 8 and Java 9+ detection on OSX, support conda (#364)
* Fix OSX setup

* OSX on Travis

* Use generic

* Travis: osx first

* Get correct miniconda version in Travis

* Ix Travis again

* Make travis less verbose

* Travis osx first

* Disable Java 8/OSX

* Use JAVA_HOME for osx

* Fix mistake in variables
2018-11-24 20:01:51 +01:00
Peter Badida 940b039a2a
Merge pull request #363 from hadim/fix-lib-location
Fix lib location
2018-11-24 10:57:27 +01:00
Hadrien Mary 95323aa1d8 Add Java 11 to travis build 2018-11-22 17:35:35 -05:00
Hadrien Mary 35c95f94cc Add Java 10 to travis build 2018-11-22 14:26:09 -05:00
Hadrien Mary 8f740906d7 Test more Python/Java versions in Travis 2018-11-22 12:25:27 -05:00
Hadrien Mary 763fad6cb0 Fix libary location for Java >=9. Fix #304 2018-11-22 11:50:52 -05:00
Mathieu Virbel 5e19dbe425
Merge pull request #361 from kivy/docs_win_install
Update installation instructions
2018-10-24 13:55:11 +02:00
Peter Badida 15eb4fa069 Update installation instructions 2018-10-22 23:46:56 +02:00
Peter Badida fdd7e00a4b
Merge pull request #360 from kivy/KeyWeeUsr-patch-1
Bump to new dev version
2018-10-22 22:26:53 +02:00
Peter Badida d75c428fb7
Bump to new dev version 2018-10-22 22:25:29 +02:00
Peter Badida 0cbb1b48ec
Merge pull request #359 from kivy/KeyWeeUsr-patch-1
Bump to 1.1.3
2018-10-22 21:39:09 +02:00
Peter Badida 3d9ae0275a
Bump to 1.1.3 2018-10-22 21:35:54 +02:00
Mathieu Virbel 9178018709
Merge pull request #356 from kivy/sdist_travis
Source distribution via Travis
2018-10-19 23:13:44 +02:00
Peter Badida 1b6f6296e5 Add deployment step to travis, move to matrix 2018-10-19 22:38:05 +02:00
Peter Badida ed16a6f8f7 Fix style issues in setup.py 2018-10-19 22:36:48 +02:00
Peter Badida c1719540ba Add separate setup file for source distribution 2018-10-19 22:36:48 +02:00
Armin Sebastian 6233ffe641
Merge pull request #355 from kivy/dessant-patch-1
Remove notification webhook from travis
2018-10-17 18:12:44 +03:00
Armin Sebastian ab9cf4e977
Remove notification webhook from travis 2018-10-10 19:19:05 +03:00
Gabriel Pettier 1cbfef23fb
Merge pull request #319 from brandonherzog/fix-config-set
Ensure jnius_config.set_options and jnius_config.set_classpath set options as list types.
2018-08-23 13:32:42 +02:00
Gabriel Pettier 42a06f84a4
Merge pull request #325 from djlambert/truncated_props
Only remove 2 characters from field names when method begins with "is"
2018-08-23 13:30:58 +02:00