Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Dauvergne 58c2c72bae bindings/perl/Makefile: it's difficult to control produced code so disable warning on unused-but-set-variable 2014-03-31 11:09:30 +02:00
Benjamin Dauvergne bd7e649272 [bindings perl] in Makefile.am, gives a default template to mktemp
Thanks to Nathan Sowatskey for the bug report and the fix.
2011-05-19 17:55:12 +02:00
Benjamin Dauvergne fbf7ad0537 [bindings perl] add dependency upon the Makefile.perl for the install target 2010-12-01 15:16:23 +01:00
Benjamin Dauvergne 341cc7247b [Binding perl] move DISCLEANFILES and CLEANFILES outside of the condition clauses 2010-07-21 14:01:29 +00:00
Benjamin Dauvergne 6b86aa67ef [Bindings] improve cleaning and distribution buiding 2010-07-21 13:56:49 +00:00
Benjamin Dauvergne 6ae30da50b [Binding perl] add DISTCLEANFILES for Makefile.perl.old file 2010-07-21 13:56:42 +00:00
Benjamin Dauvergne 52d9fba0fa [Binding perl] fix broken distclean-local target
The TOCOPY files need to be cleaned only for out of source directory
builds.
2010-07-20 14:15:53 +00:00
Benjamin Dauvergne 11ac1e148a [Perl binding] make include from $(srcdir) works in Perl binding 2010-06-29 14:49:15 +00:00
Benjamin Dauvergne 751d02ed4d Comment out custom silent rules if automake < 1.11 2010-06-15 11:33:01 +00:00
Benjamin Dauvergne dce72553df Binding perl: many improvements
* 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.
2010-02-01 19:50:13 +00:00
Benjamin Dauvergne 2348566c2a Bindings: make binding generation more silent
* 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.
2010-02-01 00:16:21 +00:00
Benjamin Dauvergne f34d865873 Bindings perl: simplify Makefile.PL
* 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.
2010-01-29 16:42:36 +00:00
Benjamin Dauvergne 8b06d7c1ae Binding perl: many improvements
* 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.
2010-01-29 00:43:53 +00:00
Benjamin Dauvergne 8864adfcd0 Binding perl: update to binding
* 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
2010-01-28 15:31:21 +00:00
Benjamin Dauvergne babc3ac910 Binding perl: fix include paths in the makefile, again 2010-01-26 13:51:11 +00:00
Benjamin Dauvergne 09221e389a in bindings/perl/Makefile.am, change permission to make distcheck works 2010-01-26 10:39:21 +00:00
Benjamin Dauvergne 740b8191d4 in bindings/perl/Makefile.am, add files to EXTRA_DIST 2010-01-26 10:39:20 +00:00
Benjamin Dauvergne c312a6f91a Bindings: add a new perl binding using the new binding infrastructure
* 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.
2010-01-25 23:47:56 +00:00