summaryrefslogtreecommitdiffstats
path: root/bindings/java/lang.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix license boilerplatesSimo Sorce2013-12-031-2/+1
| | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com>
* [Strings] add string constant for the internal XML attributes used in dumpsBenjamin Dauvergne2010-09-031-1/+1
| | | | | | | | | Add string constants for signature method, signature type, private key (file path or content), private key password and certificate (file path or content). Add cast for xmlChar constant strings definition in python bindings, it assumed all constant strings were char*.
* [Binding java] return empty list for NULL GList value, not nullBenjamin Dauvergne2010-07-161-1/+1
|
* [Bindings java] use is_int instead of custom methods or codeBenjamin Dauvergne2010-07-121-5/+2
|
* [Binding java] use is_rc to match error return typeBenjamin Dauvergne2010-07-121-2/+2
|
* Bindings: keep retro compatibility for member field namesBenjamin Dauvergne2010-06-061-2/+25
| | | | | | | * Special kludge price go to PHP: methods name are insensitive so nothing to do here, BUT, if you use getters/setters then your objects fields can be case insensitive too ;-) (DNS, dns, DnS, dNs all maps to get_dns ).
* Bindings java: use utils.py methods, make set_hash_of_objects more robustBenjamin Dauvergne2010-01-281-212/+210
|
* Bindings: java, php5, python simplify logic in binding generatorBenjamin Dauvergne2010-01-281-7/+11
| | | | | | * use utils.h macros to manipulate fields. * use utils.py function to filter variables, argument and return types. * finish support of hashtables of strings for php5 and python.
* Bindings java: cast return value of special constructorsBenjamin Dauvergne2010-01-251-1/+1
| | | | | | | * bindings/java/lang.py: in the JAVA API special constructors are made to return their real type, but usual GObject constructors return their base type (here LassoNode) so we have to cast it.
* Bindings: add support for time_t to bindings, add support for 'string' type ↵Benjamin Dauvergne2010-01-121-2/+2
| | | | for list in java binding
* Bindings: simplify GList handlingBenjamin Dauvergne2010-01-041-28/+30
|
* Bindings: in bindings.py, parse '(in)' gobject-introspection annotation, in ↵Benjamin Dauvergne2010-01-041-6/+7
| | | | | | | | | | utils.py, use it to reverse default annotation for pointer of pointers Bindings: in bindings.py, improve regular expression for declarations Bindings: parse gobject-introspection annotation in return value documentation, add cast to C calls when parameter type is const in java binding, problem arise with const char ** arrays
* Bindings: make the binding infrastructure understand GObject-introspections ↵Benjamin Dauvergne2010-01-041-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | annotations * bindings/bindings.py * bindings/utils.py: add convenience function to treat arguments tuple: (type,name,{annotations}). introduce new argument options, fix that arguments are 3-tuple of the form (type,name,annotations), where annotations is a dictionary. Key of this dictionnary can be: - optional, wheter the argument is necessary, it means it has a default value. - out, means that the pointer is a pointer of pointer, for bindings that can return exceptions, it will be returned instead of the integer error code, the only way to access error codes will be exceptions. - element-type, contained type of a list or an array, - key-type, value-type, type of respectively the key and value of a GHashTable. - transfer, wheter a the callee(for arguments)/caller(for return values) owns the values passed, it can be none,container(if the callee/caller only owns the container not the contained value) or full. doc.parameters is now a 3-tuple of (attribute-name, attribute-description, attribute-annotations) where attribute-annotations is a string of the form '(option1)(option2 option-arguments) etc.'. - add predicates for xml, list and time_t values. improve predicates for cstring and const modifier. * bindings/overrides.xml: 'out' arguments are not well supported for java, so skip functions using them. * bindings/java/lang.py bindings/php5/php_code.py bindings/php5/wrapper_source.py bindings/python/lang.py: - update language specifig binding generators for handling new annotations. - improve python method declaration, handle optional arguments with default values, factorize this chode in two methods, get_python_arg_decl and defval_to_python_value. * bindings/python/tests/Makefile.am bindings/python/tests/idwsf1_tests.py bindings/python/tests/idwsf2_tests.py: make test work with out of source build dir.
* Bindings: add support for gucharBenjamin Dauvergne2009-09-111-2/+2
| | | | | | * bindings/java/lang.py: * bindings/python/lang.py: add guchar to list of C types everywhere.
* Fix build issues on amd64 / gcc 4.3Jerome Schneider2009-04-091-1/+1
| | | | | | | | | * bindings/java/lang.py: fix cast issue * bindings/python/wrapper_top.c fix type issue * lasso/registry.c fix cast issue
* Bindings: fix documentation parsingBenjamin Dauvergne2009-03-271-3/+0
| | | | | | | | * bindings/bindings.py: fix regex to match documentation (remove condition terminating on '**/') print error messages to stderr. * bindings/java/lang.py: remove commented debugging code
* * Remove ending blanksBenjamin Dauvergne2008-09-121-6/+6
|
* * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and ↵Benjamin Dauvergne2008-08-051-9/+9
| | | | formatting
* use new util function to throw exceptionsBenjamin Dauvergne2008-08-051-2/+2
|
* Move all files related to java into the java subdirectoryBenjamin Dauvergne2008-08-051-0/+902