summaryrefslogtreecommitdiffstats
path: root/bindings
Commit message (Collapse)AuthorAgeFilesLines
* bindings/php5: fix enum getters and setters (fixes #10032)Benjamin Dauvergne2016-02-181-9/+14
| | | | | | | | enumeration type were being wrongly interpreted as objects types because is_object() was used instead of the local specialisation done in PhpCode.is_object(). Also fix docstring of getters/setters.
* java: fix AllJunitTests generation when building out of source directoryBenjamin Dauvergne2015-09-021-1/+1
|
* bindings/java: fix test script generationBenjamin Dauvergne2015-08-241-4/+1
|
* Export LassonNode to SOAP with arbitrary SOAP headersJohn Dennis2015-08-241-0/+5
| | | | | | | | | | | | | | Add function lasso_node_export_to_soap_with_headers() Utility function to build a full SOAP envelope message with arbitrary headers. The LassoNode becomes the body of the SOAP envelope. The headers are passed as a GList of LassoNode's and are added as header elements to the SOAP envelope header. This is a flexible way to build a SOAP envelope that contains headers without constraints on the headers. Signed-off-by: John Dennis <jdennis@redhat.com> License: MIT
* Add LassoNode objects for ECP and PAOSJohn Dennis2015-08-241-2/+1
| | | | | | | | | | | | | | | | | | The SAMLv2 protocol defines 5 XML types which we need to map to LassoNode objectes so thay can be serialized from XML and back into XML. ecp:RelayState ecp:Request ecp:Response paos:Request paso:Response This patch addes these 5 new LassoNode's and updates the build configuration to include them. Signed-off-by: John Dennis <jdennis@redhat.com> License: MIT
* configure.ac: provide fallback for systems where libcheck is not installed ↵Benjamin Dauvergne2015-08-241-1/+4
| | | | with pkg-config
* Makefile.am: fix automake warningBenjamin Dauvergne2015-08-244-4/+4
| | | | | | | | It fixes this warning: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') it seems INCLUDES is not to be used anymore.
* Fix build failuresJohn Dennis2015-03-231-1/+1
| | | | | | | | | | | Fix a mistake in the documentation markup that prevented the doc from building, needed to reverse the order of two tags. Remove the $(PYTHON) from TESTS_ENVIRONMENT, it was causing python to be invoked passing /bin/sh to it as a script. License: MIT Signed-off-by: John Dennis <jdennis@redhat.com>
* Port Java binding generator to Python 3Benjamin Dauvergne2015-02-121-249/+250
|
* Port Perl binding generator to Python 3Benjamin Dauvergne2015-02-121-7/+8
|
* Port PHP5 binding generator to Python 3Benjamin Dauvergne2015-02-124-251/+254
|
* Make python generator scripts and tests run with python >= 3.2Benjamin Dauvergne2015-02-126-23/+79
|
* Python 3: Fix the pygobject init macro and restore itHouzéfa Abbasbhay2015-02-122-8/+1
|
* Python 3: Fix a string conversion helperHouzéfa Abbasbhay2015-02-121-1/+2
|
* Python 3: Oops (see rev 279959f)Houzéfa Abbasbhay2015-02-121-2/+2
|
* Python 3: Fix Python 2 support (use six.print_)Houzéfa Abbasbhay2015-02-122-210/+212
|
* Python 3: Disable "PyGObjectPtrType" to avoid crashes (needsHouzéfa Abbasbhay2015-02-121-0/+6
| | | | investigation)
* Python 3: Fix a string functionHouzéfa Abbasbhay2015-02-121-1/+1
|
* Python 3: Fix module initHouzéfa Abbasbhay2015-02-121-4/+24
|
* Python 3: PyObject_HEAD_INIT(NULL) -> PyVarObject_HEAD_INIT(NULL, 0)Houzéfa Abbasbhay2015-02-121-1/+1
| | | | (to play better with C strict aliasing rules - see PEP 3123)
* Python 3: Defs for int & string related functionsHouzéfa Abbasbhay2015-02-121-0/+18
|
* Python 3:Houzéfa Abbasbhay2015-02-123-250/+250
| | | | | | | | - file(...) -> open(...) - print ... -> print(...) - print >> fd, ... -> print(..., file=fd) - basestring -> str - map(...) -> list(map(...))
* Python 3: PyObject.ob_type is deeper in the structure; use the Py_TYPEHouzéfa Abbasbhay2015-02-121-1/+1
| | | | macro instead
* Remove dead code in the PHP5 bindingBenjamin Dauvergne2014-10-021-10/+0
|
* perl: keep on using PREFIX, required for distcheckFrédéric Péters2014-08-111-1/+1
|
* Use INSTALLDIRS=vendor for the Perl bindings, as per the Debian Perl policyNiko Tyni2014-08-061-2/+2
| | | | | | | | | Debian packaged Perl modules should be installed into the vendor directories (currently /usr/lib/perl5 and /usr/share/perl5), but the upstream default puts the into the 'site' ones (modified with the PREFIX setting.) Explicitly using INSTALLDIRS=vendor simplifies the install rules and removes the need for PREFIX, which has been deprecated in ExtUtils::MakeMaker for a long time.
* bindings/python/tests: session indexes storage preserves order nowBenjamin Dauvergne2014-06-081-2/+1
|
* bindings/python: fix conversion of unicode value to UTF-8 for settersBenjamin Dauvergne2014-05-281-1/+1
|
* Fix generators for parsing of integer valuesSimo Sorce2014-04-231-2/+2
| | | | | | | | | | | | | All number types including enums are parse as if they were integers, this breaks in many ways, long and int are not the same size in all architectures as well as enum may vary in size depening on compiler, architecture and optimizations. Always pass an actual long to PyArg_ParseTuple() and rely on the a cast from long to the destination variable type in the following assignment. Signed-off-by: Simo Sorce <simo@redhat.com>
* bindings/perl/Makefile: it's difficult to control produced code so disable ↵Benjamin Dauvergne2014-03-311-1/+1
| | | | warning on unused-but-set-variable
* bindings/python: automatically encode string into utf-8 when passing unicode ↵Benjamin Dauvergne2013-12-111-0/+13
| | | | | | string to Lasso methods fixes #4077
* perl: make it compatible with recent libxml2Frédéric Péters2013-12-061-10/+22
|
* Fix license boilerplatesSimo Sorce2013-12-0322-44/+22
| | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com>
* python: do not fail displaying a non-C error (fixes #3866)Frédéric Péters2013-10-231-1/+4
| | | | | | | | | | The binding does a raise Error('failed to create object') but the local Error exception class expects a lasso error code, and will thus fail if printed. File ".../lasso.py", line 54, in __str__ return '<lasso.%s(%s): %s>' % (self.__class__.__name__, self.code, _lasso.strError(self.code)) TypeError: an integer is required
* bindings/perl: fix type of size variable incompatible with 64 bits archBenjamin Dauvergne2013-09-271-1/+1
|
* Merge remote-tracking branch 'origin/libxml2.9-compat'Benjamin Dauvergne2013-07-303-45/+71
|\
| * Rewrite all xmlNode serialization code to be compatible with libxml 2.9.0Benjamin Dauvergne2012-09-283-45/+71
| | | | | | | | | | | | | | | | | | | | 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.
* | python: fix logout request parsing testshowBenjamin Dauvergne2013-03-201-0/+4
|/ | | | adapt to new checks done on logout request nodes
* tests: add a SSO test with DSA keys to python bindings testsBenjamin Dauvergne2012-07-111-0/+28
|
* [bindings/php5] remove redundant check to is_transfer_fullBenjamin Dauvergne2012-05-051-4/+4
|
* [bindings/php5] add missing release for xmlnodes in return value wrapperBenjamin Dauvergne2012-05-051-0/+2
|
* [bindings/python] in constructors wrappers build the return value beforeBenjamin Dauvergne2012-05-051-10/+11
|
* [bindings/python] free xmlnode argument owned by the calleeBenjamin Dauvergne2012-05-051-0/+2
|
* [bindings/python] fix some indentationBenjamin Dauvergne2012-05-051-1/+1
|
* [bindings/python] boolean values does not need to be releasedBenjamin Dauvergne2012-05-051-2/+2
|
* [bindings] add a default parameter to is_transfer_full whose default is FalseBenjamin Dauvergne2012-05-051-4/+5
|
* [bindings] improve matching for object typesBenjamin Dauvergne2012-05-051-1/+5
|
* Merge branch 'release-2.4.0'Benjamin Dauvergne2012-05-051-15/+36
|\
| * [bindings php5] fix missing wrappers for constructorsBenjamin Dauvergne2012-03-021-11/+30
| |
| * [bindings php5] improve generation of php call stubs by using type case ↵Benjamin Dauvergne2012-02-271-4/+6
| | | | | | | | helpers, raise exception in unknown case