Commit Graph

101 Commits

Author SHA1 Message Date
tshirtman 9b758a81c3 some clarifications for java classes extended support 2012-12-31 00:15:25 +01:00
Gabriel 5d143331a8 put NativeInvocationHandler in jnius java package 2012-12-25 01:07:59 +01:00
Gabriel 21a6e0d4ce some progress on proxy/invocation handler for wrapping python classes in java 2012-12-25 01:07:00 +01:00
Gabriel 70fa391458 Merge branch 'master' into extend_class_support 2012-12-23 17:02:17 +01:00
Mathieu Virbel f03dfdf886 -always- release the arrays, whatever is the iscopy boolean. According to the documentation, "The result is valid until the corresponding Release<PrimitiveType>ArrayElements() function is called". The iscopy boolean serve just for another case: "Since the returned array may be a copy of the Java array, changes made to the returned array will not necessarily be reflected in the original array until Release<PrimitiveType>ArrayElements() is called.Since the returned array may be a copy of the Java array, changes made to the returned array will not necessarily be reflected in the original array until Release<PrimitiveType>ArrayElements() is called." 2012-12-21 03:52:59 +01:00
Mathieu Virbel 844f8f4826 Merge pull request #42 from allfro/patch-1
Updated to support Mac OS X build support
2012-12-04 02:20:19 -08:00
Mathieu Virbel fdb785e516 add an example of TTS 2012-11-18 23:00:38 +01:00
tshirtman 1a06bedd97 add travis file 2012-11-06 19:49:29 +01:00
allfro 4e6063ec82 Updated to support Mac OS X build support 2012-10-16 12:25:34 -03:00
Gabriel Pettier 383cdf5742 Merge pull request #41 from amirouche/master
added support for Python Java class objects as parameter of java methods that takes Java Class object as parameter
2012-10-15 05:05:29 -07:00
Amirouche Boubekki fcfb1e64a8 added support for Python class as parameter of java methods that takes Java Class object as parameter 2012-10-14 23:00:19 +02:00
Gabriel Pettier dc50d40ebf Merge pull request #40 from amirouche/master
Added basic tests that shows that autoclass of interface, nested enum and nested class is possible
2012-10-12 13:40:18 -07:00
Amirouche Boubekki 99a4c3be71 added some tests for Interface, enums and nested enums in Interface 2012-10-12 16:51:40 +02:00
Gabriel Pettier 200ef2390b Merge pull request #37 from amirouche/master
Several fixes related to arrays being Java Object
2012-10-01 02:01:08 -07:00
Amirouche Boubekki c216057647 convert arrays returned as Java Object to python list 2012-10-01 02:20:58 +02:00
Amirouche Boubekki 4bcf4c5e16 proper indentation of according to emacs :> 2012-10-01 01:34:31 +02:00
Amirouche Boubekki 4a6945accd convert list of integer, float and long to their equivalent Java Array object 2012-10-01 01:30:51 +02:00
Amirouche Boubekki 20b4bd5d62 allow to use python list and tuple as Object params 2012-10-01 01:21:24 +02:00
Amirouche Boubekki 78a68134ae no need to raise an exception here 2012-10-01 01:16:57 +02:00
Gabriel Pettier 08a9d7888d Merge pull request #36 from amirouche/method-resolutions-fixes
Method resolutions fixes for the case where there are varargs
2012-09-30 14:04:28 -07:00
Amirouche Boubekki b8ee0f8ab5 fix method resolution when they are varargs 2012-09-30 22:39:38 +02:00
Amirouche Boubekki c58de98b8a no need to recompute return and args definition 2012-09-30 21:50:19 +02:00
Amirouche Boubekki 65d3d9bc12 use of iteritems to retrieve key and value 2012-09-30 21:48:58 +02:00
Gabriel Pettier 528120c550 Merge pull request #31 from GeorgS/patch-1
Fixed URI Bug ( uri.parse )
2012-09-24 12:52:17 -07:00
Georg Schelkshorn e58a7cf82f Fixed URI Bug 2012-09-24 22:45:08 +03:00
tshirtman 52aea7efb8 start to add native invocation handler
+fix badly formated string
2012-09-16 00:45:32 +02:00
tshirtman 82b703c0c1 Merge branch 'master' into extend_class_support
Conflicts:
	jnius/jnius_export_class.pxi
2012-09-06 17:48:25 +02:00
Gabriel Pettier 4ff916dfdf Merge pull request #24 from apalala/classpath
Allow for '*' wildcards in CLASSPATH+(some tipos).
2012-09-06 05:47:49 -07:00
tshirtman 7ac9bcd3d7 partial work on extending java classes from python
non-functionnal!
2012-09-06 14:19:45 +02:00
Gabriel Pettier 2ca5cee5ef Update README.md 2012-09-06 15:16:13 +03:00
Mathieu Virbel f83827353b Merge pull request #26 from kivy/varargs_support
Varargs support
2012-08-31 12:32:27 -07:00
gabriel.pettier 858bff6e25 varargs works!
at least for printf, and probably for other methods accepting Strings

need more tests cases!
2012-08-26 17:52:19 +02:00
gabriel.pettier 708b2d075f Doesn't break the tests anymore, add test for varargs, not passing (yet) 2012-08-26 15:53:11 +02:00
gabriel.pettier 17258f100d work on varargs support 2012-08-26 02:51:22 +02:00
Juancarlo Añez 9bd899e371 Allow for '*' wildcards in CLASSPATH+(some tipos). 2012-08-25 10:24:48 -04:30
Gabriel Pettier 3651d1ac20 Merge pull request #20 from nklever/patch-1
Typo in line 39
2012-08-23 14:46:08 -07:00
nklever 4df5609f6d Typo in line 39
In line 39 it must be written "if" instead of "in"
2012-08-24 00:45:16 +03:00
Gabriel Pettier 18a41bf7a2 Merge pull request #14 from apalala/classpath
Make the desktop use CLASSPATH if defined.
2012-08-21 12:22:29 -07:00
Juancarlo Añez 93109ccab5 Make the desktop use CLASSPATH if defined. 2012-08-21 14:22:37 -04:30
Gabriel Pettier 659b1eae80 Merge pull request #10 from graingert/patch-2
Update README.md
2012-08-21 03:25:45 -07:00
Thomas Grainger 79717fd8f0 Update README.md
fix missing "a"
2012-08-21 12:05:55 +02:00
Mathieu Virbel 9cbe8e3a6f update license/description/classifiers in setup.py 2012-08-21 01:30:53 +02:00
Mathieu Virbel 852ba4132e Merge branch 'master' of github.com:kivy/pyjnius
Conflicts:
	setup.py
2012-08-21 01:22:14 +02:00
Mathieu Virbel 4b825b1076 ensure we raise the exception if cython is not installed on desktop
+ include missing pxi in the setup
+ include missing infos
+ extract the version correctly
2012-08-21 01:19:43 +02:00
Gabriel Pettier 47e2fe0e06 Merge pull request #6 from graingert/patch-1
Add cython to install_requires Fixes #5
2012-08-20 12:24:12 -07:00
Thomas Grainger eb95963d98 Add cython to install_requires Fixes #5 2012-08-20 20:49:54 +02:00
Mathieu Virbel dec97c9eb9 Update README.md 2012-08-20 20:42:59 +03:00
Mathieu Virbel e3a2965810 bump to 1.1-dev 2012-08-20 18:48:22 +02:00
Mathieu Virbel f9c63fd186 set version to 1.0 2012-08-20 18:47:44 +02:00
Mathieu Virbel 61855a4f12 fixes 2012-08-20 16:51:32 +02:00