| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The test script did fail under Centos/Fedora because the interpreter for
php5 is named php.
|
|
|
|
| |
function of lasso
|
|
|
|
|
|
|
|
|
| |
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*.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
* bindings/php5/wrapper_source.py:
do not handle 'type/variable' tuple directly, use accessors.
|
|
|
|
|
| |
* bindings/php5/wrapper_source.py:
free_glist wants a GList** as first argument.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
for list in java binding
|
| |
|
|
|
|
|
|
|
|
|
|
| |
utils.py, use it to reverse default annotation for pointer of pointers
Bindings: in bindings.py, improve regular expression for declarations
Bindings: parse gobject-introspection annotation in return value
documentation, add cast to C calls when parameter type is const in java
binding, problem arise with const char ** arrays
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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).
|
|
|
|
|
|
| |
* lots of files: Explicitely set all field of initialized structures,
in order to remove -Wno-missing-field-initilizers from needed
compiler options when using -Wall -Wextra.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- bindings/java/wrapper_top.c, bindings/php4/lasso_php4_helper.c,
bindings/php5/wrapper_source_top.c, bindings/python/wrapper_top.c,
lasso/id-ff/identity.c, lasso/id-ff/lecp.c, lasso/id-ff/login.c,
lasso/id-ff/logout.c, lasso/id-ff/name_registration.c,
lasso/id-ff/profile.c, lasso/id-ff/provider.c, lasso/id-ff/server.c,
lasso/id-ff/session.c, lasso/id-wsf-2.0/data_service.c,
lasso/id-wsf/data_service.c, lasso/id-wsf/discovery.c,
lasso/id-wsf/wsf_profile.c, lasso/saml-2.0/ecp.c,
lasso/saml-2.0/login.c, lasso/saml-2.0/name_id_management.c,
lasso/utils.h, lasso/xml/tools.c, lasso/xml/xml.c, swig/Lasso.i:
Remove use of xmlFreeDoc. Use lasso_release_doc instead.
|
|
|
|
|
|
|
|
| |
* bindings/java/Makefile.am:
* bindings/php5/Makefile.am:
* bindings/python/Makefile.am:
- reformat value and add generated files to the MOSTLYCLEANFILES
variable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code permit to set flags, separated by commas, space,
tabulations, or colons. This flags activates debug functions like,
suppressing validations of signatures or print debugging message about
deallocations.
The new flags are defined in /lasso/debug.h they can be set using an
environment variable named LASSO_FLAG or a function named
lasso_set_flag.
There are two flags currently:
- verify-signature:
To deactivate it, pass 'no-verify-signature' inside LASSO_DEBUG.
It desactivate signature verification, inside two functions:
lasso_query_verify_signature and lasso_provider_verify_signature.
- memory-debug:
It enabled reporting of memory deallocation inside generic memory
dellaocator for LassoNode objects and also in bindings.
- lasso/xml/xml.c: do not free a null hash table pointer.
|
| |
|
| |
|
|
|
|
| |
bindings compile with -Werror (-Werror is activated by --enable-debugging now)
|
|
|
|
| |
formatting
|
| |
|
|
|
|
| |
the php5 subdirectory.
|
| |
|
| |
|
|
|
|
|
|
|
| |
move php extension dir under $(prefix)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-04-26 17:30:10.185000+02:00
|
|
|
|
|
|
|
| |
ship lasso.ini
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-04-23 17:38:51.027000+02:00
|
|
|
|
|
|
|
|
| |
merge
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-04-23 16:59:30.377000+02:00
|
|
|
|
|
|
|
|
| |
merge
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-04-23 12:04:00.477000+02:00
|
|
|
|
|
|
|
|
| |
Damien Laniel 2008-04-16 added PHPGObject destructors and fixed some memory management
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-04-16 16:23:56.715000+02:00
|
|
|
|
|
|
|
| |
optional parameters for LassoDiscovery and LassoDataService
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-04-06 00:01:12.703000+02:00
|
|
|
|
|
|
|
| |
merging benjamin branch (again)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-03-28 18:57:28.327000+01:00
|
|
|
|
|
|
|
| |
merging benjamin branch
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-03-28 18:57:10.522000+01:00
|
|
|
|
|
|
|
| |
merging benjamin branch
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-03-26 10:47:54.384000+01:00
|
|
|
|
|
|
|
|
| |
merging benjamin stuff and adding --enable-id-wsf when id-wsf is asked
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-03-25 18:23:46.535000+01:00
|
|
|
|
|
|
|
| |
merging benjamin branch
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-03-10 10:33:00.592000+01:00
|
|
|
|
|
|
|
|
| |
merging benjamin branch
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-03-09 16:28:28.854000+01:00
|
|
|
|
|
|
|
|
|
| |
merged Damien branch; and fixed PHP5 binding to use GLib memory management
functions
Original author: Frederic Peters <fpeters@0d.be>
Date: 2008-01-18 22:54:10.239000+01:00
|
|
|
|
|
|
|
|
| |
fixed typo in file to remove
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-20 21:48:38.865000+01:00
|
|
|
|
|
|
|
|
| |
clean built files
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-20 21:14:38.792000+01:00
|
|
|
|
|
|
|
|
|
| |
fixed some make distcheck issues (still remaining is access to test data when
srcdir != builddir)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-20 16:18:30.814000+01:00
|