summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Update files for a 2.2.91 releaseBenjamin Dauvergne2010-01-294-1/+19
|
* update changelogBenjamin Dauvergne2010-01-291-0/+751
|
* 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
* SAML 2.0: fix annotations, documentation and signaturesBenjamin Dauvergne2010-01-297-13/+10
|
* 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.
* ID-WSF 1.0: make LassoServer.services private with respect to the bindingsBenjamin Dauvergne2010-01-281-0/+2
|
* Bindings java: use utils.py methods, make set_hash_of_objects more robustBenjamin Dauvergne2010-01-282-264/+267
|
* Tests: export sp2-la do dist file for dist with id-wsf enabledBenjamin Dauvergne2010-01-281-1/+1
|
* 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
|
* ID-WSF: change name of Personal Profile namespace symbols, add symbols for ↵Benjamin Dauvergne2010-01-285-12/+29
| | | | ID-SIS PP 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.
* Bindings: better parse oftype annotation for hashtable, allow to skip structuresBenjamin Dauvergne2010-01-282-24/+50
| | | | | | | | | | | | * bindings/bindings.py: add possibility to skip generating bindings for structures to overrides.xml. parse element-type annotation /* of XXX */ for hashtable objects. output to stderr warning about skipped objects. parse idwsf_strings.h * bindings/overrides.xml: skip more ID-WSF 1.0 functions in java and perl. skip structure LassoAuthentication.
* Core: fix gtk-doc annotationsBenjamin Dauvergne2010-01-287-9/+15
|
* Core: add new macros to lasso/utils.h, fix lasso_assign_new_list_of_gobjectsBenjamin Dauvergne2010-01-281-1/+24
| | | | | | | | | * lasso/utils.h: add: - lasso_assign_new_xml_node - lasso_assign_new_list_of_strings - lasso_assign_new_list_of_xml_node fix lasso_assign_new_list_of_gobjects, bad naming of release macro.
* XML: add missing element-type annotationsBenjamin Dauvergne2010-01-285-5/+5
|
* Bindings: in bindings/utils.py, augment robustness of matching functions to ↵Benjamin Dauvergne2010-01-281-15/+22
| | | | work with type alone or triples
* 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
* ID-WSF 1.0 & 2.0: complete lasso-sections.txt, add internal API to access ↵Benjamin Dauvergne2010-01-2611-32/+141
| | | | | | | | | | | | | | | | | | | | | | | | | SOAP headers, complete WS-Addressing support * docs/reference/lasso/lasso-sections.txt: complete documentation of LassoSoapEnvelope and LassoSoapFault with ID-WSF additions. * lasso/id-wsf-2.0/profile.c lasso/id-wsf-2.0/soap_binding.c lasso/id-wsf-2.0/soap_binding.h: add internal function _get_node and _get_header to simplify implementation of accessors for headers. change signature of lasso_soap_envelope_get_message_id and add new function lasso_soap_envelope_get_relates_to. update call points. add a message id when building a SOAP message. * lasso/xml/idwsf_strings.h: add element name for MessageID and RelatesTo WS-Addressing elements. * lasso/id-wsf/authentication.c lasso/id-wsf/data_service.c lasso/id-wsf/discovery.c lasso/id-wsf/wsf_profile.c lasso/id-wsf-2.0/saml2_login.c lasso/xml/disco_description.c: fix path name of header lasso/id-wsf/wsf_utils.h. make all internal include path relatives.
* Core XML: make lasso_node_set_custom_namespace/nodename take const stringBenjamin Dauvergne2010-01-262-4/+5
| | | | | | * lasso/xml/xml.c lasso/xml/xml.h: mark argument of lasso_node_set_custom_namespace and lasso_node_set_custom_nodename as const char* strings.
* Core XML: add function to get the namespace of a LassoNodeBenjamin Dauvergne2010-01-262-0/+28
| | | | | | * lasso/xml/xml.c lasso/xml/xml.h: if a custome namespace is set, return it, otherwise return the class namespace (klass->node_data->ns->href).
* 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 configure.ac, activate the Perl binding in normal buildsBenjamin Dauvergne2010-01-261-1/+1
|
* Core: in configure.ac, activate warning when debugging, not in normal buildBenjamin Dauvergne2010-01-261-2/+2
| | | | | | * configure.ac: remove -Wxxx flag from AM_CFLAGS, add them if --enable-debugging is used.
* in lasso/saml-2.0/logout.c, fix missing declarationBenjamin Dauvergne2010-01-261-1/+1
|
* Core: update errors.c fileBenjamin Dauvergne2010-01-261-0/+2
|
* 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-2516-3/+1117
| | | | | | | | | | | | | | | | * 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.
* Bindings: in utils.py, fix is_glist and is_hashtable, make arg_type accept ↵Benjamin Dauvergne2010-01-251-5/+7
| | | | simple string as input instead of triples
* in lasso/xml/saml_attribute_value.h, fix typo in content type annotationBenjamin Dauvergne2010-01-251-1/+1
|
* in lasso/xml/sa_sasl_response.h, add GList content type annotation to field ↵Benjamin Dauvergne2010-01-251-1/+1
| | | | 'any'
* Bindings PHP5: use is_cstring to match string typesBenjamin Dauvergne2010-01-251-1/+1
|
* Bindings: remove all SWIG bindings and SWIG related filesBenjamin Dauvergne2010-01-25250-31372/+0
|
* Add new macro lasso_list_add_new_xml_nodeBenjamin Dauvergne2010-01-252-2/+8
| | | | | | | | | | * lasso/utils.h: fix lasso_list_add_xml_node, it must copy the node before assigning it. add lasso_list_add_new_xml_node for keeping the old behaviour. * lasso/xml/xml.c: fix use of lasso_list_add_xml_node, because copying the node before assigning it is a leak now.
* in bindings/ghashtable.h, Add missing unused argument hintsBenjamin Dauvergne2010-01-251-1/+2
|
* SAML 2.0 Logout: when in an SP initiated logout, ↵Benjamin Dauvergne2010-01-251-0/+19
| | | | | | | | | | lasso_logout_build_response_msg is the finishing call * lasso/saml-2.0/logout.c: when calling lasso_logout_build_response_msg(), if we known that we are in the middle of an SP initiated logout, i.e. if initial_remote_providerID is not NULL, then we can restore the intial response.
* Fix name of LASSO_WSSEC_BAD_PASSWORDBenjamin Dauvergne2010-01-253-6/+4
| | | | | | | * lasso/errors.c lasso/errors.h: LASSO_WSSE_BAD_PASSWORD -> LASSO_WSSEC_ERROR_BAD_PASSWORD * lasso/xml/ws/wsse_username_token.c: update client code.
* 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.
* Export more assertion access API for LassoSessionBenjamin Dauvergne2010-01-254-6/+9
| | | | | | | | | | * lasso/id-ff/session.c lasso/id-ff/session.h lasso/id-ff/sessionprivate.h: export lasso_session_get_assertion(), lasso_session_add_assertion() and lasso_session_remove_assertion(). remove them from private header. * docs/reference/lasso/lasso-sections.txt: update documentation
* Bindings: remove useless overridesBenjamin Dauvergne2010-01-211-11/+0
| | | | | | * bindings/overrides.xml: It is no more needed to force return type of constructors to their real types, the bindings check the type dynamically anyway.