Commit Graph

30 Commits

Author SHA1 Message Date
Benjamin Dauvergne fd256b2269 Docs: change the doc production and lot of other fixes
* lasso/Makefile.am:
   distribute extract_sections.py
 * docs/references/lasso/lasso.types.in: add missing class (mainly SAML2
   and ID-WSF 1.0/2.0) from docs/references/lasso.types.in

 * lasso/xml/strings.h:
   add lots of documentation, or at least documentation template to
   strings constants.
 * id-ff/login.h:
 * saml-2.0/assertion_query.h:
 * xml/xml.h:
   document undocumented enumerations.
 * lasso/errors.h:
   add proper documentation about error codes.
 * lasso/errors.c:
   new version of the lasso_strerror function
 * lasso/build_strerror.py:
   update the script that generater lasso_strerror from the
   documentation comments.

   Remove usage of OFTYPE

 * lasso/id-ff/session.c:
 * lasso/id-ff/session.h:
   remove usage of oftype, prefer gtk-introspection annotations instead.
 * lasso/id-wsf/data_service.h:
 * lasso/id-wsf/data_service.c:
   do the same.

   Add a script to build lasso-sections.txt

 * lasso/extract_sections.py:
   this script parses header files and generated lasso-sections.txt
   content for GObject class descriptions.

   Add a template file for the lasso-section.txt file

 * docs/references/lasso-sections.txt.in:
   this file serves as a base for the generation of lasso-sections.txt

   Update docs/references/Makefile.am for generating lasso-sections.txt

 * docs/references/Makefile.am:
   always rebuild template, using out of source build directory is too
   weird without it.
   call new script extract_sections.py to regenerate lasso-sections.txt
   if header files changed.

   Update lasso.sgml file with all missing sections

 * docs/reference/lasso.sgml:
   add all missing sections, mainly objects from XML schemas.

 * docs/reference/lasso-sections.txt: update it

 * *.c: add section documentation to some files.
 * lasso/xml/strings.h: fix bad usage or docbook markup
2009-08-26 15:15:07 +00:00
Benjamin Dauvergne 7231771856 All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF code
* nearly all C files: change includes for relative paths.
 * lasso/id-wsf/id_wsf.h, lasso/id-wsf-2.0/id_wsf_2.h: add top level
   public include files for ID-WSF 1.0 and ID-WSF 2.0.
 * lasso/id-ff/server.*, lasso/id-ff/session.*, lasso/id-ff/identity.*:
   remove most of the code related to ID-WSF and push into
   lasso/id-wsf/id_ff_extensions.* and lasso/id-wsf-2.0/identity.c,
   lasso/id-wsf-2.0/server.c, lasso/id-wsf-2.0/session.c.
 * lasso/id-wsf-2.0/saml2_login.c,
   lasso/id-wsf-2.0/saml2_login_private.h: same change but for ID-WSF
   2.0 support in SAML2 SSO profile.
2009-08-26 15:14:32 +00:00
Benjamin Dauvergne b09ef2e015 Core: do not mix public and private headers
* lots of files:
   explicitely load the internal header xml/private.h where needed.
2009-03-27 15:04:26 +00:00
Benjamin Dauvergne 33bbf7a7de All: Fix missing field initializer problems
* 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.
2009-01-24 09:33:40 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Benjamin Dauvergne 6c698a4aaf Add namespace for federation XML object 2008-08-26 12:49:07 +00:00
Benjamin Dauvergne 207891ff29 * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and formatting 2008-08-05 14:53:29 +00:00
Frédéric Péters e5ba6151ba moved gtk-doc inline as is better on so many points; also added schema
fragments to published doc
2008-05-15 21:17:44 +00:00
Damien Laniel fa76cfccf4 removed a duplicate line 2007-06-11 15:27:03 +00:00
Damien Laniel 4fc6657e0c updated Copyright dates in all files 2007-05-30 17:17:45 +00:00
Frédéric Péters 853f46fd93 starting SAML 2 logout 2005-11-21 18:51:52 +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
Frédéric Péters 453c810fb8 char signedness for gcc 4 (id-wsf part has not been done) 2005-07-30 22:36:54 +00:00
Emmanuel Raviart 7a03e99b09 Updated Copyright and authors. 2005-01-22 15:57:56 +00:00
Frédéric Péters fe3928ad82 removed individual debug() statements in dispose() and finalize(); replaced by
a single statement in xml/xml.c; surrouded that one by LASSO_DEBUG so
--enable-debugging prints those memory-management debugging data.
2005-01-04 12:21:30 +00:00
Frédéric Péters e57ca2228d don't care about NameFormat and NameQualifier in comparaison 2005-01-04 09:58:55 +00:00
Frédéric Péters f40931b78a removed lasso_federation_set_local_name_identifier and
lasso_federation_set_remote_name_identifier; they were no longer necessary.
2005-01-01 18:41:17 +00:00
Frédéric Péters 493236dc22 documenting #LassoIdentity and #LassoFederation 2004-12-22 21:38:06 +00:00
Frédéric Péters 95afff30e7 Added differentiation between creating xmlnode for lasso use (the _dump
functions) and creating xmlnode for the wire (export_to_soap...).  This
was necessary to keep track of private_key_file to use on an Assertion
while it was kept in a lasso session dump and restored later.

This means the get_xmlNode functions have now a second parameter, gboolean
lasso_dump, TRUE when dumping for lasso internal use.

On the bright side assertions are now signed (that signature is not yet
checked).
2004-12-19 20:34:22 +00:00
Frédéric Péters 1e7cd34717 pointers are %p in format strings, not %x 2004-12-15 19:11:21 +00:00
Frédéric Péters a9e250aec1 moved federation to XmlSnippet 2004-12-15 19:02:18 +00:00
Frédéric Péters c5a2dec0cc overridden spelling fix caused alignment wreckage 2004-12-10 09:55:27 +00:00
Emmanuel Raviart 1716502943 The past participle of "to override" is overridden.
see http://en.wiktionary.org/wiki/Overridden
2004-12-07 21:30:11 +00:00
Frédéric Péters cd4f3ea1fc indentation work 2004-11-25 22:51:39 +00:00
Frédéric Péters ae5ffe0468 renamed private struct member to private_data (gtk+ does it like that) 2004-11-22 16:10:41 +00:00
Frédéric Péters a31a08d228 renamed lasso/environs/ to lasso/id-ff/ 2004-11-15 10:40:37 +00:00
Frédéric Péters 07e1b7c04f return value on init_from_xml; and minor tweaks to code style 2004-11-09 09:08:47 +00:00
Frédéric Péters 2a5761ccbd set RemoteProviderID has <federation> attribute instead of text child to be a
little more compatible with lasso (still incompatible since they put all the
federation in a global <federations> while I put them directly in the
<identity>).
2004-11-01 14:55:19 +00:00
Frédéric Péters 66cc2630b4 removal of \n at end of error messages 2004-10-27 17:02:18 +00:00
Frédéric Péters f13772d62d Done with the move to structures and the removal of protocols/ (lasso branched
on October 2nd; occasional merges since then).

- Compatible with current souk test suites.
- Missing memory management for everything in xml/
- Missing xmlsec support for SOAP messages.
2004-10-27 09:49:13 +00:00