summaryrefslogtreecommitdiffstats
path: root/bindings/php5/php_code.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>
* [bindings php5] fix missing wrappers for constructorsBenjamin Dauvergne2012-03-021-11/+30
|
* [bindings php5] improve generation of php call stubs by using type case ↵Benjamin Dauvergne2012-02-271-4/+6
| | | | helpers, raise exception in unknown case
* [Bindings php5] simplify is_object in php_code.pyBenjamin Dauvergne2010-07-121-2/+1
|
* [Binding php5] use is_rc to match error return typeBenjamin Dauvergne2010-07-121-1/+1
|
* Bindings: java, php5, python simplify logic in binding generatorBenjamin Dauvergne2010-01-281-53/+50
| | | | | | * 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: simplify GList handlingBenjamin Dauvergne2010-01-041-2/+2
|
* Bindings: make the binding infrastructure understand GObject-introspections ↵Benjamin Dauvergne2010-01-041-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 php5: add support for xmlNode argumentsBenjamin Dauvergne2009-03-271-1/+1
| | | | | | | | * bindings/php5/php_code.py: * bindings/php5/wrapper_source.py: complete error reporting about on documentation treatment. treat xmlNode* arguments (convert string to xmlNode, give as argument, then frees it).
* php: added a root class to define generic getter and setterDamien Laniel2008-09-171-23/+26
|
* * Remove ending blanksBenjamin Dauvergne2008-09-121-3/+3
|
* Move all files related to the php5 binding insideBenjamin Dauvergne2008-08-051-0/+477
the php5 subdirectory.