Ada Utility Library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bundles Fix date Jul 3, 2017
debian Update for 1.8.0 package Dec 23, 2015
distrib Change the Library_Dir to help building debian packages Jun 24, 2018
doc Rebuild Jun 10, 2018
regtests Remove unecessary use clauses Oct 7, 2018
samples Fix the perfect hash example Aug 18, 2018
src Fix compilation warning Jan 5, 2019
support Fix generation for Win32 Oct 6, 2018
testutil Fix compilation warning Jan 5, 2019
.gitattributes Ignore some files in the git archive Apr 17, 2017
.gitignore Update Feb 8, 2018
LICENSE.Ahven Update Ahven license Dec 30, 2013
LICENSE.txt Utility package to measure performance of an application May 13, 2010
Makefile.in
NEWS Update the release date Jul 14, 2018
NOTICE.txt Update the notice file Jan 5, 2019
README.md Update for release 1.9.0 Jul 15, 2018
aclocal.m4 New macro AM_GNAT_LIBRARY_PROJECT to simplify the writing of configur… Jun 30, 2018
config.gpr Change to git Jul 16, 2017
config.guess
config.sub Integrate newer config.guess and config.sub to solve Issue #3: Window… Mar 8, 2018
configure Rebuild Sep 9, 2018
configure.ac Change to version 1.10 for next release Sep 9, 2018
coverage.sh Simple coverage script Apr 11, 2017
dynamo.xml Dynamo configuration file Feb 7, 2018
install-sh Configure and build files Jun 25, 2010
mkdocs.yml Fix documentation Feb 9, 2018
samples.gpr Build the serialize the proplist example Jul 16, 2017
tests_proc.gpr Fix GNAT project Nov 23, 2015
util.gpr.in Fix the GNAT project to pass the Library_Options to shared library bu… Jun 10, 2018
util_http.gpr.in Let Util_Http be an abstract project that builds the CURL/AWS project… May 28, 2012
util_http_aws.gpr.in Change the name of the directory that holds object files for generate… Jun 23, 2018
util_http_curl.gpr.in Remove Library_Interface clause Oct 8, 2018
util_tests.gpr Fix GNAT warning when building util_tests Nov 23, 2015
util_unit.gpr.in Change the name of the directory that holds object files for generate… Jun 23, 2018

README.md

Ada Utility Library

Build Status Test Status Documentation Status Download License Commits

This Ada05 library contains various utility packages for building Ada05 applications. This includes:

  • A logging framework close to Java log4j framework,
  • Support for properties
  • A serialization/deserialization framework for XML, JSON, CSV
  • Ada beans framework
  • Encoding/decoding framework (Base16, Base64, SHA, HMAC-SHA)
  • A composing stream framework (raw, files, buffers, pipes, sockets)
  • Several concurrency tools (reference counters, counters, pools, fifos, arrays)
  • Process creation and pipes
  • Support for loading shared libraries (on Windows or Unix)
  • HTTP client library on top of CURL or AWS

Ada Util also provides a small test utility library on top of Ahven or AUnit to help in writing unit tests. Ahven is the default testing framework as it provides better reports.

Build

For a detailed description on how you can configure, build and install the library refer to the Installation guide. Otherwise, you can easily configure and build the library with the steps described below.

To use Ahven testing framework, configure and build as follows:

./configure
make

To use AUnit, build with the following commands:

./configure --enable-aunit
make

The unit tests are built and executed with:

   make test

And unit tests are executed with (256 success, 0 failed):

   bin/util_harness

For the installation, use the following command:

   make install

Samples

The samples can be built using:

   gnatmake -Psamples

Documentation