| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [Python binding] do not throw lasso.Error for python exceptions | Benjamin Dauvergne | 2010-07-05 | 1 | -1/+1 |
| | | |||||
| * | [Bindings] accept simple string in string<->xmlNode converter | Benjamin Dauvergne | 2010-06-29 | 1 | -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). | ||||
| * | [ID-WSF2] add idwsf2 test script to test suite | Benjamin Dauvergne | 2010-06-29 | 2 | -3/+7 |
| | | | | | | Re-activate ID-WSF 2.0 test script. Fix problem with provider issuing assertion role. Need to be fixed more generally in the future. | ||||
| * | Merge branch 'issue-88' | Benjamin Dauvergne | 2010-06-29 | 2 | -16/+36 |
| | | |||||
| * | Merge branch 'issue-86' | Benjamin Dauvergne | 2010-06-29 | 1 | -1/+18 |
| | | |||||
| * | Test: add non regression test for reloading a server dump with encrypted keys | Benjamin Dauvergne | 2010-06-14 | 1 | -0/+13 |
| | | |||||
| * | Binding python: fix freeing of list return values for methods with the ↵ | Benjamin Dauvergne | 2010-06-14 | 1 | -3/+3 |
| | | | | | | | transfer full flag The output 'print' were missing, oups :( | ||||
| * | Binding python: find a work around for random behaviour of PyImport_ImportModule | Benjamin Dauvergne | 2010-06-12 | 1 | -2/+6 |
| | | | | | | | | * it seems that PyImport_ImportModule is not deterministic. Sometimes it returns True for modules which we know are present ('logging'). Importing 'sys' first seems to make 'logging' accessible (complete cargo cult programming). | ||||
| * | Test: add python test for attribute requesting | Benjamin Dauvergne | 2010-06-12 | 1 | -1/+58 |
| | | | | | | | | | | | | | | * What's tested: - request initialization - adding attribute designators - building the request message - processing the request message - accepting the request - adding assertion with attributes - signing the assertion - building the response - parsing the response | ||||
| * | Binding python: fix bad refcounting in get_logger and lasso_python_log | Benjamin Dauvergne | 2010-06-12 | 1 | -7/+13 |
| | | |||||
| * | Tests: new python test for setEncryptionPrivateKeyWithPassword | Benjamin Dauvergne | 2010-06-10 | 1 | -0/+12 |
| | | |||||
| * | Binding python: if lasso.logger exists use it for logging | Benjamin Dauvergne | 2010-06-10 | 1 | -8/+28 |
| | | | | | | | * There is now two paths to get a logger in the python binding: - first try to get an objet from lasso.logger - if it doesn't exist or is None, the try logging.getLogger('lasso') | ||||
| * | Binding python: call lasso_init() first in init_lasso() | Benjamin Dauvergne | 2010-06-09 | 2 | -2/+1 |
| | | |||||
| * | Binding python: add GLog handler to redirect logs to Python logger named "lasso" | Benjamin Dauvergne | 2010-06-09 | 2 | -0/+44 |
| | | | | | * fixes #20 | ||||
| * | Bindings: keep retro compatibility for member field names | Benjamin Dauvergne | 2010-06-06 | 1 | -0/+3 |
| | | | | | | | | * Special kludge price go to PHP: methods name are insensitive so nothing to do here, BUT, if you use getters/setters then your objects fields can be case insensitive too ;-) (DNS, dns, DnS, dNs all maps to get_dns ). | ||||
| * | Binding python tests: update idwsf1 to explicitely register PP10 HREF | Benjamin Dauvergne | 2010-04-06 | 1 | -0/+1 |
| | | |||||
| * | Binding python: update idwsf2 test for method change dst.initResponse -> ↵ | Benjamin Dauvergne | 2010-04-06 | 1 | -1/+1 |
| | | | | | validateRequest | ||||
| * | Binding python: fix use of raise_on_rc, simplift Node.__setstate__ | Benjamin Dauvergne | 2010-04-06 | 1 | -7/+6 |
| | | |||||
| * | Binding python: for empty GList return empty tuples, not None | Benjamin Dauvergne | 2010-04-06 | 2 | -18/+18 |
| | | |||||
| * | Binding python: fix problem of classes without an initializer | Benjamin Dauvergne | 2010-03-27 | 1 | -5/+7 |
| | | |||||
| * | ID-WSF 2.0 python tests: finish tests for new ID-WSF 2.0 API | Benjamin Dauvergne | 2010-03-02 | 1 | -26/+157 |
| | | | | | | | | * bindings/python/tests/idwsf2_tests.py: all Discovery service request types are tested, and Data Service query is tested as well. Data Service testing and API should more tested, especially failure cases. | ||||
| * | Binding python: accept a functio as setter, if it has only two arguments | Benjamin Dauvergne | 2010-03-02 | 1 | -1/+1 |
| | | |||||
| * | Bindings python: use more accessors from utils.py | Benjamin Dauvergne | 2010-02-22 | 1 | -41/+31 |
| | | | | | | * binings/python/lang.py: remove direct access to type tuples in favor of using accesors from utils.py. | ||||
| * | Binding python: add pickling support to LassoNode | Benjamin Dauvergne | 2010-02-22 | 1 | -0/+10 |
| | | | | | | | | * bindings/python/lang.py: support pickling protocol methods __getstate__ and __setstate__ leveraging the lasso_node_dump and lasso_node_new_from_dump methods from Lasso. | ||||
| * | Bindings python tests: update idwsf2_tests.py | Benjamin Dauvergne | 2010-02-22 | 1 | -1359/+160 |
| | | |||||
| * | Current state of ID-WSF 2.0 python test | Benjamin Dauvergne | 2010-02-17 | 1 | -6/+76 |
| | | |||||
| * | Current state of idwsf2 tests | Benjamin Dauvergne | 2010-02-17 | 1 | -44/+59 |
| | | |||||
| * | Binding python: simplify special constructor, use cptrToPy | Benjamin Dauvergne | 2010-02-17 | 1 | -5/+1 |
| | | |||||
| * | Binding python tests: adapt test to use TOP_SRCDIR env var | Benjamin Dauvergne | 2010-02-17 | 2 | -4/+4 |
| | | |||||
| * | Binding python: factorize value freeing generation code | Benjamin Dauvergne | 2010-02-17 | 1 | -3/+31 |
| | | | | | | | | * lasso/python/lang.py: extract value freeing generation code to method free_value, add proper liberation of values at exit of wrapper functions, remove g_free call from return_value generated code. | ||||
| * | in idwsf2_tests.py, merge test case for metadata registering, add test case ↵ | Benjamin Dauvergne | 2010-02-17 | 1 | -144/+178 |
| | | | | | for failure | ||||
| * | Binding python: fix leak in string getters | Benjamin Dauvergne | 2010-02-15 | 1 | -1/+1 |
| | | |||||
| * | Bindings python: udpate id-wsf 2.0 test file | Benjamin Dauvergne | 2010-02-15 | 1 | -122/+105 |
| | | | | | | | * bindings/python/tests/idwsf2_tests.py: Disco Service registering is working, it now needs a bootstrap epr in all case (before registering could be done without signatures). | ||||
| * | Bindings python: remove default argument if there is parameters without ↵ | Benjamin Dauvergne | 2010-02-12 | 1 | -0/+25 |
| | | | | | default argument following | ||||
| * | Bindings: restore ID-WSF constants, improve python getters, | Benjamin Dauvergne | 2010-02-04 | 1 | -80/+62 |
| | | | | | | | | | | | | | | | | * bindings/bindings.py: parse idwsf_strings.h to get ID-WSF constants. * bindings/utils.py: add an is_rc check function, to check for 'error code' return type. * bindings/perl/lang.py: only raise errors for 'int' or 'gint' return type * bindings/python/lang.py: - always create a normal function binding. - for functions starting with 'get' try to create a corresponding property, but if a corresponding member already exists, fails, and print a warning about getter function/member field clash. - make type dispatching on return_type more explicite. | ||||
| * | Binding python: fix getter for non-object fields | Benjamin Dauvergne | 2010-02-04 | 1 | -5/+13 |
| | | | | | | * bindings/python/lang.py: transition to bindings/utils.py methods broke getters. | ||||
| * | Bindings: use lasso_return_xxx macros instead of GLib ones | Benjamin Dauvergne | 2010-02-01 | 1 | -3/+3 |
| | | |||||
| * | Bindings: make binding generation more silent | Benjamin Dauvergne | 2010-02-01 | 1 | -1/+1 |
| | | | | | | | | | * 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. | ||||
| * | Binding python: make a better use of default value annotation for creating ↵ | Benjamin Dauvergne | 2010-01-29 | 1 | -1/+4 |
| | | | | | method declarations | ||||
| * | Bindings python ID-WSF 1.0 tests: update PP HREF symbol | Benjamin Dauvergne | 2010-01-28 | 1 | -9/+9 |
| | | |||||
| * | Binding python ID-WSF 2.0 tests: update some tests | Benjamin Dauvergne | 2010-01-28 | 1 | -2/+6 |
| | | |||||
| * | Binding Python ID-WSF 2.0: comment out test | Benjamin Dauvergne | 2010-01-28 | 1 | -1/+1 |
| | | |||||
| * | Bindings: java, php5, python simplify logic in binding generator | Benjamin Dauvergne | 2010-01-28 | 3 | -148/+205 |
| | | | | | | | * 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. | ||||
| * | Add bindings/python/examples to dist file | Benjamin Dauvergne | 2010-01-16 | 1 | -1/+1 |
| | | |||||
| * | Bindings python: use is_cstring for matching GList element type | Benjamin Dauvergne | 2010-01-14 | 1 | -1/+1 |
| | | |||||
| * | Bindings: add support for time_t to bindings, add support for 'string' type ↵ | Benjamin Dauvergne | 2010-01-12 | 1 | -1/+1 |
| | | | | | for list in java binding | ||||
| * | Binding python: provide old binding name for set_encryptionMode | Benjamin Dauvergne | 2010-01-12 | 1 | -0/+1 |
| | | |||||
| * | Bindings: simplify GList handling | Benjamin Dauvergne | 2010-01-04 | 1 | -36/+56 |
| | | |||||
| * | Bindings: in bindings/python/Makefile.am, precise generated files dependencies | Benjamin Dauvergne | 2010-01-04 | 1 | -0/+2 |
| | | |||||
| * | Python binding: update test scripts to new ID-WSF API | Benjamin Dauvergne | 2010-01-04 | 2 | -34/+61 |
| | | |||||
