Commit Graph

195 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 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 ac99ae6423 Update lasso version to 2.2.2
* configure.ac:
 * fedora/lasso.spec:
 * lasso.doap:
   update lasso version to 2.2.2, this commit will be the reference for
   the 2.2.2 release.
2009-03-27 16:44:17 +00:00
Benjamin Dauvergne 62de952ae9 Autoconf: Do not include optimisation flags in AM_CFLAGS
* configure.ac: when --enable-debugging set CFLAGS,
  do not modify AM_CFLAGS.
2009-03-27 15:06:19 +00:00
Benjamin Dauvergne eb3977ac9c Fix BSD compatibility bug in configure.ac
* configure.ac: remove GNUism, use -eq and = instead of == with test
   tool. (Patch from Emmanuel Dreyfus)
2009-03-02 12:08:05 +00:00
Benjamin Dauvergne ef585a8b76 Autoconf: new macro AS_COMPILER_FLAGS to check flag support
* macros/as-compiler-flags.m4 configure.ac: add a new files of autoconf macro
   to check support of warning flags, add needed line in configure.ac to define
   variable WARNING_FLAGS, containing only supported flags.
2009-01-24 09:34:21 +00:00
Benjamin Dauvergne dd9d4c30fc Autoconf: redirect shell warning in one of configure.ac tests
- configure.ac: when testing if bindings have been already generated
   with differents settings do not let grep emit warnings.
2009-01-24 09:33:47 +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 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
Damien Laniel 09bbae229e enable optimisation flag when not debugging 2008-09-16 13:02:47 +00:00
Benjamin Dauvergne 73d9c98f92 * Reset CFLAGS when --enable-debugging is used (remove -g -O2 value setted by AC_PROG_CC).
* Show AM_CFLAGS + CFLAGS in resume when configure finish.
2008-09-12 13:57:37 +00:00
Benjamin Dauvergne 61f2ccf37a * Add setting of AM_CFLAGS when --enable-debugging is used
* Export the AM_CFLAGS variable
* Create a conditionnal for automake named DEBUGGING
* Show CFLAGS in resume of configuration option
2008-09-12 13:57:17 +00:00
Benjamin Dauvergne 76d9fce5d5 forked lasso branch for adeline 2008-08-01 14:08:54 +00:00
Frédéric Péters e71bebd27c bumped to 2.2.1 2008-07-22 12:45:52 +00:00
Frédéric Péters e5f5ad4c86 2.0.0 2008-05-27 16:58:52 +00:00
Benjamin Dauvergne 6c8e46c5ee export SWIG_VERSION into Makefile.am
handle swig < 1.3.32 and swig >= 1.3.32 with two different versions of the patch script
2008-05-27 14:01:15 +00:00
Benjamin Dauvergne bd2943e815 Re-remove java/Makefile from configure.ac outputs 2008-05-26 09:37:22 +00:00
Benjamin Dauvergne 048b1ca8b6 re-add swig/java binding to makefile, make it use the JAVA_INCLUDE path, JDK_INCLUDES does not exist 2008-05-23 22:44:18 +00:00
Frédéric Péters 0b6df18b19 properly quote vars 2008-04-29 20:06:31 +00:00
Frédéric Péters fa7a373651 use new bindings 2008-04-29 12:24:18 +00:00
Frédéric Péters 6ebb36cbc1 add unprefixed extension dir for php5, and fixed it for php4 2008-04-26 15:29:25 +00:00
Benjamin Dauvergne d9125e7356 * change /etc -> /etc/php5/conf.d/ in the last commit 2008-04-23 15:00:20 +00:00
Benjamin Dauvergne 11e96c46bf * add parameters for php5: --with-php5-include-dir (default to /usr/share/php) and --with-php5-config-dir (default to /etc/php5/cond.f/) 2008-04-23 14:58:10 +00:00
Benjamin Dauvergne b8304263bd * search gzread in zlib1 after trying in libz (win32)
* remove critical exit from java macros
2008-04-23 11:56:13 +00:00
Benjamin Dauvergne 86b7d247ce add new directory in bindings/php5 to AC_OUTPUT commented lines 2008-03-28 16:17:27 +00:00
Benjamin Dauvergne 0eba1f41a5 * configure.ac: remove generation of php5/Makefile, it does nothing. add
detection of pre-4.1.3 gcj versions. add bindings/python/tests/Makefile
   in commented AC_OUTPUT code.
2008-03-14 14:40:10 +00:00
Benjamin Dauvergne 58cc642c16 * configure.ac: re-add JDK_INCLUDE substs (can be removed when we will move
to the new bindings)
2008-03-10 17:47:19 +00:00
Benjamin Dauvergne 9eef58fe4c * configure.ac,macros/ac_*.m4: add new m4 macros to detect more JAVA related
things like junit.jar path to put into the CLASSPATH or desactivate
  compilation of java bindings test.
2008-03-10 17:32:19 +00:00
Benjamin Dauvergne 0b95746ac1 * configure.ac: remove line for making bindings makefiles. 2008-03-06 15:08:30 +00:00
Benjamin Dauvergne 7501e4c57b * configure.ac: fix typo, forgot 'sed'. 2008-03-05 17:59:53 +00:00
Benjamin Dauvergne 97e568d3fb * configure.ac: add the same option for javac than for gcjh (for target and
source java language version).
2008-03-05 17:11:34 +00:00
Benjamin Dauvergne 16032ecffe * configure.ac: change handling of java options. Try to find JAVA_HOME from the
link in /usr/bin. Propose more options for java, javac and javah. Set good
 options for gcj (-ftarget=1.4 -fsource=1.4 mainly to be retro compatible
 with old VMs).
2008-03-05 17:09:48 +00:00
Damien Laniel c9ae4db6cc fixed php version checks 2008-02-28 18:01:43 +00:00
Frédéric Péters 5b0410c247 fixed gcj version regex 2008-02-17 13:50:08 +00:00
Frédéric Péters f49577c551 bumped to 2.1.1 2007-08-21 11:21:44 +00:00
Frédéric Péters 091d10bff2 bumped to 2.1.0 2007-08-13 11:34:48 +00:00
Damien Laniel ea6fcc7007 added some missing Makefiles to configure.ac 2007-08-02 09:16:43 +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 8fc5a70abc implemented disco.metadata.dump() 2007-04-12 17:05:32 +00:00
Frédéric Péters dc25a012e9 added WS-Addr classes 2007-04-11 13:10:20 +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 509b9d4c72 updated version number and required swig version 2007-01-16 09:06:03 +00:00
Frédéric Péters 58b741d608 bumped version to 1.9.9 (and updated libtool version accordingly) and disabled
PHP5 support by default.
2007-01-04 13:52:44 +00:00
Frédéric Péters cb4c16b928 ship metadata files used in tests 2006-12-08 10:57:05 +00:00
Frédéric Péters 276d96005d fixed php configure options indentation 2006-12-08 10:50:25 +00:00
Frédéric Péters 384a5e26fe added support for PHP5 2006-12-08 10:05:39 +00:00
Frédéric Péters 658620b6df try to avoid detecting php5 as a compatible php version 2006-12-08 09:39:03 +00:00
Frédéric Péters 01438cb0f8 rest2html is now shipped as rst2html, also looks for this one 2006-10-28 15:16:18 +00:00
Frédéric Péters 19acf1b3b0 note about 0.6.5 2006-03-21 09:03:37 +00:00