Commit Graph

61 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 b8475305e4 Core: fix makefile for generating errors.h in out of source dir build
* lasso/Makefile.am:
   errors.h is expected to be in srcdir not builddir.
2009-08-26 15:15:03 +00:00
Benjamin Dauvergne 6e33ada682 Core: Use automake-1.11 when possible
* Makefile.am:
   use new automake-1.11 silent rules if possible
   move macros to m4 directory
 * m4/gtk-doc.m4:
   add gtk-doc macros.
 * lasso/Makefile.am:
   add missing -f flag to rm, to unbreak make distcheck
 * docs/references/Makefile.am:
   fix problem between libtool and gtk-doc
 * autogen.sh:
   update to autogen.sh from gtk-doc, add support for automake-1.11
2009-08-26 15:14:56 +00:00
Benjamin Dauvergne c4e3d95429 Only recurse into id-wsf if it is enabled
* lasso/Makefile.am:
   only add id-wsf and id-wsf-2.0 to SUBDIRS if wsf is enabled.
2009-07-06 16:06:03 +00:00
Benjamin Dauvergne 0d3977f21f Fix: backward_comp.h is missing from tarballs.
* lasso/Makefile.am:
   add backward_comp.h to EXTRA_DIST
2009-07-06 16:06:02 +00:00
Benjamin Dauvergne e65ed18771 Makefile: change dependencies to pass distcheck
* lasso/Makefile.am:
   source dependencies must refer to $(srcdir) in order to pass
   distcheck, I forgot to do it in types.c and symbols.sym target
   changes.
2009-03-27 16:44:15 +00:00
Benjamin Dauvergne dcea6b26a3 Makefile: missing dependencies for built sources
* lasso/Makefile.am:
   remove .PHONY declaration on built sources and set appropriate
   dependencies.
 * lasso/extract_types.py: with new dependencies well defined in
   Makefile no need to verify change in the content of the file, just
   overwrite it.
2009-03-27 15:04:36 +00:00
Benjamin Dauvergne 253b0a2e5b Add errors.h.in to EXTRA_DIST
* lasso/Makefile.am: errors.h.in must be distributed.
2008-11-26 12:26:31 +00:00
Benjamin Dauvergne f60b39eb9a Add new internal function to show safe extracts
- lasso/utils.c, lasso/utils.h:
   New internal api lasso_safe_prefix_string that can show any string
   taking care of escaping newlines,tabs and non-graphical ou non-ASCII
   characters.
2008-11-05 11:23:27 +00:00
Benjamin Dauvergne 2bcf34e0df add files to nodist_HEADERS to pass distcheck 2008-10-13 11:44:09 +00:00
Benjamin Dauvergne 24f3e9cdd5 Add new module lasso_registry, to handle mapping from XML tag to GObject
classes.
2008-08-26 12:49:02 +00:00
Benjamin Dauvergne 0267e09b8a forked lasso branch for adeline 2008-08-01 14:09:21 +00:00
Benjamin Dauvergne f112d76535 add soap binding util function to lookup specific SOAP header for ID-WSF SOAP encapsulation 2008-08-01 14:09:06 +00:00
Benjamin Dauvergne 76d9fce5d5 forked lasso branch for adeline 2008-08-01 14:08:54 +00:00
Benjamin Dauvergne bfe206c67f add soap binding util function to lookup specific SOAP header for ID-WSF SOAP encapsulation 2008-08-01 14:06:45 +00:00
Benjamin Dauvergne 58ad7cf9f3 add build_strerror.py to EXTRA_DIST 2008-06-29 19:11:25 +00:00
Benjamin Dauvergne 1615e4596a remove perl script for generating lasso_strerror, replace with a python script, do not replace errors.c if generation give the same file as before, add warning to errors.c about autogeneration, add documentation on lasso_strerror to errors.c.in 2008-05-30 13:03:06 +00:00
Benjamin Dauvergne 497294e8d0 * Move error message inside comments in lasso/errors.h
* Add a script to autogenerate lasso/errors.c from errors.h
* Update errors.c
* Add a target to Makefile.am to create errors.c
2008-05-30 11:17:57 +00:00
Benjamin Dauvergne 7244bce7af add lasso_config.h.in to MAINTAINERCLEANFILES 2008-05-27 15:27:33 +00:00
Benjamin Dauvergne 933458c068 add Makefile.in to MAINTAINERCLEANFILES in every Makefile.am 2008-05-27 15:27:30 +00:00
Benjamin Dauvergne 67db74d9d8 cleanup include listingm first builddir then srcdir and no need for $srcdir/lasso 2008-05-26 22:58:21 +00:00
Benjamin Dauvergne c56b308388 add a new headers <lasso/utils.h> with macros to handle memory like assigning a
gobject field (work flow, is you augment ref of the new value, decrease the one
from the old, and then assign), assigning strings, releasing lists of strings, of
gobjects,etc..
the free macros are all called g_release_somehting and they set the released
variable to NULL.
add a macro to validate GObject parameter types

