summaryrefslogtreecommitdiffstats
path: root/bindings/perl
Commit message (Collapse)AuthorAgeFilesLines
* [bindings perl] remove --as-needed from linker flags, it is not supported ↵Benjamin Dauvergne2011-05-271-1/+0
| | | | | | | evrywhere It can come back if we add proper checking of the support on the platform, maybe we can leverage tests made by autoconf.
* [bindings perl] in Makefile.am, gives a default template to mktempBenjamin Dauvergne2011-05-191-1/+1
| | | | Thanks to Nathan Sowatskey for the bug report and the fix.
* [bindings perl] fix get_hash_of_objectsBenjamin Dauvergne2011-01-041-1/+1
|
* [bindings perl] downgrade requirement on perl version to 5 instead of 5.10Benjamin Dauvergne2010-12-221-1/+1
|
* [bindings perl] change ghashtable interface to not use GHashTableIterBenjamin Dauvergne2010-12-011-12/+19
|
* [bindings perl] add dependency upon the Makefile.perl for the install targetBenjamin Dauvergne2010-12-011-1/+1
|
* [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 perl] move DISCLEANFILES and CLEANFILES outside of the condition ↵Benjamin Dauvergne2010-07-211-5/+2
| | | | clauses
* [Bindings] improve cleaning and distribution buidingBenjamin Dauvergne2010-07-211-1/+1
|
* [Binding perl] add DISTCLEANFILES for Makefile.perl.old fileBenjamin Dauvergne2010-07-211-0/+2
|
* [Binding perl] fix broken distclean-local targetBenjamin Dauvergne2010-07-201-2/+3
| | | | | The TOCOPY files need to be cleaned only for out of source directory builds.
* [Bindings perl] add lasso_errot_t to type to map to T_IV typemap (integer types)Benjamin Dauvergne2010-07-121-1/+1
|
* [Perl binding] make include from $(srcdir) works in Perl bindingBenjamin Dauvergne2010-06-292-4/+5
|
* [Bindings] accept simple string in string<->xmlNode converterBenjamin Dauvergne2010-06-291-11/+4
| | | | | | | | | | Some use case ask for passing simple libxml content node (i.e just an UTF-8 string) when a method argument or a field of the xmlNode* type. This commit add a static method in bindings/utils.c named lasso_string_fragment_to_xmlnode which does this transform by trying to parse an XML document then by trying to parse a well balanced XML fragment of only one node (if there is more than one node such as in the string " xxx <tag/> yyy ", we free the node list and return NULL).
* Comment out custom silent rules if automake < 1.11Benjamin Dauvergne2010-06-151-0/+2
|
* Core: move logging function and macros to their own module, adapt perl bindingBenjamin Dauvergne2010-06-121-0/+21
|
* Binding perl: fix test so that it does not raise on add_providerBenjamin Dauvergne2010-06-061-1/+1
|
* Binding python: fix test fileBenjamin Dauvergne2010-03-271-1/+1
|
* Binding perl: add support for out parametersBenjamin Dauvergne2010-02-222-17/+38
| | | | | * bindings/perl/lang.py: support GObject out parameters.
* 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
|
* Bindings: restore ID-WSF constants, improve python getters,Benjamin Dauvergne2010-02-041-1/+1
| | | | | | | | | | | | | | | * 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 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: make binding generation more silentBenjamin Dauvergne2010-02-011-13/+15
| | | | | | | | * 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.
* 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.
* 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.
* Binding perl: update to bindingBenjamin Dauvergne2010-01-284-10/+40
| | | | | | | * change extension of typemap files because if conflicts with existing * support constant list of strings and gobjects, add input rule for list of gobjects * fix setter for GList fields
* Binding perl: fix include paths in the makefile, againBenjamin Dauvergne2010-01-262-2/+2
|
* in bindings/perl/Makefile.PL, add include path for normal buildsBenjamin Dauvergne2010-01-261-1/+1
|
* in bindings/perl/Makefile.am, change permission to make distcheck worksBenjamin Dauvergne2010-01-261-4/+11
|
* in bindings/perl/Makefile.am, add files to EXTRA_DISTBenjamin Dauvergne2010-01-261-1/+1
|
* Bindings: add a new perl binding using the new binding infrastructureBenjamin Dauvergne2010-01-2512-0/+1102
* XS files is autogenerated using bindings/binding.py model of the Lasso API. All constants are in the Lasso::Constants package, the LASSO_ prefix is removed. All classes are now Lasso::ClassName, field accessor also serves as setters, i.e you can do this: $name_id = Lasso::Saml2NameID::new(); $name_id->content('coin'); print $name_id->content; Is still missing: - a lot of test files, - support for hashtables, - and throwing exceptions when return code is non-zero.