Commit Graph

21 Commits

Author SHA1 Message Date
Benjamin Dauvergne 16aa8a7413 Use io.open(encoding=utf8) in extract_symbols/sections.py (fixes #33360) 2019-05-23 10:07:31 +02:00
Benjamin Dauvergne a231eaff33 Make python generator scripts and tests run with python >= 3.2 2015-02-12 19:21:13 +01:00
Benjamin Dauvergne 5ce049c970 Core: fix extract_symbols regular expression
* lasso/extract_symbols.py:
   the regular expression was not matching declaration over multiple lines,
   and would catch argument starting with lasso_. Fixed.
2009-09-11 15:51:49 +00:00
Benjamin Dauvergne eacb57905c Core: SOAP is also used by SAML bindings
* extract_symbols.py, extract_types.py:
   export SOAP types whatever the value of the flag --enable-wsf.
   It still worked because constructor for GObject calls get_type, but
   there is a race condition: if you receive a SOAP message before
   sending one, it fails. Only soap_binding types must be removed.
2009-08-26 15:13:59 +00:00
Benjamin Dauvergne ef42f2cbc8 add functionality to enable debugging flags at runtime
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.
2008-10-01 10:31:58 +00:00
Benjamin Dauvergne bb5b171a66 * Add lasso_ds_* API to the general build of lasso (was enable only with id-wsf before) 2008-02-20 14:01:57 +00:00
Frédéric Péters 8e702f85c8 don't include wsu_ symbols in non-id-wsf builds 2007-04-13 16:56:18 +00:00
Frédéric Péters c0a164ac9c only include wsa_ when ID-WSF is enabled 2007-04-11 19:18:41 +00:00
Frédéric Péters 51578b5da6 keep a single --enable-wsf configure option, for both ID-WSF 1 and 2. 2007-04-06 16:05:32 +00:00
Frédéric Péters b4a02f143f dont parse files in id-wsf/ when not compiled with id-wsf support (required for mac os x nmedit) 2005-12-05 10:36:19 +00:00
Frédéric Péters ebb9f7dffc SAML 2.0 support (only web-sso for the moment) 2005-11-20 15:38:19 +00:00
Nicolas Clapies a8219526dc Only add lasso_ds_* for id-wsf. 2005-11-15 16:54:51 +00:00
Frédéric Péters e8aa89ba95 acknowledge new lasso_sec_ category, only used for wsf. 2005-09-27 15:43:28 +00:00
Frédéric Péters f2e1b04401 wsse is only for wsf 2005-05-02 16:08:48 +00:00
Frédéric Péters 5ef972b27e don't compile id-wsf files when wsf is disabled; this cuts down build
time by a nice margin.
2005-03-18 20:58:34 +00:00
Frédéric Péters 5b0be65ba9 configure flag to enable ID-WSF (off by default) 2005-01-27 11:51:59 +00:00
Frédéric Péters 640892cc83 correctly deals with multiple elements for the same query part 2005-01-27 09:58:31 +00:00
Frédéric Péters 39ce94d79f deals with lines ending with \; compile regex only once. 2005-01-09 13:44:53 +00:00
Frédéric Péters 382731efbb refined symbol regex 2004-12-21 18:19:06 +00:00
Frédéric Péters 8b8e54f821 Updated list of files generated by SWIG in C# and Java bindings; fixed PHP
Makefile.am; use $(srcdir) to get correct directory in code generation python
scrips.  make distcheck works after that.
2004-12-21 17:48:17 +00:00
Frédéric Péters 513442f6c0 only exports symbols declared with LASSO_EXPORT (experimental) 2004-12-21 14:00:17 +00:00