This header is intended to concentre every bit of wisdom for handling pointers
and memory, try to use thoses macros in your code.
They are not intended to work with weak references (references you do not own),
so always g_object_ref in this case (or use g_assign_gobject that does it,
when your variable is not needed anymore to g_assign_gobject(var, NULL));
2008-05-22 14:54:13 +00:00
Frédéric Péters 6204c8be9c adds all classes from ID-WSF 2 required schemas; with appropriate changes to
other files.
2007-07-10 08:50:56 +00:00
Damien Laniel 31f42481c5 removed id-wsf 1 soap headers and added wsu_timestamp id-wsf 2.0 element 2007-04-12 12:16:33 +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
Damien Laniel 150f2546e7 build configuration for id-wsf 2.0 2007-04-03 13:50:34 +00:00
Frédéric Péters 5d45d29402 Helps building outside srcdir 2006-03-21 08:57:28 +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 e22e52d6d9 erroneously disabled symbols.sym 2005-09-11 22:52:28 +00:00
Frédéric Péters 4adc5b5847 renamed ProfileService to DataService 2005-08-25 07:19:27 +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 812c16d3c0 don't require sasl if wsf is not wanted; allow sasl2 dir to be passed to
configure; include <sasl/sasl.h> instead of <sasl.h> since mutt does it that
way.
2005-02-24 19:13:04 +00:00
Frédéric Péters 9da138f181 marked types.c and symbols.sym as phony targets so they are rebuilt every time 2005-02-05 16:13:12 +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 7d42f78100 use python as found by configure 2005-01-26 07:54:19 +00:00
Frédéric Péters 142e64189f moved errors.[ch] up; as requested. 2005-01-12 17:42:01 +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
Frédéric Péters ca7ca6c2ce Isolated CFLAGS to be used when compiling Lasso in LASSO_CORE_CFLAGS; don't use
those when compiling tests in order to catch errors in headers.  Also moved a
few things in header files; need more thinking about that.
2004-12-17 18:02:42 +00:00
Frédéric Péters c613c52c27 define LASSO_INTERNALS in lasso/ 2004-12-17 17:12:58 +00:00
Frédéric Péters 4b03192dac Won anther automake battle. Thanks to Matthias Andree and Be Plouvier. 2004-12-04 15:01:33 +00:00
Frédéric Péters 0935abceb5 added types.c generation to Makefile and to .cvsignore 2004-12-04 13:38:34 +00:00
Nicolas Clapies e067ba2ae7 Added a first support of id-wsf high level. Only the base class is defined : LassoWsfProfile is intended to be inherited by future service classes. It is still very incomplete. 2004-11-30 17:07:42 +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 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
Frédéric Péters db8d9f930f please use spaces between variable names and values 2004-09-08 15:50:02 +00:00
Romain Chantereay ce352716fd Add windows linker --add-stdcall-alias in order to permit failsafe use of DLLs. 2004-09-07 17:07:59 +00:00
Romain Chantereay 6a5a78fa6d Rewritent the lasso win32 resource file dependency on the top_srcdir and not
relative parent directory.
2004-08-23 17:17:34 +00:00
Frédéric Péters d1a6ec7678 cleaned Makefile.am (I'm curious about the NULL= idiom; where did it come from ?) 2004-08-20 09:46:17 +00:00
Romain Chantereay 0d7e3772d0 - Fix #234 2004-08-05 15:32:47 +00:00