summaryrefslogtreecommitdiffstats
path: root/bindings/java/wrapper_top.c
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite all xmlNode serialization code to be compatible with libxml 2.9.0Benjamin Dauvergne2012-09-281-18/+22
| | | | | | | | | | Libxml stopped exposing the internal of the xmlOutputBuffer structure; it was replace by proper use of the API and of the xmlBuffer structure. There could be regression for older version of libxml as some functions appeared in recent version of libxml; but the reference API document does not give any introduction date for functions so it's hard to be sure.
* [Binding java] replace use of strcmp by g_strcmp0Benjamin Dauvergne2010-10-011-1/+2
|
* [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).
* Bindings: use lasso_return_xxx macros instead of GLib onesBenjamin Dauvergne2010-02-011-36/+36
|
* Bindings java: use utils.py methods, make set_hash_of_objects more robustBenjamin Dauvergne2010-01-281-52/+57
|
* Fix uninitialized local variableBenjamin Dauvergne2008-11-141-1/+1
| | | | | - bindings/java/wrapper_top.c: (gobject_to_jobject_and_ref) initialize local variable.
* Remove use of xmlFreeDoc for lasso_release_docBenjamin Dauvergne2008-11-041-1/+2
| | | | | | | | | | | | | | - 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.
* Many fix to compile with --enable-wsf and --enable-debugging and also toBenjamin Dauvergne2008-09-231-15/+21
| | | | | | | | | | | | | | | | | | remove valgrind errors through python tests. 1. Rename lasso_wsf_profile_new_full for java bindings (cannot subclass in overrides of static methods). 2. Add const modifiers to many functon signatures in bindings/python/wrapper_top.c. 3. add initialisation of private_data->encryption_sym_key_type (to please valgrind) in instance_init of LassoProvider. 4. Add new macro to assign xmlNode, we consider xmlNode to be an immutable value, and always use xmlCopyNode for assignment. The macros is called named lasso_assign_node. 5. Fix segfault, when using xmlSec to encrypt the newly created encrypted node replace the original node inside the xmlDoc structure, and the original node is freed automatically. So you cannot borrow the encrypted if you do not remove it from xmlDoc first.
* * Remove ending blanksBenjamin Dauvergne2008-09-121-26/+26
|
* * fix typo with g_hash_table_remove_allBenjamin Dauvergne2008-08-051-42/+43
| | | | | * remove unused variable * add GNUC_UNUSED to static functions to pass -Werror
* use new util function to throw exceptionsBenjamin Dauvergne2008-08-051-3/+16
|
* Move all files related to java into the java subdirectoryBenjamin Dauvergne2008-08-051-0/+783