summaryrefslogtreecommitdiffstats
path: root/bindings
Commit message (Collapse)AuthorAgeFilesLines
...
* Binding PHP5 tests: fix assertion dump testBenjamin Dauvergne2010-03-021-17/+1
|
* Bindings java: do not mask errors from the code generatorBenjamin Dauvergne2010-03-021-1/+1
|
* ID-WSF 2.0 python tests: finish tests for new ID-WSF 2.0 APIBenjamin Dauvergne2010-03-021-26/+157
| | | | | | | * bindings/python/tests/idwsf2_tests.py: all Discovery service request types are tested, and Data Service query is tested as well. Data Service testing and API should more tested, especially failure cases.
* Binding python: accept a functio as setter, if it has only two argumentsBenjamin Dauvergne2010-03-021-1/+1
|
* Binding perl: add support for out parametersBenjamin Dauvergne2010-02-222-17/+38
| | | | | * bindings/perl/lang.py: support GObject out parameters.
* Bindings python: use more accessors from utils.pyBenjamin Dauvergne2010-02-221-41/+31
| | | | | * binings/python/lang.py: remove direct access to type tuples in favor of using accesors from utils.py.
* Bindings: make is_int more robust, and fix remove_modifiersBenjamin Dauvergne2010-02-221-6/+9
|
* Bindings php5: use accessort from bindings/utils.pyBenjamin Dauvergne2010-02-221-29/+38
| | | | | * bindings/php5/wrapper_source.py: do not handle 'type/variable' tuple directly, use accessors.
* Binding python: add pickling support to LassoNodeBenjamin Dauvergne2010-02-221-0/+10
| | | | | | | * bindings/python/lang.py: support pickling protocol methods __getstate__ and __setstate__ leveraging the lasso_node_dump and lasso_node_new_from_dump methods from Lasso.
* Bindings python tests: update idwsf2_tests.pyBenjamin Dauvergne2010-02-221-1359/+160
|
* Bindings: in utils.py, make clean_type handle None valueBenjamin Dauvergne2010-02-221-0/+2
|
* Current state of ID-WSF 2.0 python testBenjamin Dauvergne2010-02-171-6/+76
|
* Binding php5: fix generation of list freeingBenjamin Dauvergne2010-02-171-2/+2
| | | | | * bindings/php5/wrapper_source.py: free_glist wants a GList** as first argument.
* Current state of idwsf2 testsBenjamin Dauvergne2010-02-171-44/+59
|
* Binding python: simplify special constructor, use cptrToPyBenjamin Dauvergne2010-02-171-5/+1
|
* Binding python tests: adapt test to use TOP_SRCDIR env varBenjamin Dauvergne2010-02-172-4/+4
|
* Binding python: factorize value freeing generation codeBenjamin Dauvergne2010-02-171-3/+31
| | | | | | | * lasso/python/lang.py: extract value freeing generation code to method free_value, add proper liberation of values at exit of wrapper functions, remove g_free call from return_value generated code.
* in idwsf2_tests.py, merge test case for metadata registering, add test case ↵Benjamin Dauvergne2010-02-171-144/+178
| | | | for failure
* Bindings: parse defines refering to other definesBenjamin Dauvergne2010-02-171-1/+7
| | | | | | * bindings/bindings.py: Allow to build constants using other constants (prefix string), the constant type is retrieved from the prefix existing record.
* Binding python: fix leak in string gettersBenjamin Dauvergne2010-02-151-1/+1
|
* Bindings python: udpate id-wsf 2.0 test fileBenjamin Dauvergne2010-02-151-122/+105
| | | | | | * bindings/python/tests/idwsf2_tests.py: Disco Service registering is working, it now needs a bootstrap epr in all case (before registering could be done without signatures).
* Bindings python: remove default argument if there is parameters without ↵Benjamin Dauvergne2010-02-121-0/+25
| | | | default argument following
* Bindings perl: prevent unused functio warning for array_to_glist_gobjectBenjamin Dauvergne2010-02-101-1/+1
|
* Tests perl: raise number of testsBenjamin Dauvergne2010-02-101-1/+1
|
* fix bad operation in bindings.pyBenjamin Dauvergne2010-02-051-1/+1
|
* Bindings: restore ID-WSF constants, improve python getters,Benjamin Dauvergne2010-02-044-89/+89
| | | | | | | | | | | | | | | * bindings/bindings.py: parse idwsf_strings.h to get ID-WSF constants. * bindings/utils.py: add an is_rc check function, to check for 'error code' return type. * bindings/perl/lang.py: only raise errors for 'int' or 'gint' return type * bindings/python/lang.py: - always create a normal function binding. - for functions starting with 'get' try to create a corresponding property, but if a corresponding member already exists, fails, and print a warning about getter function/member field clash. - make type dispatching on return_type more explicite.
* Binding python: fix getter for non-object fieldsBenjamin Dauvergne2010-02-041-5/+13
| | | | | * bindings/python/lang.py: transition to bindings/utils.py methods broke getters.
* Binding java: Makefile.am has multiple target rules, it cannot support ↵Benjamin Dauvergne2010-02-041-0/+2
| | | | parallel builds
* Binding perl: add cleanup for temporary data of trampoline codeBenjamin Dauvergne2010-02-041-13/+25
| | | | | | | * bindings/perl/lang.py: data type not common to Perl and C must be allocated for the duration of the call (mainly GList and xmlNode), but after the call they must be deallocated.
* Binding perl: many improvementsBenjamin Dauvergne2010-02-015-149/+75
| | | | | | | | | | | | | | | * lang.py: use lasso_unref instead of g_object_unref. * lang.py: handle 'optional' annotation for more types, needed by ID-WSF bindings. * lang.py, gobject_handling.c: check object type before making the C call * Makefile.am: improve silent rules, hide all normal output, show errors, and with V=1 shows everything * glist_handling.c, gobject_handling.c: make local functions static * t/Lasso.t: add non regression test for method receiver type checking. * glist_handlind.c; remove unused convertion functions. * lang.py: clear the semi-assigned list and croak if all list elements do not convert to non-NULL values.
* Bindings: re-add binding for lasso_session_get_assertions for perl, special ↵Benjamin Dauvergne2010-02-012-1/+1
| | | | | | | | case formatting function for WsAddressing namespace * bindings/utils.py: type have LassoWsAddr prefix but function have the lasso_wsa_ prefix, so we have to adjust generated prefix.
* Bindings: use lasso_return_xxx macros instead of GLib onesBenjamin Dauvergne2010-02-014-43/+43
|
* Bindings: os.path.relpath is only present since python 2.6, add a local ↵Benjamin Dauvergne2010-02-011-0/+16
| | | | implementation for older python versions
* Bindings: make binding generation more silentBenjamin Dauvergne2010-02-014-20/+29
| | | | | | | | * bindings/java/Makefile.am bindings/perl/Makefile.am bindings/php5/Makefile.am bindings/python/Makefile.am: use AM_V_GEN, or similar variable for all steps of binding generation, normal output can be activated with the V=1 argument to the 'make' command.
* Binding java: use eager evalutation to get list of sources filesBenjamin Dauvergne2010-02-011-1/+1
| | | | | | * bindings/java/Makefile.am: use := to provoke eager evaluation so that java-list mode is not called many times.
* Bindings: use 'absolute' header paths to produces bindingsBenjamin Dauvergne2010-01-291-11/+21
| | | | | | * bindings/bindings.py: if files from bindings are using absolute instead of relatives header paths they can be independant of the lasso source.
* Bindings perl: simplify Makefile.PLBenjamin Dauvergne2010-01-292-25/+16
| | | | | | | | | | | * bindings/perl/Makefile.PL: remove as much special casing as possible so that it could eventually become a CPAN module. use pkg-config to find lasso libs if no explicit LIBS command line argument is used. * bindings/perl/Makefile.am: pass parameters using command line argument instead of environment variable, which needed a special Makefile.PL.
* Binding perl: special case for lasso_check_versionBenjamin Dauvergne2010-01-292-3/+12
| | | | | | | | * bindings/perl/lang.py: special case lasso_check_version for not raising an error when it returns 1. * bindings/perl/t/Lasso.t: add a non regression test.
* Binding perl: remove warning when passing Null to croakBenjamin Dauvergne2010-01-291-1/+2
| | | | | | | * bindings/perl/gobject_handling.c: croak is aliased to Perl_croak_nocontext which has a gcc attribute 'notnull'. We use Perl_croak and an explicit perl context object, to work around this warning.
* in bindings.py, change header pathsBenjamin Dauvergne2010-01-291-2/+1
|
* Binding python: make a better use of default value annotation for creating ↵Benjamin Dauvergne2010-01-291-1/+4
| | | | method declarations
* Binding perl: many improvementsBenjamin Dauvergne2010-01-299-33/+292
| | | | | | | | | * handle GHashTable of strings and objects. * report errors with 'croak' as a Lasso::Error object. * add more basic tests. * for string arguments, convert undef to NULL, and croak if function does not accept NULL. * fix library paths in Makefile.PL.
* Bindings: in bindings.py, fix regexp and annotation parsing for optional ↵Benjamin Dauvergne2010-01-291-16/+16
| | | | arguments and their default values
* Bindings python ID-WSF 1.0 tests: update PP HREF symbolBenjamin Dauvergne2010-01-281-9/+9
|
* Bindings php5: string hashtable methods are only used by ID-WSF bindings, ↵Benjamin Dauvergne2010-01-281-2/+2
| | | | | | | | | mark them unused by default * bindings/php5/wrapper_source_top.c: only id-wsf has field of type GHashtTable<char*,char*> so when compiling without --enable-wsf, it give 'unused symbols' errors. Lets mark de the concerned functions as unused.
* Bindings java: use utils.py methods, make set_hash_of_objects more robustBenjamin Dauvergne2010-01-282-264/+267
|
* Bindings: add time_t to integer types, add unpointerize methodBenjamin Dauvergne2010-01-281-1/+4
|
* Binding python ID-WSF 2.0 tests: update some testsBenjamin Dauvergne2010-01-281-2/+6
|
* Binding Python ID-WSF 2.0: comment out testBenjamin Dauvergne2010-01-281-1/+1
|
* Bindings: java, php5, python simplify logic in binding generatorBenjamin Dauvergne2010-01-287-367/+439
| | | | | | * 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.