Commit Graph

208 Commits

Author SHA1 Message Date
Benjamin Dauvergne 3e5534e981 Update files for a 2.2.91 release 2010-01-29 16:42:29 +00:00
Benjamin Dauvergne e582a441e3 in configure.ac, activate the Perl binding in normal builds 2010-01-26 10:39:27 +00:00
Benjamin Dauvergne 896ca4579f Core: in configure.ac, activate warning when debugging, not in normal build
* configure.ac:
   remove -Wxxx flag from AM_CFLAGS, add them if --enable-debugging
   is used.
2010-01-26 10:39:26 +00:00
Benjamin Dauvergne c312a6f91a Bindings: add a new perl binding using the new binding infrastructure
* XS files is autogenerated using bindings/binding.py model of the
   Lasso API. All constants are in the Lasso::Constants package, the
   LASSO_ prefix is removed.
   All classes are now Lasso::ClassName, field accessor also serves as
   setters, i.e you can do this:
   $name_id = Lasso::Saml2NameID::new();
   $name_id->content('coin');
   print $name_id->content;

   Is still missing:
    - a lot of test files,
    - support for hashtables,
    - and throwing exceptions when return code is non-zero.
2010-01-25 23:47:56 +00:00
Benjamin Dauvergne 641a6af75a Bindings: remove all SWIG bindings and SWIG related files 2010-01-25 23:47:46 +00:00
Benjamin Dauvergne fca7999dba Bindings PHP5: rewire php5 tests to the makefiles, make them pass distcheck 2010-01-18 13:50:15 +00:00
Benjamin Dauvergne 42c81da4f4 XML: move SOAP API to its own sub directory 2010-01-04 09:15:42 +00:00
Benjamin Dauvergne 4057bd3ef2 Downgrade version 2.2.90 to make a pre-release 2009-12-09 06:51:28 +00:00
Benjamin Dauvergne 734e9054cb Upgrade version number 2009-12-08 09:19:19 +00:00
Benjamin Dauvergne 81d3b72efb Make php4 and perl binding disabled by default
* configure.ac:
   make default for --enable-perl and --enable-php4 to "no". Those
   binding will not be maintained in the future.
2009-10-30 14:47:34 +00:00
Benjamin Dauvergne 8ba526872a Core: fix commit 4313, restore support for --enable-wsf
* configure.ac:
   I throwed the baby with the bathwater..
2009-08-28 14:31:19 +00:00
Benjamin Dauvergne db210b6759 Core: remove SWIG ID-WSF warning from configure.ac
* configure.ac:
   as ID-WSF support in SWIG in not maintained anymore we can remove the
   warning about using pre-generated SWIG files with a different setting
   for the --enable-wsf flag.
2009-08-28 14:26:41 +00:00
Benjamin Dauvergne 8944c0b2f3 Core: set tar-pax as dist file format
* configure.ac:
   we could have more than 99 characters long path in the dist files,
   the pax format for tar archives support it.
2009-08-28 14:26:39 +00:00
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