summaryrefslogtreecommitdiffstats
path: root/bindings/python
Commit message (Collapse)AuthorAgeFilesLines
* Python Binding: fix bug of uninitialized ppos argument to PyDict_NextBenjamin Dauvergne2009-06-151-2/+3
| | | | | | | | | | * bindings/pyhton/wrapper_top.c (set_hashtable_of_pygobject): second argument (int*ppos) of PyDict_Next must be reinitialized to zero before each traversal (see Python C API http://docs.python.org/c-api/dict.html). Patch from Iban Rodríguez of the Desarrollo de Producto Electrónico, Spain.
* Fix leak in python bindingBenjamin Dauvergne2009-04-301-3/+3
| | | | | * bindings/python/wrapper_top.c: keep a pointer on beginning of list to free it.
* Fix python 2.4 binding buildJerome Schneider2009-04-171-0/+6
|
* Fix build issues on amd64 / gcc 4.3Jerome Schneider2009-04-091-1/+1
| | | | | | | | | * bindings/java/lang.py: fix cast issue * bindings/python/wrapper_top.c fix type issue * lasso/registry.c fix cast issue
* ID-WSF 2.0: make it work with --enabe-debuggingBenjamin Dauvergne2009-03-271-6/+0
| | | | | | | | | | | | | * lasso/id-wsf-2.0/data_service.c: * lasso/id-wsf-2.0/discovery.c: * lasso/id-wsf-2.0/profile.c: * lasso/id-wsf/data_service.c: * lasso/id-wsf/discovery.c: * lasso/id-wsf/wsf_profile.c: when --enable-debugging is activated much more type checking is done by internal macros, and code do not pass compile anymore. * bindings/python/tests/idwsf2_tests.py: nameIdentifier packing in SOAP ID-WSF calls headers is no longer supported, do not test it.
* All: Fix missing field initializer problemsBenjamin Dauvergne2009-01-241-3/+5
| | | | | | * 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.
* 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.
* Clean generated files in bindingsBenjamin Dauvergne2008-11-041-0/+1
| | | | | | | | * bindings/java/Makefile.am: * bindings/php5/Makefile.am: * bindings/python/Makefile.am: - reformat value and add generated files to the MOSTLYCLEANFILES variable
* add functionality to enable debugging flags at runtimeBenjamin Dauvergne2008-10-011-6/+7
| | | | | | | | | | | | | | | | | | | | | | 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.
* * Remove ending blanksBenjamin Dauvergne2008-09-128-60/+60
|
* * When --enable-debugging is used, add -Wno-xxx options to AM_CFLAGS so thatBenjamin Dauvergne2008-09-121-1/+1
| | | | bindings compile with -Werror (-Werror is activated by --enable-debugging now)
* * Add G_GNUC_UNUSED for unused parameter we can't remove (python wrappers).Benjamin Dauvergne2008-09-122-4/+4
|
* Lookup wrapper_{top,bottom}.c files in the src_dir, useful for VPATH buildBenjamin Dauvergne2008-08-051-2/+3
| | | | (i.e. distcheck). Add top_srcdir/binings to python syspath.
* * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and ↵Benjamin Dauvergne2008-08-052-3/+4
| | | | formatting
* add moved files to EXTRA_DISTBenjamin Dauvergne2008-08-051-0/+2
|
* Add a module init file to python directory.Benjamin Dauvergne2008-08-051-0/+0
|
* Move all python binding related files inside the python subdirectoryBenjamin Dauvergne2008-08-054-1/+1408
|
* * bindings/python/tests/Makefile.am: make running of iwsf{1,2}_tests.py ↵Benjamin Dauvergne2008-08-051-2/+6
| | | | conditioned upon --enable-wsf flag of ./configure script
* * bindings/bindings.py: support const modifier on this argumentBenjamin Dauvergne2008-08-012-3/+3
|
* reflects change inside lasso/id-ff/identity.c in assertionsBenjamin Dauvergne2008-08-011-4/+6
|
* add Makefile.in to MAINTAINERCLEANFILES in every Makefile.amBenjamin Dauvergne2008-05-272-0/+2
|
* fix INCLUDES var, put top_builddir firstBenjamin Dauvergne2008-05-261-1/+2
|
* import main test fileDamien Laniel2008-05-203-1/+178
|
* added a discovery remove test caseDamien Laniel2008-05-201-3/+39
|
* added id-wsf 2.0 tests for new bindingsDamien Laniel2008-05-201-0/+1790
|
* added some tests for id-wsf 1.1 with new python bindingsDamien Laniel2008-05-201-0/+341
|
* [project @ fpeters@0d.be-20080423100400-sbs984j19ik6dxzi]Frederic Peters2008-04-291-1/+1
| | | | | | | | merge Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-23 12:04:00.477000+02:00
* [project @ fpeters@0d.be-20080325172346-eitu3onvzps4b30z]Frederic Peters2008-04-291-1/+5
| | | | | | | | 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
* [project @ fpeters@0d.be-20080310093300-2iv41ihnuify54po]Frederic Peters2008-04-291-1/+1
| | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-10 10:33:00.592000+01:00
* [project @ fpeters@0d.be-20080309152828-pw4gd3lcm7rb7dxd]Frederic Peters2008-04-291-1/+1
| | | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-09 16:28:28.854000+01:00
* [project @ fpeters@0d.be-20080118215410-d45drghkhvba7822]Frederic Peters2008-04-291-0/+8
| | | | | | | | | 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
* [project @ fpeters@0d.be-20071120201438-11ybvaefw3o02p7h]Frederic Peters2008-04-291-0/+3
| | | | | | | | clean built files Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-20 21:14:38.792000+01:00
* [project @ fpeters@0d.be-20071120201406-loyt7g5302ztk7er]Frederic Peters2008-04-292-2/+4
| | | | | | | | get srcdir from env variable (set automatically by automake) Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-20 21:14:06.537000+01:00
* [project @ fpeters@0d.be-20071120151830-wdnobbexiv300ibb]Frederic Peters2008-04-292-2/+6
| | | | | | | | | 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
* [project @ fpeters@0d.be-20071113195326-cd83a1nrlh9l9nbr]Frederic Peters2008-04-291-0/+25
| | | | | | | | added three more tests of bindings Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-13 20:53:26.406000+01:00
* [project @ fpeters@0d.be-20071113192919-3g05qazwjjhivlsh]Frederic Peters2008-04-294-0/+622
| | | | | | | | ported old test cases to the new binding Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-13 20:29:19.859000+01:00
* [project @ fpeters@0d.be-20071028140359-qhawdgrwjhk97y32]Frederic Peters2008-04-291-0/+26
added Makefile.am files; to integrate within lasso build tree (under a bindings/ directory), this also requires to add those three lines to configure.ac AC_OUTPUT: bindings/Makefile bindings/python/Makefile bindings/php5/Makefile also changed generation script to output files in the current directory Original author: Frederic Peters <fpeters@0d.be> Date: 2007-10-28 15:03:59.480000+01:00