------------------------------------------------------------------------
r718 | Stephane.Carrez | 2012-12-26 21:52:59 +0100 (Wed, 26 Dec 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-processes-tests.adb

Fix compilation warning

------------------------------------------------------------------------
r717 | Stephane.Carrez | 2012-12-26 21:48:55 +0100 (Wed, 26 Dec 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-listeners-tests.adb

Fix compilation warning

------------------------------------------------------------------------
r716 | Stephane.Carrez | 2012-12-25 10:53:38 +0100 (Tue, 25 Dec 2012) | 2 lines
Changed paths:
   M /trunk/src/util.gpb

Update copyright

------------------------------------------------------------------------
r715 | Stephane.Carrez | 2012-12-21 20:05:07 +0100 (Fri, 21 Dec 2012) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb

New operation Assert_Equal_Files

------------------------------------------------------------------------
r714 | Stephane.Carrez | 2012-12-21 20:03:26 +0100 (Fri, 21 Dec 2012) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.ads

New procedure Assert_Equal_Files

------------------------------------------------------------------------
r713 | Stephane.Carrez | 2012-12-17 22:22:26 +0100 (Mon, 17 Dec 2012) | 1 line
Changed paths:
   M /trunk/NEWS
   M /trunk/README

Update the news and readme file for 1.6.0 release
------------------------------------------------------------------------
r712 | Stephane.Carrez | 2012-12-17 22:17:35 +0100 (Mon, 17 Dec 2012) | 1 line
Changed paths:
   M /trunk/src/http/aws/util-http-clients-web.adb

Fix comment header
------------------------------------------------------------------------
r711 | Stephane.Carrez | 2012-12-17 22:16:54 +0100 (Mon, 17 Dec 2012) | 1 line
Changed paths:
   M /trunk/samples/facebook.adb

Fix compilation warnings
------------------------------------------------------------------------
r710 | Stephane.Carrez | 2012-12-02 10:08:03 +0100 (Sun, 02 Dec 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb

In Set_Member, use a dispatching call to Error when an error is reported

------------------------------------------------------------------------
r709 | Stephane.Carrez | 2012-12-01 23:37:31 +0100 (Sat, 01 Dec 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Remove the GNAT project files from distrib to keep the .gpr.in files

------------------------------------------------------------------------
r708 | Stephane.Carrez | 2012-12-01 23:36:24 +0100 (Sat, 01 Dec 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Remove the regtests/result directory from the distribution

------------------------------------------------------------------------
r707 | Stephane.Carrez | 2012-12-01 21:16:56 +0100 (Sat, 01 Dec 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.ads

Fix header

------------------------------------------------------------------------
r706 | Stephane.Carrez | 2012-12-01 21:13:42 +0100 (Sat, 01 Dec 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.ads

Allow an indefinite type as Element_Type for the generic package

------------------------------------------------------------------------
r705 | Stephane.Carrez | 2012-12-01 17:35:02 +0100 (Sat, 01 Dec 2012) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

New procedure Fail to report a failed test

------------------------------------------------------------------------
r704 | Stephane.Carrez | 2012-11-11 21:44:05 +0100 (Sun, 11 Nov 2012) | 1 line
Changed paths:
   M /trunk/support/utilgen.c

Fix compilation on Windows
------------------------------------------------------------------------
r703 | Stephane.Carrez | 2012-11-04 20:45:20 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb

Update the test to indicate the HTTP response status if an error occurs

------------------------------------------------------------------------
r702 | Stephane.Carrez | 2012-11-04 20:31:39 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Simplify the clean target

------------------------------------------------------------------------
r701 | Stephane.Carrez | 2012-11-04 20:25:10 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http-clients.adb

Check that the delegate instance is not null

------------------------------------------------------------------------
r700 | Stephane.Carrez | 2012-11-04 19:31:24 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb

Fix the unit test: use a Long_Long_Integer to avoid total count overflow

------------------------------------------------------------------------
r699 | Stephane.Carrez | 2012-11-04 19:05:09 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb

Add some logs

------------------------------------------------------------------------
r698 | Stephane.Carrez | 2012-11-04 15:50:48 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix build of CURL/AWS components

------------------------------------------------------------------------
r697 | Stephane.Carrez | 2012-11-04 15:50:21 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/support/utilgen.c

Generate a private package for CURL constants

------------------------------------------------------------------------
r696 | Stephane.Carrez | 2012-11-04 15:49:52 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Use the generated Constants package for CURL specific constants

------------------------------------------------------------------------
r695 | Stephane.Carrez | 2012-11-04 15:49:17 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb

Fix compilation warning: current node is constant

------------------------------------------------------------------------
r694 | Stephane.Carrez | 2012-11-04 15:48:46 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb

Remove unused use clause

------------------------------------------------------------------------
r693 | Stephane.Carrez | 2012-11-04 15:48:24 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/util-encoders-sha1.adb

Remove unecessary conversion

------------------------------------------------------------------------
r692 | Stephane.Carrez | 2012-11-04 15:48:00 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/os-linux/util-processes-os.adb

Remove unecessary with clause

------------------------------------------------------------------------
r691 | Stephane.Carrez | 2012-11-04 15:47:32 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/os-linux/util-processes-os.ads

Fix style in size_t identifier

------------------------------------------------------------------------
r690 | Stephane.Carrez | 2012-11-04 15:46:56 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/testutil/aunit/util-assertions.adb
   M /trunk/testutil/aunit/util-xunit.adb

Fix compilation warnings

------------------------------------------------------------------------
r689 | Stephane.Carrez | 2012-11-04 15:10:47 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Generate the CURL specific package for its constants

------------------------------------------------------------------------
r688 | Stephane.Carrez | 2012-11-04 15:10:12 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/support/utilgen.c

Generate a Utils.Http.Clients.Curl.Constants package for CURL constants

------------------------------------------------------------------------
r687 | Stephane.Carrez | 2012-11-04 15:09:39 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/util-systems.ads

Make this package Pure

------------------------------------------------------------------------
r686 | Stephane.Carrez | 2012-11-04 14:34:19 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/src/os-linux/util-systems-os.ads

Use the Util.Systems.Constants generated package for some definitions

------------------------------------------------------------------------
r685 | Stephane.Carrez | 2012-11-04 14:30:48 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Generate the util-systems-constants package before building the library

------------------------------------------------------------------------
r684 | Stephane.Carrez | 2012-11-04 14:29:58 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/support/utilgen.c

Add pragma Preelaborate

------------------------------------------------------------------------
r683 | Stephane.Carrez | 2012-11-04 12:16:07 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Generate the util-systems-constants.ads package

------------------------------------------------------------------------
r682 | Stephane.Carrez | 2012-11-04 12:15:43 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   A /trunk/support/utilgen.c

Add a support tool to generate Util.Systems.Constants package

------------------------------------------------------------------------
r681 | Stephane.Carrez | 2012-11-04 12:14:58 +0100 (Sun, 04 Nov 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

New configure options --enable-curl and --enable-aws to enable/disable the CURL or AWS support

------------------------------------------------------------------------
r680 | Stephane.Carrez | 2012-11-03 14:09:05 +0100 (Sat, 03 Nov 2012) | 3 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Integrate patch #1: Fix configuration for Mac OS X/Darwin
(see http://code.google.com/p/ada-util/issues/detail?id=1)

------------------------------------------------------------------------
r679 | Stephane.Carrez | 2012-10-27 18:29:16 +0200 (Sat, 27 Oct 2012) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

New function Verbose and new test harness option '-v' to set the verbose flag
(Intended to be used to activate some test specific verbose/debugging support)

------------------------------------------------------------------------
r678 | Stephane.Carrez | 2012-10-20 15:40:02 +0200 (Sat, 20 Oct 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix installation of OS specific implementation files

------------------------------------------------------------------------
r677 | Stephane.Carrez | 2012-10-07 16:58:31 +0200 (Sun, 07 Oct 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

New unit test for Unescape_Xml

------------------------------------------------------------------------
r676 | Stephane.Carrez | 2012-10-07 16:57:48 +0200 (Sun, 07 Oct 2012) | 2 lines
Changed paths:
   M /trunk/src/util-strings-transforms.ads

Defines a Unescape_Xml operation from the transforms generic package

------------------------------------------------------------------------
r675 | Stephane.Carrez | 2012-10-07 16:56:57 +0200 (Sun, 07 Oct 2012) | 2 lines
Changed paths:
   M /trunk/src/util-texts-transforms.adb
   M /trunk/src/util-texts-transforms.ads

New procedure Unescape_Xml to translate back XML entities to real characters

------------------------------------------------------------------------
r674 | Stephane.Carrez | 2012-10-06 15:26:29 +0200 (Sat, 06 Oct 2012) | 2 lines
Changed paths:
   M /trunk/samples/xmi.adb

Update and fix the XMI example

------------------------------------------------------------------------
r673 | Stephane.Carrez | 2012-10-06 14:59:41 +0200 (Sat, 06 Oct 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers.adb

When adding a mapping to the parser, preserve the mapping node order.

------------------------------------------------------------------------
r672 | Stephane.Carrez | 2012-10-04 22:54:35 +0200 (Thu, 04 Oct 2012) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

New procedure Assert_Exists to check if a file exists in a unit test.

------------------------------------------------------------------------
r671 | Stephane.Carrez | 2012-09-30 20:42:17 +0200 (Sun, 30 Sep 2012) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-text_runner.adb

Fix the Ahven text runner: the END_ERROR exception can be raised when reading the test output file

------------------------------------------------------------------------
r670 | Stephane.Carrez | 2012-09-30 19:57:13 +0200 (Sun, 30 Sep 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the -d <dir> option of the unit tests

------------------------------------------------------------------------
r669 | Stephane.Carrez | 2012-09-30 19:56:08 +0200 (Sun, 30 Sep 2012) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests.adb

New command line option '-d <dir>' to change the current directory
before executing the unit tests

------------------------------------------------------------------------
r668 | Stephane.Carrez | 2012-09-23 20:42:10 +0200 (Sun, 23 Sep 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.ads

Add a unit test for ** mapping

------------------------------------------------------------------------
r667 | Stephane.Carrez | 2012-09-23 20:40:39 +0200 (Sun, 23 Sep 2012) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Improvement of wildcard mapping
- recognize **/x/y/z as matching 'x/y/z' from any parent

------------------------------------------------------------------------
r666 | Stephane.Carrez | 2012-09-23 10:42:31 +0200 (Sun, 23 Sep 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-xml-tests.adb

Change the test to check the attribute mapping above a wildcard node

------------------------------------------------------------------------
r665 | Stephane.Carrez | 2012-09-23 10:40:28 +0200 (Sun, 23 Sep 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers.adb

Fix mapping of attribute when wildcard mapping is also used

------------------------------------------------------------------------
r664 | Stephane.Carrez | 2012-09-15 22:18:56 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   A /trunk/samples/demo-atlas.xmi

XMI example generated by ArgoUML

------------------------------------------------------------------------
r663 | Stephane.Carrez | 2012-09-15 22:11:45 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the wildcard mapping support

------------------------------------------------------------------------
r662 | Stephane.Carrez | 2012-09-15 22:10:03 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb

Fix a memory leak in the unit test

------------------------------------------------------------------------
r661 | Stephane.Carrez | 2012-09-15 22:01:52 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.ads

Add unit test for wildcard mapping

------------------------------------------------------------------------
r660 | Stephane.Carrez | 2012-09-15 21:48:27 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   A /trunk/samples/xmi.adb
   M /trunk/samples.gpr

New sample to show wildcard mapping for the serialization framework

------------------------------------------------------------------------
r659 | Stephane.Carrez | 2012-09-15 21:46:55 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/ahven.ads

Fix comment

------------------------------------------------------------------------
r658 | Stephane.Carrez | 2012-09-15 21:45:56 +0200 (Sat, 15 Sep 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Add support for wildcard matching in serialization mapping

------------------------------------------------------------------------
r657 | Stephane.Carrez | 2012-09-04 20:14:40 +0200 (Tue, 04 Sep 2012) | 3 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-framework.adb
   M /trunk/testutil/ahven/ahven.ads

Increase the size for messages to make sure the exception traceback is
more meaningful (it can still be truncated)

------------------------------------------------------------------------
r656 | Stephane.Carrez | 2012-08-05 10:26:05 +0200 (Sun, 05 Aug 2012) | 1 line
Changed paths:
   M /trunk/src/util-listeners.ads

Make the List type a subtype of Listener_Arras.Vector
------------------------------------------------------------------------
r655 | Stephane.Carrez | 2012-07-22 21:56:33 +0200 (Sun, 22 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-encoders-tests.ads

Add unit tests for Encode_LEB128 and Decode_LEB128
------------------------------------------------------------------------
r654 | Stephane.Carrez | 2012-07-22 21:55:34 +0200 (Sun, 22 Jul 2012) | 1 line
Changed paths:
   M /trunk/src/util-encoders.adb
   M /trunk/src/util-encoders.ads

New operation Encode_LEB128 and Decode_LEB128
------------------------------------------------------------------------
r653 | Stephane.Carrez | 2012-07-19 21:12:27 +0200 (Thu, 19 Jul 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http-clients.ads

Update the documentation

------------------------------------------------------------------------
r651 | Stephane.Carrez | 2012-07-19 20:52:56 +0200 (Thu, 19 Jul 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/util-http.ads

Update the documentation

------------------------------------------------------------------------
r649 | Stephane.Carrez | 2012-07-18 23:16:36 +0200 (Wed, 18 Jul 2012) | 1 line
Changed paths:
   M /trunk/src/http/util-http-clients.adb
   M /trunk/src/http/util-http-clients.ads
   M /trunk/src/http/util-http.ads

Update the comment for the documentation generated by Dynamo
------------------------------------------------------------------------
r648 | Stephane.Carrez | 2012-07-08 16:31:51 +0200 (Sun, 08 Jul 2012) | 2 lines
Changed paths:
   M /trunk/src/util-listeners-lifecycles.ads

Update the documentation

------------------------------------------------------------------------
r647 | Stephane.Carrez@gmail.com | 2012-07-08 16:27:53 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   M /trunk/src/util-concurrent-arrays.ads

Update the documentation for dynamo
------------------------------------------------------------------------
r645 | Stephane.Carrez@gmail.com | 2012-07-08 16:18:43 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   M /trunk/src/util-concurrent-arrays.ads

Update the documentation to be extracted by dynamo
------------------------------------------------------------------------
r643 | Stephane.Carrez@gmail.com | 2012-07-08 15:59:12 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-listeners-tests.adb
   M /trunk/regtests/util-listeners-tests.ads

New unit tests for the lifecyles listeners
------------------------------------------------------------------------
r642 | Stephane.Carrez@gmail.com | 2012-07-08 15:57:49 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-testsuite.gpb

Add unit tests for the listeners
------------------------------------------------------------------------
r641 | Stephane.Carrez | 2012-07-08 15:56:59 +0200 (Sun, 08 Jul 2012) | 2 lines
Changed paths:
   D /trunk/src/util-listeners.adb
   M /trunk/src/util-listeners.ads

Refactor the listeners, move the observers package in a separate file

------------------------------------------------------------------------
r640 | Stephane.Carrez@gmail.com | 2012-07-08 15:54:07 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   A /trunk/src/util-listeners-observers.adb (from /trunk/src/util-listeners.adb:634)
   A /trunk/src/util-listeners-observers.ads

Refactor, define the observers package
------------------------------------------------------------------------
r639 | Stephane.Carrez@gmail.com | 2012-07-08 11:16:39 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   A /trunk/src/util-listeners-lifecycles.adb

Lifecycle listeners implementation
------------------------------------------------------------------------
r638 | Stephane.Carrez@gmail.com | 2012-07-08 11:12:02 +0200 (Sun, 08 Jul 2012) | 1 line
Changed paths:
   A /trunk/src/util-listeners-lifecycles.ads

New lifecycle listener interface
------------------------------------------------------------------------
r637 | Stephane.Carrez | 2012-07-07 23:20:23 +0200 (Sat, 07 Jul 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the listeners support

------------------------------------------------------------------------
r636 | Stephane.Carrez@gmail.com | 2012-07-07 23:17:33 +0200 (Sat, 07 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-listeners-tests.adb
   M /trunk/regtests/util-listeners-tests.ads

New unit test for listeners
------------------------------------------------------------------------
r635 | Stephane.Carrez@gmail.com | 2012-07-07 23:07:19 +0200 (Sat, 07 Jul 2012) | 1 line
Changed paths:
   A /trunk/regtests/util-listeners-tests.adb
   A /trunk/regtests/util-listeners-tests.ads

New unit tests for the listeners
------------------------------------------------------------------------
r634 | Stephane.Carrez@gmail.com | 2012-07-07 23:06:47 +0200 (Sat, 07 Jul 2012) | 1 line
Changed paths:
   A /trunk/src/util-listeners.adb

New package for the support for the observer/listener design pattern
------------------------------------------------------------------------
r633 | Stephane.Carrez@gmail.com | 2012-07-07 23:06:30 +0200 (Sat, 07 Jul 2012) | 1 line
Changed paths:
   A /trunk/src/util-listeners.ads

New package for the support for the observer/listener design pattern
------------------------------------------------------------------------
r632 | Stephane.Carrez@gmail.com | 2012-07-06 22:12:47 +0200 (Fri, 06 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb

Fix the implementation of the post server unit test
------------------------------------------------------------------------
r631 | Stephane.Carrez@gmail.com | 2012-07-06 21:57:44 +0200 (Fri, 06 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb

Fix the embedded http server
------------------------------------------------------------------------
r630 | Stephane.Carrez@gmail.com | 2012-07-06 21:57:08 +0200 (Fri, 06 Jul 2012) | 1 line
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Implement the Post operation with CURL
------------------------------------------------------------------------
r629 | Stephane.Carrez | 2012-07-06 21:09:53 +0200 (Fri, 06 Jul 2012) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-xml_runner.adb

Handle the End_Error exception which can be raised while reading a file

------------------------------------------------------------------------
r628 | Stephane.Carrez@gmail.com | 2012-07-01 17:57:33 +0200 (Sun, 01 Jul 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb
   M /trunk/regtests/util-http-clients-tests.ads

Verify the content type received by the server
Send a response from the included TCP server
------------------------------------------------------------------------
r627 | Stephane.Carrez@gmail.com | 2012-07-01 17:56:46 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-streams-sockets-tests.adb

Update unit test after changes in Process_Line
------------------------------------------------------------------------
r626 | Stephane.Carrez@gmail.com | 2012-07-01 17:55:48 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

Add the socket stream as parameter to Process_Line so that a response can be written
------------------------------------------------------------------------
r625 | Stephane.Carrez@gmail.com | 2012-07-01 15:25:08 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb
   M /trunk/regtests/util-http-clients-tests.ads

Extract some information received by the small test server
------------------------------------------------------------------------
r624 | Stephane.Carrez@gmail.com | 2012-07-01 15:24:38 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-streams-sockets-tests.adb

Update the unit test
------------------------------------------------------------------------
r623 | Stephane.Carrez@gmail.com | 2012-07-01 15:24:20 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

Add the reader stream as parameter to the Process_Line procedure
------------------------------------------------------------------------
r622 | Stephane.Carrez@gmail.com | 2012-07-01 14:36:42 +0200 (Sun, 01 Jul 2012) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests-servers.adb

Keep the CR/LF from end of line
Fix double close of socket

------------------------------------------------------------------------
r621 | Stephane.Carrez@gmail.com | 2012-07-01 10:52:01 +0200 (Sun, 01 Jul 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb
   M /trunk/regtests/util-http-clients-tests.ads

Define an internal test server to check the POST operation
Use the internal test server to send the POST operation
------------------------------------------------------------------------
r620 | Stephane.Carrez@gmail.com | 2012-07-01 10:49:17 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb

Fix compilation warning
------------------------------------------------------------------------
r619 | Stephane.Carrez@gmail.com | 2012-07-01 10:48:44 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb

Use Get_Host function to find the server host name
------------------------------------------------------------------------
r618 | Stephane.Carrez@gmail.com | 2012-07-01 10:47:39 +0200 (Sun, 01 Jul 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

New function Get_Host to retrieve the host name
------------------------------------------------------------------------
r617 | Stephane.Carrez@gmail.com | 2012-07-01 10:40:04 +0200 (Sun, 01 Jul 2012) | 4 lines
Changed paths:
   M /trunk/testutil/util-tests-servers.adb

- Do not specify any TCP/IP port but get it once it was allocated
- Setup the socket in the Start accept statement and
  return the TCP/IP port that was allocated
- Use a delay for the TCP/IP Accept
------------------------------------------------------------------------
r616 | Stephane.Carrez@gmail.com | 2012-07-01 10:37:53 +0200 (Sun, 01 Jul 2012) | 3 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-framework.adb

Make sure to call Tear_Down even if the test failed.
This is necessary to cleanup correctly the test environment.
Aunit, Junit invoke Tear_Down in all cases.
------------------------------------------------------------------------
r615 | Stephane.Carrez@gmail.com | 2012-06-30 20:10:04 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-streams-sockets-tests.adb
   M /trunk/regtests/util-streams-sockets-tests.ads

New unit tests for socket stream initialization
------------------------------------------------------------------------
r614 | Stephane.Carrez@gmail.com | 2012-06-30 19:50:04 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-testsuite.gpb

Add the new socket stream tests
------------------------------------------------------------------------
r613 | Stephane.Carrez@gmail.com | 2012-06-30 19:49:30 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   A /trunk/regtests/util-streams-sockets-tests.adb
   A /trunk/regtests/util-streams-sockets-tests.ads

New unit test for the socket stream and the small TCP/IP test server
------------------------------------------------------------------------
r612 | Stephane.Carrez@gmail.com | 2012-06-30 19:48:07 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

New procedure Stop to stop the server
------------------------------------------------------------------------
r611 | Stephane.Carrez@gmail.com | 2012-06-30 18:00:44 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.ads

Update comment
------------------------------------------------------------------------
r610 | Stephane.Carrez@gmail.com | 2012-06-30 17:53:45 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/src/util-streams-sockets.adb
   M /trunk/src/util-streams-sockets.ads

New procedure Connect to open a socket stream to a server
------------------------------------------------------------------------
r609 | Stephane.Carrez@gmail.com | 2012-06-30 16:18:58 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

Add a shutdown flag and close the accept socket on shutdown
------------------------------------------------------------------------
r608 | Stephane.Carrez@gmail.com | 2012-06-30 16:03:31 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

New procedure Process_Line called when a line is received
------------------------------------------------------------------------
r607 | Stephane.Carrez | 2012-06-30 15:38:12 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   M /trunk/testutil/util-tests-servers.adb
   M /trunk/testutil/util-tests-servers.ads

New function Get_Port and procedure Start
------------------------------------------------------------------------
r606 | Stephane.Carrez | 2012-06-30 09:49:17 +0200 (Sat, 30 Jun 2012) | 1 line
Changed paths:
   A /trunk/testutil/util-tests-servers.adb
   A /trunk/testutil/util-tests-servers.ads

Prototype of a small http server intended to be used for unit tests
------------------------------------------------------------------------
r605 | Stephane.Carrez@gmail.com | 2012-06-27 16:40:37 +0200 (Wed, 27 Jun 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-beans-objects-record_tests.adb

Fix compilation error
------------------------------------------------------------------------
r604 | Stephane.Carrez | 2012-06-26 22:59:34 +0200 (Tue, 26 Jun 2012) | 1 line
Changed paths:
   A /trunk/src/util-streams-sockets.adb
   A /trunk/src/util-streams-sockets.ads

New streams package to read/write a socket by using the Ada Util streams
------------------------------------------------------------------------
r603 | Stephane.Carrez | 2012-06-21 21:04:52 +0200 (Thu, 21 Jun 2012) | 2 lines
Changed paths:
   M /trunk/config.gpr.in

Use -gnatn since -gnatN is deprecated

------------------------------------------------------------------------
r602 | Stephane.Carrez | 2012-06-16 18:56:38 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the new To_JSON helpers

------------------------------------------------------------------------
r601 | Stephane.Carrez | 2012-06-16 18:47:24 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-tools.adb
   M /trunk/src/util-serialize-tools.ads

New To_JSON and From_JSON operations optimized for specific or custom cases

------------------------------------------------------------------------
r600 | Stephane.Carrez | 2012-06-16 18:21:49 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   A /trunk/regtests/util-serialize-tools-tests.adb
   A /trunk/regtests/util-serialize-tools-tests.ads
   M /trunk/regtests/util-testsuite.gpb

Add unit tests for To_JSON and From_JSON

------------------------------------------------------------------------
r599 | Stephane.Carrez | 2012-06-16 18:15:35 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-tools.adb

Fix JSON deserialization into an object map

------------------------------------------------------------------------
r598 | Stephane.Carrez | 2012-06-16 17:04:16 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   A /trunk/src/util-serialize-tools.adb

Implement the To_JSON and From_JSON operations

------------------------------------------------------------------------
r597 | Stephane.Carrez | 2012-06-16 17:01:52 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   A /trunk/src/util-serialize-tools.ads

New package to help in serializing/deserializing object maps in JSON format

------------------------------------------------------------------------
r596 | Stephane.Carrez | 2012-06-16 17:00:37 +0200 (Sat, 16 Jun 2012) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io-json.ads

New procedure Start_Document and End_Document to write the JSON document
Fix the Start_Array to specify the JSON array name

------------------------------------------------------------------------
r595 | Stephane.Carrez | 2012-06-16 15:29:02 +0200 (Sat, 16 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb
   M /trunk/src/xml/util-serialize-io-xml.ads

New procedure Write_String to write an Object efficiently

------------------------------------------------------------------------
r594 | Stephane.Carrez | 2012-06-13 21:31:08 +0200 (Wed, 13 Jun 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix installation of libraries

------------------------------------------------------------------------
r593 | Stephane.Carrez | 2012-06-11 21:23:10 +0200 (Mon, 11 Jun 2012) | 2 lines
Changed paths:
   M /trunk/distrib/util_http.gpr.in

Define the Yes_No type

------------------------------------------------------------------------
r592 | Stephane.Carrez | 2012-06-06 22:52:34 +0200 (Wed, 06 Jun 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix installation of HTTP AWS files

------------------------------------------------------------------------
r591 | Stephane.Carrez | 2012-06-03 22:18:09 +0200 (Sun, 03 Jun 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the REST support

------------------------------------------------------------------------
r590 | Stephane.Carrez | 2012-06-03 22:16:07 +0200 (Sun, 03 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb

Handle the JSON \u sequences and emit UTF-8 strings

------------------------------------------------------------------------
r589 | Stephane.Carrez | 2012-06-03 22:15:26 +0200 (Sun, 03 Jun 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-json-tests.adb

Add unit tests for some JSON \u sequences

------------------------------------------------------------------------
r588 | Stephane.Carrez | 2012-06-03 15:50:00 +0200 (Sun, 03 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http-rest.adb
   M /trunk/src/http/util-http-rest.ads

New generic Rest_Get_Vector operation to get a REST operation that extracts a list of records

------------------------------------------------------------------------
r587 | Stephane.Carrez | 2012-06-03 15:49:13 +0200 (Sun, 03 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/util-beans-basic-lists.ads

Make the List an aliased member to help the Rest operations

------------------------------------------------------------------------
r586 | Stephane.Carrez | 2012-06-03 10:46:05 +0200 (Sun, 03 Jun 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-encoders-tests.ads

Add unit tests for base64 URL encoding

------------------------------------------------------------------------
r585 | Stephane.Carrez | 2012-06-03 10:45:43 +0200 (Sun, 03 Jun 2012) | 3 lines
Changed paths:
   M /trunk/src/util-encoders-hmac-sha1.adb
   M /trunk/src/util-encoders-hmac-sha1.ads

New optional parameter to Sign_Base64 and Finish_Base64 to control the
use of the Base64 URL alphabet (defaults to false)

------------------------------------------------------------------------
r584 | Stephane.Carrez | 2012-06-03 10:44:42 +0200 (Sun, 03 Jun 2012) | 3 lines
Changed paths:
   M /trunk/src/util-encoders-base64.adb
   M /trunk/src/util-encoders-base64.ads
   M /trunk/src/util-encoders.adb

Fix implementation to activate the base64 URL encoding
(the '+' is replaced by '-' and '/' is replaced by '_')

------------------------------------------------------------------------
r583 | Stephane.Carrez | 2012-06-01 00:03:02 +0200 (Fri, 01 Jun 2012) | 2 lines
Changed paths:
   M /trunk/src/util-beans-objects-maps.ads

Expose the Query_Element procedure

------------------------------------------------------------------------
r582 | Stephane.Carrez | 2012-05-31 23:34:07 +0200 (Thu, 31 May 2012) | 3 lines
Changed paths:
   A /trunk/src/util-beans-objects-maps.adb
   M /trunk/src/util-beans-objects-maps.ads

Add a Map_Bean type to give access to the map object through a bean Object.
Implement the Bean interface with the Get_Value and Set_Value operation.

------------------------------------------------------------------------
r581 | Stephane.Carrez | 2012-05-31 22:41:00 +0200 (Thu, 31 May 2012) | 2 lines
Changed paths:
   M /trunk/samples/mapping.adb
   M /trunk/samples/mapping.ads

Remove unused generic Rest_Get procedure

------------------------------------------------------------------------
r580 | Stephane.Carrez | 2012-05-31 22:38:02 +0200 (Thu, 31 May 2012) | 2 lines
Changed paths:
   M /trunk/samples/facebook.adb

Use the generic Rest_Get operation

------------------------------------------------------------------------
r579 | Stephane.Carrez | 2012-05-31 22:30:58 +0200 (Thu, 31 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http-rest.adb
   M /trunk/src/http/util-http-rest.ads

New Rest_Get generic procedure to help in implementing a REST GET operation and map the result into an Ada record

------------------------------------------------------------------------
r578 | Stephane.Carrez | 2012-05-30 22:49:47 +0200 (Wed, 30 May 2012) | 2 lines
Changed paths:
   M /trunk/samples.gpr

Build the facebook client only if AWS is available and the wget only if curl is available
(both examples could use Curl or AWS but for now the choice is fixed)
------------------------------------------------------------------------
r577 | Stephane.Carrez | 2012-05-30 22:48:32 +0200 (Wed, 30 May 2012) | 1 line
Changed paths:
   M /trunk/samples/mapping.adb

Use the new REST support to implement the generic rest Get operation
------------------------------------------------------------------------
r576 | Stephane.Carrez | 2012-05-30 22:42:27 +0200 (Wed, 30 May 2012) | 1 line
Changed paths:
   A /trunk/src/http/util-http-rest.adb
   A /trunk/src/http/util-http-rest.ads

Support to help in writing REST based clients
------------------------------------------------------------------------
r575 | Stephane.Carrez | 2012-05-30 20:50:09 +0200 (Wed, 30 May 2012) | 3 lines
Changed paths:
   A /trunk/samples/facebook.adb
   M /trunk/samples.gpr

New example 'facebook' to use the Facebook public Graph API
and retrieve a user information in an Ada record and print it

------------------------------------------------------------------------
r574 | Stephane.Carrez | 2012-05-30 20:48:16 +0200 (Wed, 30 May 2012) | 2 lines
Changed paths:
   M /trunk/samples/json.adb

Update the json example

------------------------------------------------------------------------
r573 | Stephane.Carrez | 2012-05-30 20:47:57 +0200 (Wed, 30 May 2012) | 3 lines
Changed paths:
   M /trunk/samples/mapping.adb
   M /trunk/samples/mapping.ads

Add some member fields to store more information that we can get from Facebook Graph API
Prototype of a REST/JSON API parser

------------------------------------------------------------------------
r572 | Stephane.Carrez | 2012-05-30 20:45:42 +0200 (Wed, 30 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-json-tests.adb

Add a test case for json

------------------------------------------------------------------------
r571 | Stephane.Carrez | 2012-05-30 20:45:18 +0200 (Wed, 30 May 2012) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb

Fix parsing and mapping of JSON

------------------------------------------------------------------------
r570 | Stephane.Carrez | 2012-05-30 00:17:37 +0200 (Wed, 30 May 2012) | 1 line
Changed paths:
   A /trunk/src/http/util-http-clients-mockups.adb
   A /trunk/src/http/util-http-clients-mockups.ads

Define a client mockup to help in testing/writing fake client invocations
------------------------------------------------------------------------
r569 | Stephane.Carrez | 2012-05-30 00:13:37 +0200 (Wed, 30 May 2012) | 1 line
Changed paths:
   M /trunk/src/http/util-http-mockups.adb
   M /trunk/src/http/util-http-mockups.ads

New procedure Set_Body to setup the mockup response body
------------------------------------------------------------------------
r568 | Stephane.Carrez | 2012-05-30 00:07:21 +0200 (Wed, 30 May 2012) | 1 line
Changed paths:
   M /trunk/src/http/util-http-mockups.adb
   M /trunk/src/http/util-http-mockups.ads

New procedure Set_Status to be able to change the mockup response status
------------------------------------------------------------------------
r567 | Stephane.Carrez | 2012-05-29 23:22:50 +0200 (Tue, 29 May 2012) | 2 lines
Changed paths:
   M /trunk/src/os-win32/util-processes-os.adb
   M /trunk/src/os-win32/util-processes-os.ads

Implement the Stop operation on windows process by using the windows Terminate_Process system call

------------------------------------------------------------------------
r566 | Stephane.Carrez | 2012-05-29 23:22:12 +0200 (Tue, 29 May 2012) | 2 lines
Changed paths:
   M /trunk/src/os-win32/util-systems-os.ads

New function Terminate_Process to implement the process Stop

------------------------------------------------------------------------
r565 | Stephane.Carrez | 2012-05-29 20:40:25 +0200 (Tue, 29 May 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Report a message if AWS was not found

------------------------------------------------------------------------
r564 | Stephane.Carrez | 2012-05-28 23:11:55 +0200 (Mon, 28 May 2012) | 1 line
Changed paths:
   M /trunk/distrib/util.gpr.in

Fix GNAT project to find the HTTP files
------------------------------------------------------------------------
r563 | Stephane.Carrez | 2012-05-28 22:59:12 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-xml_runner.adb

Fix other issues when a message contains unclosed XML entities.

------------------------------------------------------------------------
r562 | Stephane.Carrez | 2012-05-28 22:54:54 +0200 (Mon, 28 May 2012) | 3 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-xml_runner.adb

Fix XML generation if a message contains a " (double quote).
This terminates the attribute...

------------------------------------------------------------------------
r561 | Stephane.Carrez | 2012-05-28 22:44:11 +0200 (Mon, 28 May 2012) | 1 line
Changed paths:
   M /trunk/testutil/ahven/ahven-xml_runner.adb

Fix XML generation if a message contains < or >
------------------------------------------------------------------------
r560 | Stephane.Carrez | 2012-05-28 22:33:53 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix installation of http curl/aws libraries

------------------------------------------------------------------------
r559 | Stephane.Carrez | 2012-05-28 22:26:12 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix the installation

------------------------------------------------------------------------
r558 | Stephane.Carrez | 2012-05-28 22:21:21 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb
   M /trunk/regtests/util-http-clients-tests.ads

Add a unit test for http post

------------------------------------------------------------------------
r557 | Stephane.Carrez | 2012-05-28 22:20:21 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Install the AWS files and library

------------------------------------------------------------------------
r556 | Stephane.Carrez | 2012-05-28 21:44:55 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/src/os-linux/util-processes-os.adb
   M /trunk/src/os-linux/util-processes-os.ads
   M /trunk/src/os-linux/util-systems-os.ads

Implement the process Stop operation by sending a SIGTERM signal on Unix

------------------------------------------------------------------------
r555 | Stephane.Carrez | 2012-05-28 21:44:24 +0200 (Mon, 28 May 2012) | 3 lines
Changed paths:
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads

New procedure Stop to be able to stop a process
(send a signal on Unix, terminate on Windows)

------------------------------------------------------------------------
r554 | Stephane.Carrez | 2012-05-28 13:21:59 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Update installation to install the new CURL and AWS libraries

------------------------------------------------------------------------
r553 | Stephane.Carrez | 2012-05-28 12:08:34 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/README

Mention the HTTP client support

------------------------------------------------------------------------
r552 | Stephane.Carrez | 2012-05-28 12:06:59 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/distrib
   M /trunk/lib
   M /trunk/regtests

Ignore some generated files

------------------------------------------------------------------------
r551 | Stephane.Carrez | 2012-05-28 11:55:30 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/tests.gpr

Take into account the CURL and AWS unit tests if available

------------------------------------------------------------------------
r550 | Stephane.Carrez | 2012-05-28 11:54:59 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the support for AWS

------------------------------------------------------------------------
r549 | Stephane.Carrez | 2012-05-28 11:52:51 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Add HAVE_CURL and HAVE_AWS parameters to gnatprep

------------------------------------------------------------------------
r548 | Stephane.Carrez | 2012-05-28 11:52:26 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-testsuite.gpb

Run the CURL and AWS http unit tests if they are available

------------------------------------------------------------------------
r547 | Stephane.Carrez | 2012-05-28 11:52:01 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   A /trunk/regtests/aws
   A /trunk/regtests/aws/util-http-clients-web-tests.ads

AWS http unit tests

------------------------------------------------------------------------
r546 | Stephane.Carrez | 2012-05-28 11:51:50 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   A /trunk/regtests/curl
   A /trunk/regtests/curl/util-http-clients-curl-tests.ads

CURL http unit tests

------------------------------------------------------------------------
r545 | Stephane.Carrez | 2012-05-28 11:50:00 +0200 (Mon, 28 May 2012) | 3 lines
Changed paths:
   M /trunk/regtests/util-http-clients-tests.adb
   M /trunk/regtests/util-http-clients-tests.ads

Setup a generic package that can be instantiated to build a set of
tests that use a specific HTTP implementation

------------------------------------------------------------------------
r544 | Stephane.Carrez | 2012-05-28 11:29:15 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/distrib/util_http.gpr.in
   A /trunk/distrib/util_http_aws.gpr.in
   A /trunk/distrib/util_http_curl.gpr.in

GNAT project files for the CURL/AWS http support

------------------------------------------------------------------------
r543 | Stephane.Carrez | 2012-05-28 11:01:27 +0200 (Mon, 28 May 2012) | 3 lines
Changed paths:
   A /trunk/util_http_aws.gpr.in
   A /trunk/util_http_curl.gpr.in

Build the CURL and AWS support as two separate libraries
This allows projects to avoid depending on Curl and AWS when they don't need them

------------------------------------------------------------------------
r542 | Stephane.Carrez | 2012-05-28 10:59:28 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/util_http.gpr.in

Let Util_Http be an abstract project that builds the CURL/AWS projects if defined

------------------------------------------------------------------------
r541 | Stephane.Carrez | 2012-05-28 10:58:25 +0200 (Mon, 28 May 2012) | 3 lines
Changed paths:
   M /trunk/util.gpr.in

Build the http generic part and let the CURL/AWS specific parts be
compiled as separate libraries

------------------------------------------------------------------------
r540 | Stephane.Carrez | 2012-05-28 10:57:12 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/configure

Rebuild the configure script

------------------------------------------------------------------------
r539 | Stephane.Carrez | 2012-05-28 10:56:50 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

New variables to test if Curl and AWS are present

------------------------------------------------------------------------
r538 | Stephane.Carrez | 2012-05-28 10:56:15 +0200 (Mon, 28 May 2012) | 3 lines
Changed paths:
   M /trunk/configure.in

Add support to detect if AWS is installed
Configure the AWS HTTP support

------------------------------------------------------------------------
r537 | Stephane.Carrez | 2012-05-28 10:55:22 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   A /trunk/src/http/aws
   A /trunk/src/http/aws/util-http-clients-web.adb
   A /trunk/src/http/aws/util-http-clients-web.ads

Integrate the HTTP client on top of AWS (from Ada Server Faces)

------------------------------------------------------------------------
r536 | Stephane.Carrez | 2012-05-28 00:00:58 +0200 (Mon, 28 May 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Fix the curl variable

------------------------------------------------------------------------
r535 | Stephane.Carrez | 2012-05-27 23:59:10 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/util_http.gpr.in

Add variable to check whether Curl is available

------------------------------------------------------------------------
r534 | Stephane.Carrez | 2012-05-27 23:58:20 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Check if the curl library is available

------------------------------------------------------------------------
r533 | Stephane.Carrez | 2012-05-27 23:38:27 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/samples/wget.adb
   M /trunk/samples.gpr

Add a wget application sample to show the HTTP support

------------------------------------------------------------------------
r532 | Stephane.Carrez | 2012-05-27 23:36:35 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/regtests/util-http-clients-tests.adb
   A /trunk/regtests/util-http-clients-tests.ads
   M /trunk/regtests/util-testsuite.gpb

Add unit tests for the HTTP support

------------------------------------------------------------------------
r531 | Stephane.Carrez | 2012-05-27 23:21:35 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http-clients.adb
   M /trunk/src/http/util-http-clients.ads

Add the Post operation

------------------------------------------------------------------------
r530 | Stephane.Carrez | 2012-05-27 22:42:26 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads
   M /trunk/src/http/util-http.ads

Add the standard HTTP code (from ASF)

------------------------------------------------------------------------
r529 | Stephane.Carrez | 2012-05-27 21:51:38 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the new HTTP support

------------------------------------------------------------------------
r528 | Stephane.Carrez | 2012-05-27 21:07:36 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Use the mockup request for the CURL implementation

------------------------------------------------------------------------
r527 | Stephane.Carrez | 2012-05-27 20:59:44 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Use the HTTP Mockups as a basis for the management of CURL headers

------------------------------------------------------------------------
r526 | Stephane.Carrez | 2012-05-27 19:50:55 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/src/http/util-http-mockups.adb
   A /trunk/src/http/util-http-mockups.ads

Mockup implementations for Message, Requests and Responses

------------------------------------------------------------------------
r525 | Stephane.Carrez | 2012-05-27 18:52:27 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Implement the Add_Header and cleanup the Read_Response operations

------------------------------------------------------------------------
r524 | Stephane.Carrez | 2012-05-27 18:34:52 +0200 (Sun, 27 May 2012) | 5 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Store the response headers in a map
- tell CURL we want to know about the response headers
- handle extraction of headers from the response
- implement the various headers operations on a response

------------------------------------------------------------------------
r523 | Stephane.Carrez | 2012-05-27 18:27:50 +0200 (Sun, 27 May 2012) | 3 lines
Changed paths:
   A /trunk/src/http/util-http-tools.adb
   A /trunk/src/http/util-http-tools.ads

Utility package for HTTP
- New procedure Save_Response to save the content of an HTTP response to a file

------------------------------------------------------------------------
r522 | Stephane.Carrez | 2012-05-27 16:50:06 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads
   M /trunk/src/http/util-http-clients.adb
   M /trunk/src/http/util-http-clients.ads

Implement the Get_Body function

------------------------------------------------------------------------
r521 | Stephane.Carrez | 2012-05-27 16:49:16 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http.ads

New function Get_Body on the response

------------------------------------------------------------------------
r520 | Stephane.Carrez | 2012-05-27 16:21:36 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/curl/util-http-clients-curl.adb
   M /trunk/src/http/curl/util-http-clients-curl.ads

Implement the Abstract_Request and Abstract_Response interfaces

------------------------------------------------------------------------
r519 | Stephane.Carrez | 2012-05-27 16:21:04 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/src/http/util-http-clients.adb
   M /trunk/src/http/util-http-clients.ads

Refactor the client implementation to use the Abstract_Request and Abstract_Response types

------------------------------------------------------------------------
r518 | Stephane.Carrez | 2012-05-27 16:19:16 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/src/http/util-http.adb
   M /trunk/src/http/util-http.ads

Define the Abstract_Message, Abstract_Request and Abstract_Response interface types

------------------------------------------------------------------------
r517 | Stephane.Carrez | 2012-05-27 11:56:23 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/util_http.gpr.in

Add support to build the CURL http client

------------------------------------------------------------------------
r516 | Stephane.Carrez | 2012-05-27 11:55:48 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/src/http/curl
   A /trunk/src/http/curl/util-http-clients-curl.adb
   A /trunk/src/http/curl/util-http-clients-curl.ads

Implement an HTTP client by using the curl C library

------------------------------------------------------------------------
r515 | Stephane.Carrez | 2012-05-27 11:55:14 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/src/http/util-http-clients.adb
   A /trunk/src/http/util-http-clients.ads

Move the Ada Server Faces http client in the Ada Util library

------------------------------------------------------------------------
r514 | Stephane.Carrez | 2012-05-27 09:37:17 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   M /trunk/tests.gpr

Use the Ada Util http extension

------------------------------------------------------------------------
r513 | Stephane.Carrez | 2012-05-27 09:35:42 +0200 (Sun, 27 May 2012) | 2 lines
Changed paths:
   A /trunk/regtests/util-http-cookies-tests.adb
   A /trunk/regtests/util-http-cookies-tests.ads
   M /trunk/regtests/util-testsuite.gpb

Moved the ASF Cookies unit tests to Ada Util

------------------------------------------------------------------------
r512 | Stephane.Carrez | 2012-05-25 23:23:34 +0200 (Fri, 25 May 2012) | 2 lines
Changed paths:
   A /trunk/src/http/util-http-parts.adb
   A /trunk/src/http/util-http-parts.ads

Implement HTTP parts from Ada Server Faces

------------------------------------------------------------------------
r511 | Stephane.Carrez | 2012-05-25 21:29:04 +0200 (Fri, 25 May 2012) | 3 lines
Changed paths:
   M /trunk/Makefile.in

For Jenkins build status, avoid failing if a unit test fails.  Jenkins
will report the failure itself.

------------------------------------------------------------------------
r510 | Stephane.Carrez | 2012-05-24 08:11:00 +0200 (Thu, 24 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/configure
   M /trunk/configure.in
   A /trunk/distrib/util_http.gpr.in

Install the new util_http library

------------------------------------------------------------------------
r509 | Stephane.Carrez | 2012-05-24 00:01:23 +0200 (Thu, 24 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/configure
   M /trunk/configure.in
   A /trunk/util_http.gpr.in

New library Ada Util Http to provide HTTP utilities

------------------------------------------------------------------------
r508 | Stephane.Carrez | 2012-05-23 23:59:48 +0200 (Wed, 23 May 2012) | 5 lines
Changed paths:
   A /trunk/src/http
   A /trunk/src/http/util-http-cookies.adb
   A /trunk/src/http/util-http-cookies.ads
   A /trunk/src/http/util-http.ads
   M /trunk/src/util-serialize-io-json.adb

HTTP Utility library
- New set of sources to provide some HTTP utilities close to
  what Java provides (java.net.HttpURLConnection or HttpClient)
- Move the Ada Server Faces Cookies in the HTTP library

------------------------------------------------------------------------
r507 | Stephane.Carrez | 2012-05-14 21:45:48 +0200 (Mon, 14 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/configure
   M /trunk/configure.in

Prepare for 1.6.0

------------------------------------------------------------------------
r505 | Stephane.Carrez | 2012-05-09 22:59:06 +0200 (Wed, 09 May 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-processes-tests.adb

Avoid launching a test that will not work on Windows
------------------------------------------------------------------------
r504 | Stephane.Carrez | 2012-05-08 22:53:41 +0200 (Tue, 08 May 2012) | 1 line
Changed paths:
   M /trunk/NEWS

Update the NEWS dates.
------------------------------------------------------------------------
r503 | Stephane.Carrez | 2012-05-07 18:16:00 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the string tokenizer

------------------------------------------------------------------------
r502 | Stephane.Carrez | 2012-05-07 18:15:44 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   M /trunk/tests.gpr

Update the GNAT test project file

------------------------------------------------------------------------
r501 | Stephane.Carrez | 2012-05-07 18:14:37 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   A /trunk/samples/cut.adb
   M /trunk/samples.gpr

New example to show the string tokenizer

------------------------------------------------------------------------
r500 | Stephane.Carrez | 2012-05-07 18:00:47 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

New unit test for the string tokenizer

------------------------------------------------------------------------
r499 | Stephane.Carrez | 2012-05-07 18:00:19 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb

Use the string tokenizer to iterate over the search paths

------------------------------------------------------------------------
r498 | Stephane.Carrez | 2012-05-07 17:59:38 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   A /trunk/src/util-strings-tokenizers.ads
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads

Define a string tokenizer to split a string into tokens

------------------------------------------------------------------------
r497 | Stephane.Carrez | 2012-05-07 17:59:03 +0200 (Mon, 07 May 2012) | 2 lines
Changed paths:
   A /trunk/src/util-texts-tokenizers.adb
   A /trunk/src/util-texts-tokenizers.ads

New generic text tokenizer to split strings into tokens

------------------------------------------------------------------------
r496 | Stephane.Carrez | 2012-05-06 10:44:52 +0200 (Sun, 06 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-strings-tests.adb

Update the unit test

------------------------------------------------------------------------
r495 | Stephane.Carrez | 2012-05-05 17:59:24 +0200 (Sat, 05 May 2012) | 2 lines
Changed paths:
   M /trunk/src/util-texts-transforms.adb

Avoid escaping to hexa a character in the range 0x80 .. 0x0FF.

------------------------------------------------------------------------
r494 | Stephane.Carrez | 2012-05-03 22:31:30 +0200 (Thu, 03 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/regtests/util-properties-bundles-tests.ads

Add unit test for resource bundles

------------------------------------------------------------------------
r493 | Stephane.Carrez | 2012-05-03 20:25:09 +0200 (Thu, 03 May 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-processes-tests.adb

Fix compilation warning

------------------------------------------------------------------------
r492 | Stephane.Carrez | 2012-05-03 20:24:53 +0200 (Thu, 03 May 2012) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-tap_runner.adb
   M /trunk/testutil/ahven/ahven-text_runner.adb

Fix compilation warnings reported by gcc 4.6.2

------------------------------------------------------------------------
r491 | Stephane.Carrez | 2012-05-02 23:22:53 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Add missing bundles directory in the distribution

------------------------------------------------------------------------
r490 | Stephane.Carrez | 2012-05-02 20:41:03 +0200 (Wed, 02 May 2012) | 2 lines
Changed paths:
   M /trunk/README

Update the readme file

------------------------------------------------------------------------
r489 | Stephane.Carrez | 2012-04-29 11:05:16 +0200 (Sun, 29 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-concurrent-arrays.adb

Fix removal of last element

------------------------------------------------------------------------
r488 | Stephane.Carrez | 2012-04-29 11:04:13 +0200 (Sun, 29 Apr 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-events-channels-tests.adb

Fix memory leak in the unit test

------------------------------------------------------------------------
r487 | Stephane.Carrez | 2012-04-29 10:58:17 +0200 (Sun, 29 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-processes.adb

Fix finalization of system specific process implementation launch

------------------------------------------------------------------------
r486 | Stephane.Carrez | 2012-04-29 10:49:57 +0200 (Sun, 29 Apr 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb

Add unit tests for the concurrent array Remove operation

------------------------------------------------------------------------
r485 | Stephane.Carrez | 2012-04-29 10:49:28 +0200 (Sun, 29 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-concurrent-arrays.adb
   M /trunk/src/util-concurrent-arrays.ads

Implement the Remove operation

------------------------------------------------------------------------
r484 | Stephane.Carrez | 2012-04-28 23:14:40 +0200 (Sat, 28 Apr 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the concurrent arrays

------------------------------------------------------------------------
r483 | Stephane.Carrez | 2012-04-28 23:14:03 +0200 (Sat, 28 Apr 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-concurrent-tests.ads

Add unit test for concurrent arrays

------------------------------------------------------------------------
r482 | Stephane.Carrez | 2012-04-28 23:13:32 +0200 (Sat, 28 Apr 2012) | 3 lines
Changed paths:
   A /trunk/src/util-concurrent-arrays.adb
   A /trunk/src/util-concurrent-arrays.ads

Add support for concurrent arrays with a simple implementation
close to the Java java.util.concurrent.CopyOnWriteArrayList class

------------------------------------------------------------------------
r481 | Stephane.Carrez | 2012-04-27 17:23:25 +0200 (Fri, 27 Apr 2012) | 2 lines
Changed paths:
   A /trunk/regtests/bundles/dates.properties
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/regtests/util-properties-bundles-tests.ads

Add a unit test for resource bundle overloading

------------------------------------------------------------------------
r480 | Stephane.Carrez | 2012-04-27 17:22:50 +0200 (Fri, 27 Apr 2012) | 6 lines
Changed paths:
   M /trunk/src/util-properties-bundles.adb

Add support for resource bundle overloading
- load the property files in the reverse order for the search path
  this allows to have in a directory a set of bundle files that
  override some but not all of the messages defined in the bundle
  files

------------------------------------------------------------------------
r479 | Stephane.Carrez | 2012-04-27 17:09:17 +0200 (Fri, 27 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

Define the Direction subtype

------------------------------------------------------------------------
r478 | Stephane.Carrez | 2012-04-27 16:41:50 +0200 (Fri, 27 Apr 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-files-tests.adb

Add test to check iterating over the search paths in reverse order

------------------------------------------------------------------------
r477 | Stephane.Carrez | 2012-04-27 16:41:14 +0200 (Fri, 27 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

New optional parameter Going to scan the directories in reverse order

------------------------------------------------------------------------
r476 | Stephane.Carrez | 2012-04-27 16:39:54 +0200 (Fri, 27 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-properties.adb

Improvement to avoid converting an unbounded string to a string and then back to unbounded string

------------------------------------------------------------------------
r475 | Stephane.Carrez | 2012-04-25 15:15:50 +0200 (Wed, 25 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/os-win32/util-processes-os.adb
   M /trunk/src/os-win32/util-processes-os.ads

Define Set_Streams for windows processes
(but leave it empty until I find a way to implement file redirection on Windows...)
------------------------------------------------------------------------
r474 | Stephane.Carrez | 2012-04-25 15:14:38 +0200 (Wed, 25 Apr 2012) | 1 line
Changed paths:
   M /trunk/src/os-linux/util-systems-os.ads
   M /trunk/src/os-none/util-processes-os.ads
   M /trunk/src/os-win32/util-systems-os.ads

Add Directory_Separator constant
------------------------------------------------------------------------
r473 | Stephane.Carrez | 2012-04-21 17:01:51 +0200 (Sat, 21 Apr 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the process output redirection to a file

------------------------------------------------------------------------
r472 | Stephane.Carrez | 2012-04-21 16:55:10 +0200 (Sat, 21 Apr 2012) | 2 lines
Changed paths:
   A /trunk/regtests/util-streams-texts-tests.adb
   A /trunk/regtests/util-streams-texts-tests.ads
   M /trunk/regtests/util-testsuite.gpb

Add unit test for text streams

------------------------------------------------------------------------
r471 | Stephane.Carrez | 2012-04-21 16:52:15 +0200 (Sat, 21 Apr 2012) | 3 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-framework.adb
   M /trunk/testutil/ahven/ahven-parameters.adb
   M /trunk/testutil/ahven/ahven-parameters.ads
   M /trunk/testutil/ahven/ahven-xml_runner.adb

Integrate Ahven 2.2 changes
Add the exception traceback in the message if an unexpected exception is raised

------------------------------------------------------------------------
r470 | Stephane.Carrez | 2012-04-21 16:50:48 +0200 (Sat, 21 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-streams-texts.adb
   M /trunk/src/util-streams-texts.ads

New Reader_Stream to read an input stream line by line

------------------------------------------------------------------------
r469 | Stephane.Carrez | 2012-04-21 16:48:21 +0200 (Sat, 21 Apr 2012) | 3 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads

Move the Traceback function to the public package spec so that it can
be used by unit tests or others

------------------------------------------------------------------------
r468 | Stephane.Carrez | 2012-04-19 23:56:02 +0200 (Thu, 19 Apr 2012) | 2 lines
Changed paths:
   M /trunk/src/util-properties-bundles.ads

Add overriding keyword to several operations

------------------------------------------------------------------------
r467 | Stephane.Carrez | 2012-04-19 23:54:26 +0200 (Thu, 19 Apr 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-processes-tests.adb
   M /trunk/regtests/util-processes-tests.ads

Add a unit test to check the process output file redirection

------------------------------------------------------------------------
r466 | Stephane.Carrez | 2012-04-19 23:52:56 +0200 (Thu, 19 Apr 2012) | 6 lines
Changed paths:
   M /trunk/src/os-linux/util-processes-os.adb
   M /trunk/src/os-linux/util-processes-os.ads
   M /trunk/src/os-linux/util-systems-os.ads
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads

Add support to redirect the process input/output/error to a file
- Add a Set_Streams operation in the OS specific implementation to
  redirect the process inpout/output streams before the exec
- Add an Append boolean parameter to Set_Output_Stream and Set_Error_Stream
- Implement file redirection for Unix

------------------------------------------------------------------------
r465 | Stephane.Carrez | 2012-04-13 22:40:33 +0200 (Fri, 13 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Ignore errors that could be reported by cleaning process

------------------------------------------------------------------------
r464 | Stephane.Carrez | 2012-04-05 22:42:32 +0200 (Thu, 05 Apr 2012) | 4 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/config.gpr.in
   M /trunk/configure
   M /trunk/configure.in
   M /trunk/distrib/testutil.gpr.in
   M /trunk/distrib/util.gpr.in
   M /trunk/testutil.gpr.in
   M /trunk/util.gpr.in

Support for shared libraries
- Add support to build the shared library and static library at the same time
- Build the static library only if --disable-shared

------------------------------------------------------------------------
r463 | Stephane.Carrez | 2012-04-03 20:28:08 +0200 (Tue, 03 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/config.gpr.in
   M /trunk/configure
   M /trunk/configure.in
   M /trunk/distrib/testutil.gpr.in
   M /trunk/distrib/util.gpr.in
   M /trunk/testutil.gpr.in
   M /trunk/util.gpr.in

Add a version number to the shared library

------------------------------------------------------------------------
r462 | Stephane.Carrez | 2012-04-02 21:53:25 +0200 (Mon, 02 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Do not put the config.gpr file in the distribution

------------------------------------------------------------------------
r461 | Stephane.Carrez | 2012-04-02 21:52:37 +0200 (Mon, 02 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix distribution, add the config.gpr.in file

------------------------------------------------------------------------
r460 | Stephane.Carrez | 2012-04-02 20:46:19 +0200 (Mon, 02 Apr 2012) | 6 lines
Changed paths:
   M /trunk/NEWS
   D /trunk/config.gpr
   A /trunk/config.gpr.in (from /trunk/config.gpr:457)
   M /trunk/configure
   M /trunk/configure.in
   M /trunk/distrib/testutil.gpr.in
   M /trunk/distrib/util.gpr.in
   M /trunk/testutil.gpr.in
   M /trunk/util.gpr.in

Support for dynamic library
- Add the --enable-shared configure option
- Add the --enable-traceback configure option
- Build the library with static/relocatable mode
- Select the symbolic traceback implementation or a dumb implementation used by the logger

------------------------------------------------------------------------
r459 | Stephane.Carrez | 2012-04-02 20:43:52 +0200 (Mon, 02 Apr 2012) | 3 lines
Changed paths:
   A /trunk/src/util-log-loggers-traceback-gnat.adb
   A /trunk/src/util-log-loggers-traceback-none.adb
   M /trunk/src/util-log-loggers.adb

Move the GNAT symbolic traceback in a separate function
to be able to build and library with its support

------------------------------------------------------------------------
r458 | Stephane.Carrez | 2012-04-02 20:42:33 +0200 (Mon, 02 Apr 2012) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   D /trunk/regtests/util-testsuite.adb
   A /trunk/regtests/util-testsuite.gpb (from /trunk/regtests/util-testsuite.adb:457)

Fix compilation of unit tests if the XML support is disabled

------------------------------------------------------------------------
r457 | Stephane.Carrez | 2012-03-27 22:55:48 +0200 (Tue, 27 Mar 2012) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/src/util-beans-objects-maps.ads

Change the Objects.Maps key to a String to simplify the map usage

------------------------------------------------------------------------
r456 | Stephane.Carrez | 2012-03-26 22:53:34 +0200 (Mon, 26 Mar 2012) | 1 line
Changed paths:
   M /trunk/regtests/util-files-tests.adb
   M /trunk/src/util-files.adb

Fix some edge cases for Get_Relative_Path
------------------------------------------------------------------------
r455 | Stephane.Carrez | 2012-03-26 22:30:01 +0200 (Mon, 26 Mar 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-files-tests.ads

New unit test for Get_Relative_Path

------------------------------------------------------------------------
r454 | Stephane.Carrez | 2012-03-26 22:29:19 +0200 (Mon, 26 Mar 2012) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

New function Get_Relative_Path to build a relative path from two absolute pathes

------------------------------------------------------------------------
r453 | Stephane.Carrez | 2012-03-20 21:20:34 +0100 (Tue, 20 Mar 2012) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

- New procedure Finish for the generic procedure Harness
  It is called when the testsuite was executed.

------------------------------------------------------------------------
r452 | Stephane.Carrez | 2012-03-17 17:58:04 +0100 (Sat, 17 Mar 2012) | 2 lines
Changed paths:
   M /trunk/src/util-concurrent-fifos.adb

Fix dequeue in the Clean_On_Dequeue instantiation mode

------------------------------------------------------------------------
r451 | Stephane.Carrez | 2012-03-17 17:56:22 +0100 (Sat, 17 Mar 2012) | 2 lines
Changed paths:
   M /trunk/src/util-concurrent-fifos.adb

Fix queue wrapping in the Clear_On_Dequeue instantiation mode

------------------------------------------------------------------------
r449 | Stephane.Carrez | 2012-03-15 23:07:13 +0100 (Thu, 15 Mar 2012) | 1 line
Changed paths:
   M /trunk/src/util-files.adb

Small improvement of Compose to avoid adding . as directory
------------------------------------------------------------------------
r448 | Stephane.Carrez | 2012-03-03 17:06:27 +0100 (Sat, 03 Mar 2012) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the new concurrent fifos

------------------------------------------------------------------------
r447 | Stephane.Carrez | 2012-03-03 17:05:53 +0100 (Sat, 03 Mar 2012) | 4 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-concurrent-tests.ads

Add unit test for concurrent fifos
- Add a functional test
- Add a concurrency test

------------------------------------------------------------------------
r446 | Stephane.Carrez | 2012-03-03 17:05:04 +0100 (Sat, 03 Mar 2012) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.ads

Add an Assert_Equals on Long_Long_Integer type

------------------------------------------------------------------------
r445 | Stephane.Carrez | 2012-03-03 17:02:41 +0100 (Sat, 03 Mar 2012) | 3 lines
Changed paths:
   A /trunk/src/util-concurrent-fifos.adb
   A /trunk/src/util-concurrent-fifos.ads

New concurrent fifos
- Concurrent fifo queue implementation

------------------------------------------------------------------------
r444 | Stephane.Carrez | 2012-03-03 17:02:00 +0100 (Sat, 03 Mar 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Prepare for next release 1.5.0

------------------------------------------------------------------------
r443 | Stephane.Carrez | 2012-01-21 14:53:42 +0100 (Sat, 21 Jan 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Recognize x86_64 as Intel based machine

------------------------------------------------------------------------
r442 | Stephane.Carrez | 2012-01-19 08:30:04 +0100 (Thu, 19 Jan 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Recognize i786 as Intel x86 based processor

------------------------------------------------------------------------
r441 | Stephane.Carrez | 2012-01-18 23:25:21 +0100 (Wed, 18 Jan 2012) | 4 lines
Changed paths:
   M /trunk/src/util-refs.adb

Fix compilation when the concurrent counter is a limited type
- increment the reference counter when creating a first reference
  (instead of assigning the ONE counter value)

------------------------------------------------------------------------
r440 | Stephane.Carrez | 2012-01-18 23:22:34 +0100 (Wed, 18 Jan 2012) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Prepare for 1.4.1

------------------------------------------------------------------------
r437 | Stephane.Carrez | 2012-01-15 20:14:41 +0100 (Sun, 15 Jan 2012) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/README

Update, mention the perfect hash tool

------------------------------------------------------------------------
r436 | Stephane.Carrez | 2012-01-15 20:13:56 +0100 (Sun, 15 Jan 2012) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb

Cleanup

------------------------------------------------------------------------
r435 | Stephane.Carrez | 2012-01-15 20:05:32 +0100 (Sun, 15 Jan 2012) | 2 lines
Changed paths:
   M /trunk/regtests/util-processes-tests.adb

Fix regular expression to verify the process output on Windows (CR + LF issue)

------------------------------------------------------------------------
r434 | Stephane.Carrez | 2012-01-15 11:43:48 +0100 (Sun, 15 Jan 2012) | 3 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Change version from 1.4.0-dev to 1.4.0
Update copyright

------------------------------------------------------------------------
r433 | Stephane.Carrez | 2012-01-15 11:30:25 +0100 (Sun, 15 Jan 2012) | 5 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-framework.adb

Share the same performance measure set by all tasks that run a test case.
This sharing is necessary so that all the performance measures are
collected in the same set and saved in an XML file after the tests are
executed.

------------------------------------------------------------------------
r432 | Stephane.Carrez | 2012-01-14 08:26:54 +0100 (Sat, 14 Jan 2012) | 2 lines
Changed paths:
   M /trunk/NOTICE.txt

Update the notice

------------------------------------------------------------------------
r431 | Stephane.Carrez | 2012-01-13 23:21:17 +0100 (Fri, 13 Jan 2012) | 4 lines
Changed paths:
   M /trunk/regtests/util-files-tests.adb

Fix execution of Compose unit test on Windows
- Do not execute one test that relies on the availability of /usr/bin directory
- Add a compose test that uses the util directory hierarchy.

------------------------------------------------------------------------
r430 | Stephane.Carrez | 2012-01-07 08:59:32 +0100 (Sat, 07 Jan 2012) | 2 lines
Changed paths:
   M /trunk/testutil.gpr.in

Remove some compilation warnings when compiling Ahven

------------------------------------------------------------------------
r429 | Stephane.Carrez | 2012-01-06 21:08:33 +0100 (Fri, 06 Jan 2012) | 2 lines
Changed paths:
   M /trunk/distrib/testutil.gpr.in
   M /trunk/distrib/util.gpr.in

Fix version in installed GNAT project files

------------------------------------------------------------------------
r423 | Stephane.Carrez | 2011-12-25 10:17:07 +0100 (Sun, 25 Dec 2011) | 2 lines
Changed paths:
   M /trunk/samples/gperfhash.adb

Add some error messages

------------------------------------------------------------------------
r422 | Stephane.Carrez | 2011-12-25 00:08:04 +0100 (Sun, 25 Dec 2011) | 4 lines
Changed paths:
   A /trunk/regtests/mysql.keywords
   A /trunk/regtests/util-perfect_hash.adb
   A /trunk/regtests/util-perfect_hash.ads
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

Add unit test for perfect hash generator
- Generate a perfect hash with ignore case mode with all the MySQL reserved keywords
- Test that hashing (generated table) and Is_Keyword operations are correct

------------------------------------------------------------------------
r421 | Stephane.Carrez | 2011-12-25 00:06:05 +0100 (Sun, 25 Dec 2011) | 2 lines
Changed paths:
   M /trunk/samples.gpr

Build the new perfect hash example

------------------------------------------------------------------------
r420 | Stephane.Carrez | 2011-12-25 00:05:37 +0100 (Sun, 25 Dec 2011) | 2 lines
Changed paths:
   A /trunk/samples/gperfhash.adb

Perfect hash generator based on GNAT.Perfect_Hash_Generator

------------------------------------------------------------------------
r419 | Stephane.Carrez | 2011-12-24 18:04:52 +0100 (Sat, 24 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

New procedure Read_File to read a file line by line and execute a procedure with each line as argument

------------------------------------------------------------------------
r418 | Stephane.Carrez | 2011-12-23 11:46:34 +0100 (Fri, 23 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/util-beans-basic-ranges.adb
   M /trunk/src/util-beans-basic-ranges.ads

New Get_Current function

------------------------------------------------------------------------
r417 | Stephane.Carrez@gmail.com | 2011-12-22 22:09:16 +0100 (Thu, 22 Dec 2011) | 3 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Fix configure to build on a NetBSD 5.1
- treat NetBSD as a linux host (not true but enough for processes and pipe implementation)

------------------------------------------------------------------------
r416 | Stephane.Carrez | 2011-12-20 10:51:08 +0100 (Tue, 20 Dec 2011) | 6 lines
Changed paths:
   A /trunk/regtests/util-beans-ranges-tests.adb
   A /trunk/regtests/util-beans-ranges-tests.ads
   M /trunk/regtests/util-testsuite.adb
   A /trunk/src/util-beans-basic-ranges.adb
   A /trunk/src/util-beans-basic-ranges.ads
   A /trunk/src/util-beans-ranges.ads

New range bean definition
- New generic package Ranges to represent a discrete range and
  be able to iterate over it using the List_Bean interface
- Define the Integer_Ranges type
- Add unit tests for the above

------------------------------------------------------------------------
r413 | Stephane.Carrez | 2011-12-19 22:01:40 +0100 (Mon, 19 Dec 2011) | 2 lines
Changed paths:
   M /trunk/samples/launch.adb
   M /trunk/samples.gpr
   M /trunk/src/os-win32/util-processes-os.adb

New example to show a pipe redirection on the input and output at the same time

------------------------------------------------------------------------
r412 | Stephane.Carrez | 2011-12-06 22:04:51 +0100 (Tue, 06 Dec 2011) | 9 lines
Changed paths:
   M /trunk/testutil/ahven/util-test_caller.adb
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

New option '-p prefix' for the test harness to add a prefix to a test class
- Recognize the '-p prefix' option
- New function Get_Harness_Prefix to return the prefix value (defaults to empty string)
- Add the prefix when registering a test class

This feature allows a test harness to be executed with different
configuration and be able to collect different result sets.  Jenkins
is then able to merge the two result sets to track the test result as a whole.

------------------------------------------------------------------------
r411 | Stephane.Carrez | 2011-12-06 21:27:40 +0100 (Tue, 06 Dec 2011) | 3 lines
Changed paths:
   M /trunk/regtests/util-beans-objects-discrete_tests.adb
   M /trunk/regtests/util-beans-objects-record_tests.adb
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-dates-formats-tests.adb
   M /trunk/regtests/util-events-channels-tests.adb
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-locales-tests.adb
   M /trunk/regtests/util-log-tests.adb
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-serialize-io-csv-tests.adb
   M /trunk/regtests/util-serialize-io-json-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-mappers-tests.adb
   M /trunk/regtests/util-streams-buffered-tests.adb
   M /trunk/regtests/util-streams-files-tests.adb
   M /trunk/regtests/util-strings-tests.adb

Add a test class name for each test group
Fix compilation warnings

------------------------------------------------------------------------
r410 | Stephane.Carrez | 2011-12-06 21:27:04 +0100 (Tue, 06 Dec 2011) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/util-test_caller.adb
   M /trunk/testutil/ahven/util-test_caller.ads
   M /trunk/testutil/aunit/util-test_caller.adb
   M /trunk/testutil/aunit/util-test_caller.ads

Fix using the name when registering a test class

------------------------------------------------------------------------
r409 | Stephane.Carrez | 2011-12-05 22:56:51 +0100 (Mon, 05 Dec 2011) | 3 lines
Changed paths:
   M /trunk/src/os-win32/util-processes-os.adb
   M /trunk/src/os-win32/util-processes-os.ads
   M /trunk/src/os-win32/util-systems-os.ads

Input redirection for Windows process
- Create a pipe to redirect the input stream and be able to write on it

------------------------------------------------------------------------
r408 | Stephane.Carrez | 2011-12-04 23:49:10 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/README

Update README file

------------------------------------------------------------------------
r407 | Stephane.Carrez | 2011-12-04 23:07:58 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/os-win32/util-processes-os.adb
   M /trunk/src/os-win32/util-processes-os.ads

Fix process creation on Windows

------------------------------------------------------------------------
r406 | Stephane.Carrez | 2011-12-04 18:22:03 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-testsuite.adb

Restore execution of unit tests

------------------------------------------------------------------------
r405 | Stephane.Carrez | 2011-12-04 17:48:22 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/samples/date.adb
   M /trunk/samples/mapping.adb
   M /trunk/samples/multipro.adb
   M /trunk/src/os-linux/util-streams-raw.adb
   M /trunk/src/util-serialize-mappers-record_mapper.adb

Fix compilation warnings

------------------------------------------------------------------------
r404 | Stephane.Carrez | 2011-12-04 17:47:28 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/util-encoders.adb

Raise the Not_Supported exception instead of Storage_Error if the encoder is not supported.

------------------------------------------------------------------------
r403 | Stephane.Carrez | 2011-12-04 17:11:11 +0100 (Sun, 04 Dec 2011) | 4 lines
Changed paths:
   M /trunk/regtests/util-processes-tests.adb
   M /trunk/regtests/util-processes-tests.ads
   M /trunk/regtests/util-testsuite.adb
   M /trunk/regtests/util_test_process.adb
   M /trunk/src/os-linux/util-processes-os.adb
   M /trunk/src/os-linux/util-processes-os.ads
   M /trunk/src/os-linux/util-streams-raw.adb
   M /trunk/src/os-linux/util-streams-raw.ads
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads
   M /trunk/src/util-streams-pipes.adb
   M /trunk/src/util-streams-pipes.ads

Process and pipe improvements
- Allow to redirect the input and output at the same time
- Add unit test for input redirection (writing on the process input)

------------------------------------------------------------------------
r402 | Stephane.Carrez | 2011-12-04 17:09:23 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/util-dates-formats.adb
   M /trunk/src/util-encoders-base16.adb
   M /trunk/src/util-locales.adb
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-refs.adb
   M /trunk/src/util-serialize-mappers.adb

Fix compilation warnings

------------------------------------------------------------------------
r401 | Stephane.Carrez | 2011-12-04 17:08:46 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads
   M /trunk/src/util-streams.ads

Add a Close procedure on the stream interface

------------------------------------------------------------------------
r400 | Stephane.Carrez | 2011-12-04 17:07:36 +0100 (Sun, 04 Dec 2011) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

New procedure Assert_Matches to check that a string value matches a regular expression (multi-line)

------------------------------------------------------------------------
r399 | Stephane.Carrez | 2011-12-03 23:37:16 +0100 (Sat, 03 Dec 2011) | 6 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/src/os-linux/util-processes-os.adb
   M /trunk/src/os-linux/util-processes-os.ads
   M /trunk/src/os-linux/util-streams-raw.adb
   M /trunk/src/os-linux/util-streams-raw.ads
   A /trunk/src/os-linux/util-systems-os.ads
   M /trunk/src/os-none/util-processes-os.adb
   M /trunk/src/os-none/util-processes-os.ads
   M /trunk/src/os-win32/util-processes-os.adb
   M /trunk/src/os-win32/util-processes-os.ads
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads

Process creation and pipes support
- Refactor the implementation to move the specific argument
  management to the system specific layer in Processes.Os
- Implement the fake process implementation when Unix/Win32 are not supported
- New procedure Append_Argument to easily build a process argument list

------------------------------------------------------------------------
r398 | Stephane.Carrez | 2011-12-03 18:29:36 +0100 (Sat, 03 Dec 2011) | 2 lines
Changed paths:
   D /trunk/src/os-linux/util-streams-pipes.adb
   D /trunk/src/os-linux/util-streams-pipes.ads
   D /trunk/src/os-win32/util-streams-pipes.adb
   D /trunk/src/os-win32/util-streams-pipes.ads
   A /trunk/src/util-streams-pipes.adb (from /trunk/src/os-linux/util-streams-pipes.adb:397)
   A /trunk/src/util-streams-pipes.ads (from /trunk/src/os-linux/util-streams-pipes.ads:396)

Move the pipe stream to a shared place between different operating systems

------------------------------------------------------------------------
r397 | Stephane.Carrez | 2011-12-03 18:28:20 +0100 (Sat, 03 Dec 2011) | 2 lines
Changed paths:
   M /trunk/src/os-linux/util-processes-os.adb
   M /trunk/src/os-linux/util-processes-os.ads
   M /trunk/src/os-linux/util-streams-pipes.adb

Update Unix based process information after refactoring for Windows port

------------------------------------------------------------------------
r396 | Stephane.Carrez | 2011-12-03 18:14:42 +0100 (Sat, 03 Dec 2011) | 4 lines
Changed paths:
   M /trunk/src/os-linux/util-streams-pipes.adb
   A /trunk/src/os-win32
   A /trunk/src/os-win32/util-processes-os.adb
   A /trunk/src/os-win32/util-processes-os.ads
   A /trunk/src/os-win32/util-streams-pipes.adb
   A /trunk/src/os-win32/util-streams-pipes.ads
   A /trunk/src/os-win32/util-streams-raw.adb
   A /trunk/src/os-win32/util-streams-raw.ads
   A /trunk/src/os-win32/util-systems-os.ads
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads
   A /trunk/src/util-systems.ads

Process creation and pipes for Windows
- Port the Util.Processes for Windows by using CreatePipe and CreateProcess
- Provide an Util.Systems.Os package abstraction which is specific to the operating system

------------------------------------------------------------------------
r395 | Stephane.Carrez | 2011-12-03 17:45:03 +0100 (Sat, 03 Dec 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Preparation for Process windows port

------------------------------------------------------------------------
r394 | Stephane.Carrez | 2011-12-03 15:09:04 +0100 (Sat, 03 Dec 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/configure
   M /trunk/configure.in

Update the configure script and distribution

------------------------------------------------------------------------
r393 | Stephane.Carrez | 2011-12-03 15:08:36 +0100 (Sat, 03 Dec 2011) | 2 lines
Changed paths:
   M /trunk/samples/csv_reader.adb
   M /trunk/samples/multipro_refs.adb

Fix some compilation warnings

------------------------------------------------------------------------
r392 | Stephane.Carrez | 2011-12-03 15:08:17 +0100 (Sat, 03 Dec 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/src/util-concurrent-pools.adb
   M /trunk/src/util-concurrent-pools.ads

Release the pool storage when the pool instance is deleted.

------------------------------------------------------------------------
r391 | Stephane.Carrez | 2011-11-27 20:44:45 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/util-xunit.adb

Update header comment

------------------------------------------------------------------------
r390 | Stephane.Carrez | 2011-11-27 20:42:54 +0100 (Sun, 27 Nov 2011) | 7 lines
Changed paths:
   M /trunk/testutil/ahven/util-assertions.adb
   M /trunk/testutil/ahven/util-assertions.ads
   M /trunk/testutil/ahven/util-xunit.adb
   M /trunk/testutil/ahven/util-xunit.ads

Fix the Test_Case Ahven implementation
- Make the Test_Case an abstract type
  which has to override Name and Run_Test procedures
  to follow AUnit operations
- When creating a Test_Case, register a test procedure
  to execute the Run_Test and thus simulate the AUnit call

------------------------------------------------------------------------
r389 | Stephane.Carrez | 2011-11-27 19:42:23 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/configure
   M /trunk/configure.in

Fix installation

------------------------------------------------------------------------
r388 | Stephane.Carrez | 2011-11-27 15:25:40 +0100 (Sun, 27 Nov 2011) | 5 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-text_runner.adb
   M /trunk/testutil/ahven/ahven-text_runner.ads
   M /trunk/testutil/ahven/util-xunit.adb

Update Ahven to display the failed tests in case of error
- Move the private procedures Print_Failures, Print_Skips, Print_Errors
  in the package specification so that we can use them
- Use the above when an error is deteted

------------------------------------------------------------------------
r387 | Stephane.Carrez | 2011-11-27 14:49:54 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Change version to 1.4.0-dev

------------------------------------------------------------------------
r386 | Stephane.Carrez | 2011-11-27 14:47:59 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-xml_runner.adb
   M /trunk/testutil/ahven/util-xunit.adb
   M /trunk/testutil/ahven/util-xunit.ads

Remove Assert_Equals procedures since they are provided by another package

------------------------------------------------------------------------
r385 | Stephane.Carrez | 2011-11-27 14:30:35 +0100 (Sun, 27 Nov 2011) | 3 lines
Changed paths:
   M /trunk/testutil/ahven/ahven-xml_runner.adb

Fix Ahven XML generation
- Correctly escape the <, >, & and ' which appear in test names

------------------------------------------------------------------------
r384 | Stephane.Carrez | 2011-11-27 14:11:00 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix distribution to integrate testutil.gpr.in

------------------------------------------------------------------------
r383 | Stephane.Carrez | 2011-11-27 13:25:14 +0100 (Sun, 27 Nov 2011) | 5 lines
Changed paths:
   M /trunk/testutil/ahven/util-xunit.adb
   M /trunk/testutil/ahven/util-xunit.ads
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Ahven support
- New function Get_Test_Timeout to get the test timeout for Ahven
- Report a one line summary with the same format as Junit ant summary line
- Generate the XML test results in 'regtests/result' directory

------------------------------------------------------------------------
r382 | Stephane.Carrez | 2011-11-27 13:03:47 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-encoders-tests.adb

Fix compilation warnings

------------------------------------------------------------------------
r381 | Stephane.Carrez | 2011-11-27 10:44:23 +0100 (Sun, 27 Nov 2011) | 5 lines
Changed paths:
   M /trunk/testutil/aunit/util-xunit.adb
   M /trunk/testutil/aunit/util-xunit.ads

AUnit compilation fixes
- Since AUnit versions are not consistent, provide a specific Test type
  that provides an Assert dispatching operation.  Some AUnit version
  provide it some others don't.

------------------------------------------------------------------------
r380 | Stephane.Carrez | 2011-11-27 10:35:40 +0100 (Sun, 27 Nov 2011) | 3 lines
Changed paths:
   M /trunk/testutil/aunit/util-xunit.adb
   M /trunk/testutil/aunit/util-xunit.ads
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Aunit issues
- Override the Assert procedure as older versions of Aunit don't provide it

------------------------------------------------------------------------
r379 | Stephane.Carrez | 2011-11-27 10:14:13 +0100 (Sun, 27 Nov 2011) | 2 lines
Changed paths:
   M /trunk/testutil/aunit/util-xunit.adb
   M /trunk/testutil/aunit/util-xunit.ads

Cleanup AUnit implementation: remove unused Assert_Equals procedures

------------------------------------------------------------------------
r378 | Stephane.Carrez | 2011-11-26 23:43:31 +0100 (Sat, 26 Nov 2011) | 2 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/configure
   M /trunk/configure.in

Fix build with AUnit

------------------------------------------------------------------------
r377 | Stephane.Carrez | 2011-11-26 23:31:39 +0100 (Sat, 26 Nov 2011) | 6 lines
Changed paths:
   A /trunk/LICENSE.Ahven
   M /trunk/configure
   M /trunk/configure.in
   A /trunk/testutil/ahven
   A /trunk/testutil/ahven/ahven-astrings.ads
   A /trunk/testutil/ahven/ahven-framework.adb
   A /trunk/testutil/ahven/ahven-framework.ads
   A /trunk/testutil/ahven/ahven-listeners-basic.adb
   A /trunk/testutil/ahven/ahven-listeners-basic.ads
   A /trunk/testutil/ahven/ahven-listeners.adb
   A /trunk/testutil/ahven/ahven-listeners.ads
   A /trunk/testutil/ahven/ahven-parameters.adb
   A /trunk/testutil/ahven/ahven-parameters.ads
   A /trunk/testutil/ahven/ahven-results.adb
   A /trunk/testutil/ahven/ahven-results.ads
   A /trunk/testutil/ahven/ahven-runner.adb
   A /trunk/testutil/ahven/ahven-runner.ads
   A /trunk/testutil/ahven/ahven-slist.adb
   A /trunk/testutil/ahven/ahven-slist.ads
   A /trunk/testutil/ahven/ahven-tap_runner.adb
   A /trunk/testutil/ahven/ahven-tap_runner.ads
   A /trunk/testutil/ahven/ahven-temporary_output.adb
   A /trunk/testutil/ahven/ahven-temporary_output.ads
   A /trunk/testutil/ahven/ahven-text_runner.adb
   A /trunk/testutil/ahven/ahven-text_runner.ads
   A /trunk/testutil/ahven/ahven-xml_runner.adb
   A /trunk/testutil/ahven/ahven-xml_runner.ads
   A /trunk/testutil/ahven/ahven.adb
   A /trunk/testutil/ahven/ahven.ads
   A /trunk/testutil/ahven/unix
   A /trunk/testutil/ahven/unix/ahven_compat.adb
   A /trunk/testutil/ahven/unix/ahven_compat.ads
   A /trunk/testutil/ahven/util-assertions.adb
   A /trunk/testutil/ahven/util-assertions.ads
   A /trunk/testutil/ahven/util-test_caller.adb
   A /trunk/testutil/ahven/util-test_caller.ads
   A /trunk/testutil/ahven/util-xunit.adb
   A /trunk/testutil/ahven/util-xunit.ads
   A /trunk/testutil/ahven/windows
   A /trunk/testutil/ahven/windows/ahven_compat.adb
   A /trunk/testutil/ahven/windows/ahven_compat.ads
   M /trunk/testutil.gpr.in

Support and integration of Ahven
- Add support for Ahven unit tests (testutil/ahven/util-*)
- Integrate Ahven 2.1 sources
  (ISC license)
- Add configure support to enable the Ahven support

------------------------------------------------------------------------
r376 | Stephane.Carrez | 2011-11-26 22:33:10 +0100 (Sat, 26 Nov 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Enable AUnit by default

------------------------------------------------------------------------
r375 | Stephane.Carrez | 2011-11-26 22:28:54 +0100 (Sat, 26 Nov 2011) | 6 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/configure
   M /trunk/configure.in
   D /trunk/distrib/testutil.gpr
   A /trunk/distrib/testutil.gpr.in (from /trunk/distrib/testutil.gpr:357)
   D /trunk/distrib/util.gpr
   A /trunk/distrib/util.gpr.in (from /trunk/distrib/util.gpr:357)
   M /trunk/regtests/util-beans-objects-discrete_tests.adb
   M /trunk/regtests/util-dates-formats-tests.adb
   M /trunk/tests.gpr
   A /trunk/testutil/aunit
   A /trunk/testutil/aunit/util-assertions.adb (from /trunk/testutil/util-assertions.adb:374)
   A /trunk/testutil/aunit/util-assertions.ads (from /trunk/testutil/util-assertions.ads:374)
   A /trunk/testutil/aunit/util-test_caller.adb (from /trunk/testutil/util-test_caller.adb:374)
   A /trunk/testutil/aunit/util-test_caller.ads (from /trunk/testutil/util-test_caller.ads:374)
   A /trunk/testutil/aunit/util-tests-reporter.adb (from /trunk/testutil/util-tests-reporter.adb:374)
   A /trunk/testutil/aunit/util-tests-reporter.ads (from /trunk/testutil/util-tests-reporter.ads:374)
   A /trunk/testutil/aunit/util-xunit.adb
   A /trunk/testutil/aunit/util-xunit.ads
   D /trunk/testutil/util-assertions.adb
   D /trunk/testutil/util-assertions.ads
   D /trunk/testutil/util-test_caller.adb
   D /trunk/testutil/util-test_caller.ads
   D /trunk/testutil/util-tests-reporter.adb
   D /trunk/testutil/util-tests-reporter.ads
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads
   D /trunk/testutil.gpr
   A /trunk/testutil.gpr.in (from /trunk/testutil.gpr:357)

Refactor 'testutil' to isolate the AUnit files
- Move the AUnit specific files in 'testutil/aunit'
- Add a configure option '--enable-aunit' to activate the AUnit support
- Update the GNAT projects to configure whether AUnit is used or not
- Update the installation

------------------------------------------------------------------------
r374 | Stephane.Carrez | 2011-11-26 14:59:31 +0100 (Sat, 26 Nov 2011) | 5 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/regtests/util-beans-objects-discrete_tests.adb
   M /trunk/regtests/util-beans-objects-discrete_tests.ads
   M /trunk/regtests/util-beans-objects-discretes.adb
   M /trunk/regtests/util-beans-objects-discretes.ads
   M /trunk/regtests/util-beans-objects-record_tests.adb
   M /trunk/regtests/util-beans-objects-record_tests.ads
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-concurrent-tests.ads
   M /trunk/regtests/util-dates-formats-tests.adb
   M /trunk/regtests/util-dates-formats-tests.ads
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-encoders-tests.ads
   M /trunk/regtests/util-events-channels-tests.adb
   M /trunk/regtests/util-events-channels-tests.ads
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-files-tests.ads
   M /trunk/regtests/util-locales-tests.adb
   M /trunk/regtests/util-locales-tests.ads
   M /trunk/regtests/util-log-tests.adb
   M /trunk/regtests/util-log-tests.ads
   M /trunk/regtests/util-processes-tests.adb
   M /trunk/regtests/util-processes-tests.ads
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/regtests/util-properties-bundles-tests.ads
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-properties-tests.ads
   M /trunk/regtests/util-serialize-io-csv-tests.adb
   M /trunk/regtests/util-serialize-io-csv-tests.ads
   M /trunk/regtests/util-serialize-io-json-tests.adb
   M /trunk/regtests/util-serialize-io-json-tests.ads
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.ads
   M /trunk/regtests/util-streams-buffered-tests.adb
   M /trunk/regtests/util-streams-buffered-tests.ads
   M /trunk/regtests/util-streams-files-tests.adb
   M /trunk/regtests/util-streams-files-tests.ads
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads
   M /trunk/regtests/util-testsuite.adb
   M /trunk/regtests/util-testsuite.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/testutil/util-tests.ads

Build improvement
- Cleanup the tests and samples
- Reduce dependency to AUnit by using Util.Tests subtypes
- Fix compilation warnings

------------------------------------------------------------------------
r373 | Stephane.Carrez | 2011-11-18 22:08:53 +0100 (Fri, 18 Nov 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-io-csv.adb
   M /trunk/src/util-serialize-io-csv.ads

New procedure Set_Default_Headers to configure the CSV parser to read
a CSV file without the column header line

------------------------------------------------------------------------
r367 | Stephane.Carrez | 2011-11-12 12:00:28 +0100 (Sat, 12 Nov 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-csv.adb
   M /trunk/src/util-serialize-io-csv.ads

Add support to customize the separator field and allow to ignore comment lines

------------------------------------------------------------------------
r366 | Stephane.Carrez | 2011-11-12 11:59:50 +0100 (Sat, 12 Nov 2011) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb

Fix a problem if the Initialize procedure cannot read a configuration file

------------------------------------------------------------------------
r365 | Stephane.Carrez | 2011-11-11 19:10:27 +0100 (Fri, 11 Nov 2011) | 2 lines
Changed paths:
   M /trunk/NEWS

Mention the CSV parser

------------------------------------------------------------------------
r364 | Stephane.Carrez | 2011-11-11 19:07:58 +0100 (Fri, 11 Nov 2011) | 10 lines
Changed paths:
   A /trunk/samples/cities.csv
   A /trunk/samples/city_mapping.adb
   A /trunk/samples/city_mapping.ads
   A /trunk/samples/csv_city.adb
   M /trunk/samples/log4j.properties
   M /trunk/samples/xmlrd.adb
   M /trunk/samples.gpr

New samples to read and map a CSV file in Ada records
- New csv_city example which reads the 'cities.csv' file
  and maps the rows in a City record.
  Search for the city name and display information about it.
- Add a 'cities.csv' file which is a random extract of
  a huge city file found at Geolite

   http://geolite.maxmind.com/download/worldcities/


------------------------------------------------------------------------
r363 | Stephane.Carrez | 2011-11-11 19:04:16 +0100 (Fri, 11 Nov 2011) | 2 lines
Changed paths:
   A /trunk/samples/csv_reader.adb

Basic example to read a CSV file

------------------------------------------------------------------------
r362 | Stephane.Carrez | 2011-11-11 18:40:57 +0100 (Fri, 11 Nov 2011) | 2 lines
Changed paths:
   A /trunk/regtests/util-serialize-io-csv-tests.adb
   A /trunk/regtests/util-serialize-io-csv-tests.ads
   A /trunk/regtests/util-serialize-mappers-tests.adb
   A /trunk/regtests/util-serialize-mappers-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add unit tests for CSV parser

------------------------------------------------------------------------
r361 | Stephane.Carrez | 2011-11-11 17:46:34 +0100 (Fri, 11 Nov 2011) | 4 lines
Changed paths:
   A /trunk/src/util-serialize-io-csv.adb
   A /trunk/src/util-serialize-io-csv.ads

Add a CSV parser
- New type Parser to parse a CSV file and map the result in an Ada record
- New type Output_Stream to write a CSV stream

------------------------------------------------------------------------
r360 | Stephane.Carrez | 2011-11-11 17:37:00 +0100 (Fri, 11 Nov 2011) | 2 lines
Changed paths:
   A /trunk/src/util-strings-vectors.ads

Provide an instantiation of Vectors with String

------------------------------------------------------------------------
r359 | Stephane.Carrez | 2011-11-11 17:35:13 +0100 (Fri, 11 Nov 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers.adb

Add some debug logs and use the handler Error procedure to report an error

------------------------------------------------------------------------
r358 | Stephane.Carrez | 2011-11-11 09:14:22 +0100 (Fri, 11 Nov 2011) | 4 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb

Optimize log message formatting
- Use a procedure instead of a function to format the message since
  it is faster due to the lack of Unbounded_String local variable

------------------------------------------------------------------------
r357 | Stephane.Carrez | 2011-11-01 17:17:46 +0100 (Tue, 01 Nov 2011) | 1 line
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb

Clear the locator when an exception is raised to avoid keeping a reference to a locator which does not exist anymore
------------------------------------------------------------------------
r356 | Stephane.Carrez | 2011-10-28 19:35:01 +0200 (Fri, 28 Oct 2011) | 2 lines
Changed paths:
   M /trunk

Update svn:ignore

------------------------------------------------------------------------
r355 | Stephane.Carrez | 2011-10-28 19:34:38 +0200 (Fri, 28 Oct 2011) | 2 lines
Changed paths:
   A /trunk/samples/launch.adb

New example to show how to use the popen stream

------------------------------------------------------------------------
r354 | Stephane.Carrez | 2011-10-28 19:34:16 +0200 (Fri, 28 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/os-none/util-processes-os.ads

Update comment title

------------------------------------------------------------------------
r353 | Stephane.Carrez | 2011-10-23 17:38:08 +0200 (Sun, 23 Oct 2011) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests-reporter.adb
   M /trunk/testutil/util-tests-reporter.ads

Fix the formatting of time to follow Junit convention
(solves integration issue with Jenkins Xunit framework)

------------------------------------------------------------------------
r352 | Stephane.Carrez | 2011-10-23 11:17:01 +0200 (Sun, 23 Oct 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-streams-buffered-tests.adb
   M /trunk/regtests/util-streams-buffered-tests.ads
   M /trunk/regtests/util-streams-files-tests.adb
   M /trunk/regtests/util-streams-files-tests.ads

Add some tests for stream buffers

------------------------------------------------------------------------
r351 | Stephane.Carrez | 2011-10-23 11:14:49 +0200 (Sun, 23 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb

Fix issues when reading from the buffer stream

------------------------------------------------------------------------
r350 | Stephane.Carrez | 2011-10-22 22:46:48 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   A /trunk/samples/popen.adb
   M /trunk/samples.gpr

New popen example to show how to create and use the pipes

------------------------------------------------------------------------
r349 | Stephane.Carrez | 2011-10-22 22:32:45 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   M /trunk/NEWS

Document the process and pipes support

------------------------------------------------------------------------
r348 | Stephane.Carrez | 2011-10-22 22:32:21 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   M /trunk/tests.gpr

Add test program for testing pipes

------------------------------------------------------------------------
r347 | Stephane.Carrez | 2011-10-22 22:31:55 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   A /trunk/regtests/util-processes-tests.adb
   A /trunk/regtests/util-processes-tests.ads
   M /trunk/regtests/util-testsuite.adb
   A /trunk/regtests/util_test_process.adb

Unit tests for pipes and processes

------------------------------------------------------------------------
r346 | Stephane.Carrez | 2011-10-22 22:30:24 +0200 (Sat, 22 Oct 2011) | 4 lines
Changed paths:
   M /trunk/src/os-linux/util-processes-os.adb
   M /trunk/src/os-linux/util-processes-os.ads
   M /trunk/src/os-linux/util-streams-pipes.adb
   M /trunk/src/os-linux/util-streams-pipes.ads
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads
   M /trunk/src/util-streams-buffered.adb

- Rename Get_Exit_Value into Get_Exit_Status
- Fix compilation warnings
- Fix input buffer issue

------------------------------------------------------------------------
r345 | Stephane.Carrez | 2011-10-22 17:48:24 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   A /trunk/src/os-none
   A /trunk/src/os-none/util-processes-os.adb
   A /trunk/src/os-none/util-processes-os.ads

Dummy implementation when process creation is not supported

------------------------------------------------------------------------
r344 | Stephane.Carrez | 2011-10-22 17:36:41 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in
   M /trunk/util.gpr.in

Check for the OS and configure accordingly

------------------------------------------------------------------------
r343 | Stephane.Carrez | 2011-10-22 17:35:48 +0200 (Sat, 22 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb

Fix read procedure to read until the end of the stream

------------------------------------------------------------------------
r342 | Stephane.Carrez | 2011-10-22 17:35:14 +0200 (Sat, 22 Oct 2011) | 5 lines
Changed paths:
   M /trunk/src/util-processes.adb
   M /trunk/src/util-processes.ads

External process creation
- Implement the Spawn procedure to launch an external process
  with an optional pipe to read/write to it
- Implement the Wait procedure to wait for the process termination

------------------------------------------------------------------------
r341 | Stephane.Carrez | 2011-10-22 17:33:51 +0200 (Sat, 22 Oct 2011) | 5 lines
Changed paths:
   A /trunk/src/os-linux
   A /trunk/src/os-linux/util-processes-os.adb
   A /trunk/src/os-linux/util-processes-os.ads
   A /trunk/src/os-linux/util-streams-pipes.adb
   A /trunk/src/os-linux/util-streams-pipes.ads
   A /trunk/src/os-linux/util-streams-raw.adb
   A /trunk/src/os-linux/util-streams-raw.ads

Linux process and pipe support
- New stream implemented on top of read/write system calls
- New private package to spawn and wait for a process (Linux/Unix implementation)
- New pipe stream to launch a process and read/write through a pipe

------------------------------------------------------------------------
r340 | Stephane.Carrez | 2011-10-19 23:34:13 +0200 (Wed, 19 Oct 2011) | 2 lines
Changed paths:
   A /trunk/src/util-processes.adb
   A /trunk/src/util-processes.ads

New package for process launch

------------------------------------------------------------------------
r339 | Stephane.Carrez | 2011-10-18 22:40:38 +0200 (Tue, 18 Oct 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-files-tests.ads

Add unit test for Compose_Path

------------------------------------------------------------------------
r338 | Stephane.Carrez | 2011-10-18 08:34:31 +0200 (Tue, 18 Oct 2011) | 4 lines
Changed paths:
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-properties-hash.adb
   M /trunk/src/util-properties-hash.ads
   M /trunk/src/util-properties.adb
   M /trunk/src/util-properties.ads

Support to iterate over the properties
- New procedure Iterate in the pseudo interface
- Implement the Iterate on hashed properties

------------------------------------------------------------------------
r337 | Stephane.Carrez | 2011-10-16 23:18:28 +0200 (Sun, 16 Oct 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-locales-tests.adb

Fix compilation with GNAT 2011

------------------------------------------------------------------------
r336 | Stephane.Carrez | 2011-10-16 15:21:56 +0200 (Sun, 16 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb

Avoid double '/' when composing a path

------------------------------------------------------------------------
r335 | Stephane.Carrez | 2011-10-16 10:05:42 +0200 (Sun, 16 Oct 2011) | 4 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/xml/util-serialize-io-xml.adb

Report the file name when parsing XML files
- Keep the file name in the Parser structure
- When a location is returned, add the file name before the Sax location

------------------------------------------------------------------------
r334 | Stephane.Carrez | 2011-10-15 23:29:04 +0200 (Sat, 15 Oct 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-locales-tests.adb

Fix compilation issue with GNAT 2011

------------------------------------------------------------------------
r333 | Stephane.Carrez | 2011-10-15 23:25:46 +0200 (Sat, 15 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb

Report an error message if the file does not exist

------------------------------------------------------------------------
r332 | Stephane.Carrez | 2011-10-15 14:56:59 +0200 (Sat, 15 Oct 2011) | 6 lines
Changed paths:
   M /trunk/regtests/util-locales-tests.adb
   M /trunk/regtests/util-locales-tests.ads
   M /trunk/src/util-locales.adb
   M /trunk/src/util-locales.ads

Locale improvement
- Provide a table of locales
- New function To_String to get the locale code
- New function Get_ISO3_Country and Get_ISO3_Language to retrieve
  the ISO 639-2 and ISO 3166-2 codes

------------------------------------------------------------------------
r326 | Stephane.Carrez | 2011-10-02 10:57:47 +0200 (Sun, 02 Oct 2011) | 2 lines
Changed paths:
   A /trunk/bundles/dates_fr.properties
   M /trunk/src/util-dates-formats.ads

Add French date localization (UTF-8 file)

------------------------------------------------------------------------
r325 | Stephane.Carrez | 2011-10-02 10:55:48 +0200 (Sun, 02 Oct 2011) | 2 lines
Changed paths:
   M /trunk/samples/date.adb

Update the date example so that -l option works

------------------------------------------------------------------------
r324 | Stephane.Carrez | 2011-10-02 09:59:47 +0200 (Sun, 02 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/util-dates-formats.adb
   M /trunk/src/util-dates-formats.ads

Provide hard coded default labels for month and days

------------------------------------------------------------------------
r323 | Stephane.Carrez | 2011-10-01 23:54:56 +0200 (Sat, 01 Oct 2011) | 2 lines
Changed paths:
   M /trunk/NEWS

Document the support for date formatting

------------------------------------------------------------------------
r322 | Stephane.Carrez | 2011-10-01 23:53:44 +0200 (Sat, 01 Oct 2011) | 2 lines
Changed paths:
   A /trunk/samples/date.adb
   M /trunk/samples.gpr

Example for date format

------------------------------------------------------------------------
r321 | Stephane.Carrez | 2011-10-01 23:51:47 +0200 (Sat, 01 Oct 2011) | 2 lines
Changed paths:
   A /trunk/bundles
   A /trunk/bundles/dates.properties

Localisation for dates

------------------------------------------------------------------------
r320 | Stephane.Carrez | 2011-10-01 23:50:40 +0200 (Sat, 01 Oct 2011) | 2 lines
Changed paths:
   A /trunk/regtests/util-dates-formats-tests.adb
   A /trunk/regtests/util-dates-formats-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add unit tests for date formats

------------------------------------------------------------------------
r319 | Stephane.Carrez | 2011-10-01 23:49:47 +0200 (Sat, 01 Oct 2011) | 8 lines
Changed paths:
   A /trunk/src/util-dates-formats.adb
   A /trunk/src/util-dates-formats.ads
   M /trunk/src/util-dates.adb
   M /trunk/src/util-dates.ads

Date format
- Provide a date format similar to the Unix strftime
  but which allows to localize the month and day labels
  
  This is intended to be used in environments when several threads
  have to format a date using different locales (which is not possible
  easily with strftime).  The GNAT implementation is not localized.

------------------------------------------------------------------------
r318 | Stephane.Carrez | 2011-10-01 16:57:38 +0200 (Sat, 01 Oct 2011) | 2 lines
Changed paths:
   A /trunk/src/util-dates.adb
   A /trunk/src/util-dates.ads

Date utilities

------------------------------------------------------------------------
r317 | Stephane.Carrez | 2011-10-01 08:37:41 +0200 (Sat, 01 Oct 2011) | 2 lines
Changed paths:
   M /trunk/src/util-events.ads

Change the Event type to a limited type

------------------------------------------------------------------------
r316 | Stephane.Carrez | 2011-09-25 23:07:26 +0200 (Sun, 25 Sep 2011) | 3 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads

Add support to dump the exception trace in the logs
- Dump the exception stack trace if the Trace parameter is set

------------------------------------------------------------------------
r315 | Stephane.Carrez | 2011-09-18 21:22:51 +0200 (Sun, 18 Sep 2011) | 2 lines
Changed paths:
   M /trunk/config.gpr

Compile with debug even when optimizing

------------------------------------------------------------------------
r314 | Stephane.Carrez | 2011-09-18 21:22:30 +0200 (Sun, 18 Sep 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads

New Write procedure which accepts Unbounded_Wide_Wide_String

------------------------------------------------------------------------
r313 | Stephane.Carrez | 2011-09-11 09:49:40 +0200 (Sun, 11 Sep 2011) | 1 line
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Preparation for next release
------------------------------------------------------------------------
r311 | Stephane.Carrez | 2011-09-03 23:22:53 +0200 (Sat, 03 Sep 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Make sure the lib directory exist before copying the archive file

------------------------------------------------------------------------
r310 | Stephane.Carrez | 2011-09-03 23:07:45 +0200 (Sat, 03 Sep 2011) | 2 lines
Changed paths:
   M /trunk/NEWS

Update release date

------------------------------------------------------------------------
r309 | Stephane.Carrez | 2011-09-03 23:07:04 +0200 (Sat, 03 Sep 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix distribution to avoid to include object and library files

------------------------------------------------------------------------
r308 | Stephane.Carrez | 2011-09-03 22:48:14 +0200 (Sat, 03 Sep 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

New install-support target to install some support tools

------------------------------------------------------------------------
r307 | Stephane.Carrez | 2011-09-02 23:13:08 +0200 (Fri, 02 Sep 2011) | 4 lines
Changed paths:
   D /trunk/aunit-to-junit.xsl
   A /trunk/support
   A /trunk/support/add-junit-result.sh
   A /trunk/support/add-junit.xsl
   A /trunk/support/aunit-to-junit.xsl
   A /trunk/support/merge-junit.xsl

Support files for Junit XML files
- add XSLT files to build a Junit XML file from a AUnit XML file
- add a script to add a testcase in a Junit XML file

------------------------------------------------------------------------
r306 | Stephane.Carrez | 2011-09-01 21:01:30 +0200 (Thu, 01 Sep 2011) | 4 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb

Check that the logger instance is not null
(this should never happen except in some cases when the program is
stopping and exceptions are raised in finalization steps)

------------------------------------------------------------------------
r305 | Stephane.Carrez | 2011-09-01 20:59:25 +0200 (Thu, 01 Sep 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb

Add an info log when reading a file

------------------------------------------------------------------------
r304 | Stephane.Carrez | 2011-08-20 22:49:07 +0200 (Sat, 20 Aug 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-log-tests.adb

Update test after removal of a debug log message in Util.Log.Loggers.Finalize

------------------------------------------------------------------------
r303 | Stephane.Carrez | 2011-08-20 20:48:33 +0200 (Sat, 20 Aug 2011) | 5 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads

Fix compilation with gcc 4.4
- Avoid using an unconstraint type for Logger because gcc 4.4
  fails when resolving the Util.Log.Loggers.Logger_Access
  The logger name does not need to be stored in the Logger anyway.

------------------------------------------------------------------------
r302 | Stephane.Carrez | 2011-08-17 20:57:37 +0200 (Wed, 17 Aug 2011) | 5 lines
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb

Fix crash while parsing some invalid XML files:
- Clear the Sax locator before leaving the Parse procedure
- When reporting an error, check that the locator is valid before using it


------------------------------------------------------------------------
r301 | Stephane.Carrez | 2011-08-11 15:34:23 +0200 (Thu, 11 Aug 2011) | 3 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/src/util-log-appenders.adb
   M /trunk/src/util-log-appenders.ads
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads

Optimize Util.Log implementation by using indefinite records
- store the logger name as a String within the record (avoids to use an Unbounded_String)

------------------------------------------------------------------------
r300 | Stephane.Carrez | 2011-08-11 14:16:39 +0200 (Thu, 11 Aug 2011) | 8 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-json-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.ads
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io-json.ads
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers.ads
   M /trunk/src/xml/util-serialize-io-xml.adb
   M /trunk/src/xml/util-serialize-io-xml.ads

Improvement of error reports in JSON/XML de-serialization
- use a logger to report the error produced while parsing some JSON/XML document
- allow a Set_Member to raise the Field_Error exception to report an error
  message, get the current file location and mark the parser with an error flag
- likewise with Fatal_Field_Error which is then re-raised
- catch other exception that Set_Member could raise and report another message
- update unit tests to check some errors

------------------------------------------------------------------------
r299 | Stephane.Carrez | 2011-08-11 14:13:06 +0200 (Thu, 11 Aug 2011) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.ads

Define the Logger_Access type

------------------------------------------------------------------------
r298 | Stephane.Carrez | 2011-08-11 14:11:45 +0200 (Thu, 11 Aug 2011) | 4 lines
Changed paths:
   M /trunk/src/util-serialize-contexts.adb
   M /trunk/src/util-serialize-contexts.ads
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads

Add support to delete the element data stored in the serialization context
- Add a Finalize procedure called to release the element data storage
- Add a Release parameter to control the release of the element data stored in the serialization context

------------------------------------------------------------------------
r297 | Stephane.Carrez | 2011-08-07 21:19:27 +0200 (Sun, 07 Aug 2011) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Update Assert_File_Equals so that it accepts the root Test class object

------------------------------------------------------------------------
r296 | Stephane.Carrez | 2011-07-17 22:25:59 +0200 (Sun, 17 Jul 2011) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb

Instantiate the Runner after parsing the command line arguments.

------------------------------------------------------------------------
r295 | Stephane.Carrez | 2011-07-10 00:00:53 +0200 (Sun, 10 Jul 2011) | 4 lines
Changed paths:
   M /trunk/src/util-serialize-mappers.adb

Fix serialization mapping for vectors
- when adding a vector mapping, do not copy the mapping
  but set the mapper to the vector mapping

------------------------------------------------------------------------
r294 | Stephane.Carrez | 2011-07-09 23:08:53 +0200 (Sat, 09 Jul 2011) | 2 lines
Changed paths:
   M /trunk/src/util-refs.ads

Remove some renames which are not necessary

------------------------------------------------------------------------
r293 | Stephane.Carrez | 2011-07-09 22:58:17 +0200 (Sat, 09 Jul 2011) | 7 lines
Changed paths:
   M /trunk/src/util-refs.adb
   M /trunk/src/util-refs.ads

Support for references to indefinite types
- Refactor the References generic package into a Indefinite_References
  which accept indefinite element types but does not provide
  the creation of element instance
- Implement the References generic package by using the
  Indefinite_References package

------------------------------------------------------------------------
r292 | Stephane.Carrez | 2011-07-09 18:33:34 +0200 (Sat, 09 Jul 2011) | 9 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Serialization mapping tree improvement
- when adding a Mapper to a mapping tree, copy the mapping tree
  into the target mapping tree so that it becomes possible to
  compose complex mappings.
- New function Clone on the mapper used when copying the
  mapping tree
- New procedure Dump to dump the mapping tree
  (useful for debugging)

------------------------------------------------------------------------
r291 | Stephane.Carrez | 2011-07-02 22:03:45 +0200 (Sat, 02 Jul 2011) | 2 lines
Changed paths:
   A /trunk/aunit-to-junit.xsl

XSLT file to translate the AUnit XML file into a Junit compatible XML result

------------------------------------------------------------------------
r290 | Stephane.Carrez | 2011-07-02 22:02:25 +0200 (Sat, 02 Jul 2011) | 4 lines
Changed paths:
   M /trunk/testutil/util-tests-reporter.adb
   M /trunk/testutil/util-tests-reporter.ads

Fix XML report
- use Escape_Xml to escape the special characters in test message and test names
- fix format of time

------------------------------------------------------------------------
r289 | Stephane.Carrez | 2011-07-02 19:00:10 +0200 (Sat, 02 Jul 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Produce an XML report when executing the unit tests

------------------------------------------------------------------------
r288 | Stephane.Carrez | 2011-07-02 18:57:46 +0200 (Sat, 02 Jul 2011) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests-reporter.adb

Print a summary of results on stdout

------------------------------------------------------------------------
r287 | Stephane.Carrez | 2011-07-02 16:31:07 +0200 (Sat, 02 Jul 2011) | 7 lines
Changed paths:
   A /trunk/testutil/util-tests-reporter.adb
   A /trunk/testutil/util-tests-reporter.ads
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Add support to generate an XML report
- new option -xml <file> to generate the XML unit report
- integrate AUnit.Reporter.XML and fix issues in it
  generate the XML in a separate file and not on stdout
  (to avoid mixing with possible test output)
  fix wrong XML generated by the AUnit implementation

------------------------------------------------------------------------
r286 | Stephane.Carrez | 2011-07-01 21:24:10 +0200 (Fri, 01 Jul 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Fix installation of GNAT projects

------------------------------------------------------------------------
r285 | Stephane.Carrez | 2011-07-01 21:21:44 +0200 (Fri, 01 Jul 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/distrib/testutil.gpr
   M /trunk/distrib/util.gpr

Configure the installation directory defined in the installed GNAT project files

------------------------------------------------------------------------
r284 | Stephane.Carrez | 2011-07-01 20:34:19 +0200 (Fri, 01 Jul 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Add the build gnatmake flags where there are really necessary

------------------------------------------------------------------------
r283 | Stephane.Carrez | 2011-07-01 08:01:31 +0200 (Fri, 01 Jul 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in
   M /trunk/util.gpr.in

Fix configuration and build when XML Ada is not available

------------------------------------------------------------------------
r282 | Stephane.Carrez | 2011-06-26 12:08:37 +0200 (Sun, 26 Jun 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in

Add prepare-release make target

------------------------------------------------------------------------
r281 | Stephane.Carrez | 2011-06-26 11:54:56 +0200 (Sun, 26 Jun 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Update ada-util version to 1.3.0

------------------------------------------------------------------------
r280 | Stephane.Carrez | 2011-06-25 21:28:19 +0200 (Sat, 25 Jun 2011) | 7 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers.adb

Logger improvements
- Add a Create logger function which allows to configure
  the default log level
- Use a WARN_LEVEL for the mappers so that mapper calls
  in package elaboration will not produce any log.
  The log level can be changed to INFO_LEVEL by configuration later on.

------------------------------------------------------------------------
r279 | Stephane.Carrez | 2011-06-23 21:25:28 +0200 (Thu, 23 Jun 2011) | 3 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

New procedure Iterate_Files_Path to scan a list of directories for
a file pattern and execute a procedure until it returns False.

------------------------------------------------------------------------
r278 | Stephane.Carrez | 2011-06-20 23:36:28 +0200 (Mon, 20 Jun 2011) | 3 lines
Changed paths:
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.ads

Add a parser test with a different mapping
Check that we can setup a mapping to be called when a closing element is found

------------------------------------------------------------------------
r277 | Stephane.Carrez | 2011-06-20 23:35:28 +0200 (Mon, 20 Jun 2011) | 2 lines
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb

Always call Set_Member even if the text node is empty

------------------------------------------------------------------------
r276 | Stephane.Carrez | 2011-06-16 23:57:18 +0200 (Thu, 16 Jun 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-beans-objects-discrete_tests.adb
   M /trunk/regtests/util-beans-objects-discrete_tests.ads
   M /trunk/regtests/util-beans-objects-record_tests.ads
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-concurrent-tests.ads
   M /trunk/regtests/util-encoders-tests.ads
   M /trunk/regtests/util-events-channels-tests.ads
   M /trunk/regtests/util-files-tests.ads
   M /trunk/regtests/util-locales-tests.ads
   M /trunk/regtests/util-log-tests.adb
   M /trunk/regtests/util-log-tests.ads
   M /trunk/regtests/util-properties-bundles-tests.ads
   M /trunk/regtests/util-properties-tests.ads
   M /trunk/regtests/util-serialize-io-json-tests.ads
   M /trunk/regtests/util-serialize-io-xml-tests.adb
   M /trunk/regtests/util-serialize-io-xml-tests.ads
   M /trunk/regtests/util-streams-buffered-tests.ads
   M /trunk/regtests/util-streams-files-tests.ads
   M /trunk/regtests/util-strings-tests.ads

Update the tests to use reduce dependency to AUnit

------------------------------------------------------------------------
r275 | Stephane.Carrez | 2011-06-16 23:55:26 +0200 (Thu, 16 Jun 2011) | 4 lines
Changed paths:
   M /trunk/testutil/util-assertions.adb
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Improvements to support AUnit 2011
- provide a 'Test' type that inherits from AUnit Test_Fixture
- define the Assert procedures which have been removed in AUnit 2011

------------------------------------------------------------------------
r274 | Stephane.Carrez | 2011-06-16 22:18:26 +0200 (Thu, 16 Jun 2011) | 5 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/configure
   M /trunk/configure.in
   A /trunk/src/xml/util-serialize-io-xml-get_location-xmlada-3.adb
   A /trunk/src/xml/util-serialize-io-xml-get_location-xmlada-4.adb
   M /trunk/src/xml/util-serialize-io-xml.adb
   M /trunk/src/xml/util-serialize-io-xml.ads
   M /trunk/util.gpr.in

Port for XML Ada 4.1 (GNAT 2011)
- define a Get_Location to solve compilation issue with XML Ada 4.1
  (Get_Locator was renamed Get_Location between 3.2 and 4.1)
- update the configure to recognize the new XML Ada version

------------------------------------------------------------------------
r273 | Stephane.Carrez | 2011-06-13 17:30:51 +0200 (Mon, 13 Jun 2011) | 2 lines
Changed paths:
   M /trunk/src/util-texts-formats.adb

Fix constraint_error raised if the argument number is invalid

------------------------------------------------------------------------
r272 | Stephane.Carrez | 2011-06-11 17:57:54 +0200 (Sat, 11 Jun 2011) | 2 lines
Changed paths:
   M /trunk/src/util-properties-bundles.adb

Use Find_Files_Path to search the resource bundles in several directories

------------------------------------------------------------------------
r271 | Stephane.Carrez | 2011-06-11 17:54:40 +0200 (Sat, 11 Jun 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-files-tests.ads

Add unit tests for Iterate_Path

------------------------------------------------------------------------
r270 | Stephane.Carrez | 2011-06-11 17:54:21 +0200 (Sat, 11 Jun 2011) | 4 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

New procedure Iterate_Path to iterate over a list of paths and execute a procedure
New procedure Find_Files_Path to find the files matching a pattern in a list of directories
Use Iterate_Path in the implementation

------------------------------------------------------------------------
r269 | Stephane.Carrez | 2011-06-11 17:52:59 +0200 (Sat, 11 Jun 2011) | 2 lines
Changed paths:
   A /trunk/src/util-strings-sets.ads

Define the set of string package

------------------------------------------------------------------------
r268 | Stephane.Carrez | 2011-06-05 18:37:29 +0200 (Sun, 05 Jun 2011) | 1 line
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

Add Compose_Path
------------------------------------------------------------------------
r267 | Stephane.Carrez | 2011-05-19 00:24:02 +0200 (Thu, 19 May 2011) | 3 lines
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb

Use Stream.Write instead of Stream.Write_String to write the attribute value
(otherwise we can close the current entity by writing the '>')

------------------------------------------------------------------------
r266 | Stephane.Carrez | 2011-05-17 23:25:24 +0200 (Tue, 17 May 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-concurrent-tests.ads

Add unit tests for concurrent pools

------------------------------------------------------------------------
r265 | Stephane.Carrez | 2011-05-17 22:52:13 +0200 (Tue, 17 May 2011) | 2 lines
Changed paths:
   A /trunk/src/util-concurrent-pools.adb
   A /trunk/src/util-concurrent-pools.ads

Add concurrent pools generic package

------------------------------------------------------------------------
r261 | Stephane.Carrez | 2011-05-08 21:00:39 +0200 (Sun, 08 May 2011) | 2 lines
Changed paths:
   M /trunk/NOTICE.txt

Update copyright

------------------------------------------------------------------------
r260 | Stephane.Carrez | 2011-05-08 10:31:43 +0200 (Sun, 08 May 2011) | 4 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/config.gpr
   M /trunk/src/util.ads
   M /trunk/testutil.gpr

Add 'uninstall' make target
Rename library 'testutil' into 'adatestutil'
Add coverage support for build configuration

------------------------------------------------------------------------
r259 | Stephane.Carrez | 2011-05-07 23:43:31 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb

Fix compilation warning

------------------------------------------------------------------------
r258 | Stephane.Carrez | 2011-05-07 23:40:10 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   M /trunk/NEWS
   A /trunk/samples/google.xrds
   M /trunk/samples/json.adb
   M /trunk/samples/multipro_refs.adb
   A /trunk/samples/person.json

Update some examples

------------------------------------------------------------------------
r257 | Stephane.Carrez | 2011-05-07 23:04:46 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   M /trunk/samples/xmlrd.adb

Cleanup and dump the XRD entry

------------------------------------------------------------------------
r256 | Stephane.Carrez | 2011-05-07 22:35:49 +0200 (Sat, 07 May 2011) | 5 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/README
   M /trunk/config.gpr
   M /trunk/regtests/util-beans-objects-discrete_tests.adb
   M /trunk/regtests/util-beans-objects-record_tests.adb
   M /trunk/regtests/util-serialize-io-json-tests.adb
   M /trunk/samples/multipro_refs.adb
   M /trunk/samples/xmlrd.adb
   M /trunk/src/util-beans-methods.ads
   M /trunk/src/util-beans-objects-hash.adb
   M /trunk/src/util-beans-objects-time.adb
   M /trunk/src/util-beans-objects.adb
   M /trunk/src/util-encoders-base64.adb
   M /trunk/src/util-encoders-sha1.adb
   M /trunk/src/util-encoders.adb
   M /trunk/src/util-log-appenders.adb
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-properties-bundles.ads
   M /trunk/src/util-properties.adb
   M /trunk/src/util-serialize-io-json.ads
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-streams-texts.adb
   M /trunk/src/util-streams-texts.ads
   M /trunk/src/util-strings.adb
   M /trunk/src/xml/util-serialize-io-xml.adb
   M /trunk/src/xml/util-serialize-io-xml.ads
   M /trunk/testutil.gpr
   M /trunk/util.gpr.in

Fix style and compilation warnings
- compile with several style checks in debug mode
- fix the style problems
- use parallel compilation with a default of 4 compilations

------------------------------------------------------------------------
r255 | Stephane.Carrez | 2011-05-07 21:49:07 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   A /trunk/NEWS
   M /trunk/README

Update the readme, the dist target, and provide information about what's new

------------------------------------------------------------------------
r254 | Stephane.Carrez | 2011-05-07 21:48:09 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   M /trunk/src/util-beans-basic-lists.adb
   M /trunk/src/util-beans-objects-hash.adb
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util.ads
   M /trunk/src/xml/util-serialize-io-xml.adb

Fix compilation warnings

------------------------------------------------------------------------
r253 | Stephane.Carrez | 2011-05-07 18:48:33 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   A /trunk/distrib/testutil.gpr
   A /trunk/distrib/util.gpr

GNAT project files for installation

------------------------------------------------------------------------
r252 | Stephane.Carrez | 2011-05-07 18:18:10 +0200 (Sat, 07 May 2011) | 3 lines
Changed paths:
   M /trunk/Makefile.in
   A /trunk/distrib

Provide GNAT project files for installation
Add the 'install' makefile target

------------------------------------------------------------------------
r251 | Stephane.Carrez | 2011-05-07 18:16:54 +0200 (Sat, 07 May 2011) | 2 lines
Changed paths:
   M /trunk

Update the svn:ignore

------------------------------------------------------------------------
r250 | Stephane.Carrez | 2011-05-04 21:41:28 +0200 (Wed, 04 May 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-beans-objects-record_tests.adb
   M /trunk/regtests/util-beans-objects-record_tests.ads

Add a unit test to check releasing the storage held by the bean

------------------------------------------------------------------------
r249 | Stephane.Carrez | 2011-05-04 21:40:48 +0200 (Wed, 04 May 2011) | 8 lines
Changed paths:
   M /trunk/src/util-beans-basic-lists.adb
   M /trunk/src/util-beans-objects.adb
   M /trunk/src/util-beans-objects.ads

Add support to release automatically the bean object
- when using To_Object with a bean, specify the release behavior
  STATIC means the bean storage is not reclaimed and
  DYNAMIC indicates the bean will be freed when the last reference
  is released
- use STATIC release for the Basic.Lists because the bean object
  is stored in the list record

------------------------------------------------------------------------
r248 | Stephane.Carrez | 2011-05-04 08:56:51 +0200 (Wed, 04 May 2011) | 5 lines
Changed paths:
   M /trunk/src/util-measures.adb
   M /trunk/src/util-measures.ads

Finalize the Measure_Set to release the memory allocated to store the measures
In general, after a set of measures calling 'Write' will dump the result
and flush the memory.  But this is not always the case when measures are
collected in a server.

------------------------------------------------------------------------
r247 | Stephane.Carrez | 2011-05-01 10:29:07 +0200 (Sun, 01 May 2011) | 3 lines
Changed paths:
   A /trunk/regtests/util-beans-objects-record_tests.adb
   A /trunk/regtests/util-beans-objects-record_tests.ads
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-testsuite.adb

Add unit test for generic package Beans.Objects.Records
Fix compilation warnings

------------------------------------------------------------------------
r246 | Stephane.Carrez | 2011-05-01 10:16:17 +0200 (Sun, 01 May 2011) | 2 lines
Changed paths:
   M /trunk/samples/encodes.adb

Add sha1 encoding

------------------------------------------------------------------------
r245 | Stephane.Carrez | 2011-05-01 10:15:13 +0200 (Sun, 01 May 2011) | 4 lines
Changed paths:
   M /trunk/src/util-encoders-base16.adb
   M /trunk/src/util-encoders-base16.ads
   M /trunk/src/util-encoders-base64.adb
   M /trunk/src/util-encoders-base64.ads
   M /trunk/src/util-encoders-hmac-sha1.adb
   M /trunk/src/util-encoders-hmac-sha1.ads
   M /trunk/src/util-encoders-sha1.adb
   M /trunk/src/util-encoders-sha1.ads
   M /trunk/src/util-encoders.adb
   M /trunk/src/util-encoders.ads

Remove the Delete procedure on the Transformers interface
Delete the transformers by using the generic Free instantiation
Provide an SHA1 result encoded in Base64

------------------------------------------------------------------------
r244 | Stephane.Carrez | 2011-05-01 10:13:29 +0200 (Sun, 01 May 2011) | 1 line
Changed paths:
   M /trunk/src/util-strings.ads

Use Hashed_Sets instead of Indefinite_Hashed_Sets
------------------------------------------------------------------------
r243 | Stephane.Carrez | 2011-04-29 23:35:06 +0200 (Fri, 29 Apr 2011) | 4 lines
Changed paths:
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-encoders-tests.ads

Unit tests for HMAC-SHA1
- implement tests defined by RFC 2202 - Test Cases for HMAC-MD5 and HMAC-SHA-1


------------------------------------------------------------------------
r242 | Stephane.Carrez | 2011-04-29 23:33:49 +0200 (Fri, 29 Apr 2011) | 2 lines
Changed paths:
   A /trunk/src/util-encoders-hmac-sha1.adb
   A /trunk/src/util-encoders-hmac-sha1.ads
   A /trunk/src/util-encoders-hmac.ads

Implement HMAC-SHA1 - RFC 2104, HMAC: Keyed-Hashing for Message Authentication

------------------------------------------------------------------------
r241 | Stephane.Carrez | 2011-04-29 20:56:35 +0200 (Fri, 29 Apr 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-encoders-tests.ads

Add unit tests for SHA1

------------------------------------------------------------------------
r240 | Stephane.Carrez | 2011-04-29 20:56:15 +0200 (Fri, 29 Apr 2011) | 2 lines
Changed paths:
   M /trunk/src/util-encoders-sha1.adb

Fix Transform to return the last encoded position

------------------------------------------------------------------------
r239 | Stephane.Carrez | 2011-04-28 22:54:33 +0200 (Thu, 28 Apr 2011) | 3 lines
Changed paths:
   M /trunk/src/util-encoders.adb
   M /trunk/src/util-encoders.ads

Add support for SHA-1 encoder
Add Transform method that accepts a stream array

------------------------------------------------------------------------
r238 | Stephane.Carrez | 2011-04-28 22:52:20 +0200 (Thu, 28 Apr 2011) | 3 lines
Changed paths:
   A /trunk/src/util-encoders-sha1.adb
   A /trunk/src/util-encoders-sha1.ads

Implement SHA-1 hashes according to RFC3174
http://www.ietf.org/rfc/rfc3174.txt

------------------------------------------------------------------------
r237 | Stephane.Carrez | 2011-04-25 23:44:28 +0200 (Mon, 25 Apr 2011) | 2 lines
Changed paths:
   A /trunk/src/util-beans-objects-records.adb
   A /trunk/src/util-beans-objects-records.ads

Generic package to store any record type in an Object

------------------------------------------------------------------------
r236 | Stephane.Carrez | 2011-04-25 23:40:58 +0200 (Mon, 25 Apr 2011) | 8 lines
Changed paths:
   M /trunk/src/util-beans-objects-enums.adb
   M /trunk/src/util-beans-objects-hash.adb
   M /trunk/src/util-beans-objects-to_access.adb
   M /trunk/src/util-beans-objects.adb
   M /trunk/src/util-beans-objects.ads

Preparation for generic records package
- make the Proxy a tagged record
- move the String in a String_Proxy record
  store the String within the String_Proxy
- likewise for Wide string
- move the readonly bean as Bean_Proxy 
- add and implement the Is_Empty function on Type_Def

------------------------------------------------------------------------
r235 | Stephane.Carrez | 2011-04-23 09:57:05 +0200 (Sat, 23 Apr 2011) | 1 line
Changed paths:
   M /trunk/regtests/util-serialize-io-xml-tests.ads

Add comment
------------------------------------------------------------------------
r234 | Stephane.Carrez | 2011-04-23 09:56:50 +0200 (Sat, 23 Apr 2011) | 1 line
Changed paths:
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

Add unit tests for String_Ref
------------------------------------------------------------------------
r233 | Stephane.Carrez | 2011-04-23 09:44:35 +0200 (Sat, 23 Apr 2011) | 1 line
Changed paths:
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads

Add Length and "=" for String_Ref type.
------------------------------------------------------------------------
r232 | Stephane.Carrez | 2011-04-22 20:22:42 +0200 (Fri, 22 Apr 2011) | 1 line
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

Add a Compose function that supports relative paths in the name
------------------------------------------------------------------------
r231 | Stephane.Carrez | 2011-04-16 23:42:44 +0200 (Sat, 16 Apr 2011) | 2 lines
Changed paths:
   M /trunk/lib

Update svn:ignore 

------------------------------------------------------------------------
r230 | Stephane.Carrez | 2011-04-16 23:01:43 +0200 (Sat, 16 Apr 2011) | 1 line
Changed paths:
   M /trunk

Ignore some generated files
------------------------------------------------------------------------
r229 | Stephane.Carrez | 2011-04-16 22:52:36 +0200 (Sat, 16 Apr 2011) | 1 line
Changed paths:
   M /trunk/config.sub

Update config.sub to a newer version
------------------------------------------------------------------------
r228 | Stephane.Carrez | 2011-04-15 23:52:39 +0200 (Fri, 15 Apr 2011) | 2 lines
Changed paths:
   A /trunk/regtests/util-serialize-io-xml-tests.adb
   A /trunk/regtests/util-serialize-io-xml-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add unit tests for XML serialization

------------------------------------------------------------------------
r227 | Stephane.Carrez | 2011-04-15 23:23:55 +0200 (Fri, 15 Apr 2011) | 6 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Fix serialization
- add Iterate procedure to walk the mapping tree and
  execute a procedure
- use Iterate to write a record mapping
- remove unused methods

------------------------------------------------------------------------
r226 | Stephane.Carrez | 2011-04-15 23:19:24 +0200 (Fri, 15 Apr 2011) | 2 lines
Changed paths:
   M /trunk/src/xml/util-serialize-io-xml.adb
   M /trunk/src/xml/util-serialize-io-xml.ads

Add XML serialization

------------------------------------------------------------------------
r223 | Stephane.Carrez | 2011-04-14 23:26:58 +0200 (Thu, 14 Apr 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-stacks.adb
   M /trunk/src/util-stacks.ads
   M /trunk/src/xml/util-serialize-io-xml.adb
   M /trunk/src/xml/util-serialize-io-xml.ads

Fix de-serialization of XML attributes
Cleanup XML implementation

------------------------------------------------------------------------
r222 | Stephane.Carrez | 2011-04-13 23:24:20 +0200 (Wed, 13 Apr 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads

Set the context after creating a new record in the vector mapper

------------------------------------------------------------------------
r221 | Stephane.Carrez | 2011-04-13 23:23:19 +0200 (Wed, 13 Apr 2011) | 4 lines
Changed paths:
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Distinguish an XML attribute from an XML entity value
- add a boolean Attribute to Set_Member to distinguish XML attribute/entity setting
- attribute mapping @XXX indicates an XML attribute

------------------------------------------------------------------------
r220 | Stephane.Carrez | 2011-04-10 18:26:28 +0200 (Sun, 10 Apr 2011) | 1 line
Changed paths:
   M /trunk/samples/mapping.adb
   M /trunk/samples/xmlrd.adb

Update examples
------------------------------------------------------------------------
r219 | Stephane.Carrez | 2011-04-10 18:25:07 +0200 (Sun, 10 Apr 2011) | 1 line
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads
   M /trunk/src/xml/util-serialize-io-xml.adb

Update and fix XML deserialization
------------------------------------------------------------------------
r218 | Stephane.Carrez | 2011-04-09 12:32:45 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   A /trunk/samples/xmlrd.adb

New example that deserializes an XML file in some Ada records

------------------------------------------------------------------------
r217 | Stephane.Carrez | 2011-04-09 12:31:52 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   M /trunk/samples/mapping.ads

Provide default values to some fields

------------------------------------------------------------------------
r216 | Stephane.Carrez | 2011-04-09 12:31:23 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   A /trunk/samples/multipro_refs.adb
   M /trunk/samples.gpr

Multi-thread example that shows issues if a reference counter copy is not thread safe

------------------------------------------------------------------------
r215 | Stephane.Carrez | 2011-04-09 12:29:32 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in
   M /trunk/util.gpr.in

Update configure to build the XML sources if XML Ada is available

------------------------------------------------------------------------
r214 | Stephane.Carrez | 2011-04-09 12:28:45 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   A /trunk/src/xml
   A /trunk/src/xml/util-serialize-io-xml.adb
   A /trunk/src/xml/util-serialize-io-xml.ads

Add XML deserialization support

------------------------------------------------------------------------
r213 | Stephane.Carrez | 2011-04-09 12:28:08 +0200 (Sat, 09 Apr 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Refactor the mapper/mapping implementation
- represent the mappings as a tree of Mapper objects

------------------------------------------------------------------------
r212 | Stephane.Carrez | 2011-04-09 12:27:04 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads

Add function Is_Eof

------------------------------------------------------------------------
r211 | Stephane.Carrez | 2011-04-09 06:09:42 +0200 (Sat, 09 Apr 2011) | 2 lines
Changed paths:
   A /trunk/src/util-concurrent-copies.adb
   A /trunk/src/util-concurrent-copies.ads

A protected type to implement a thread-safe object copy

------------------------------------------------------------------------
r210 | Stephane.Carrez | 2011-04-04 21:08:59 +0200 (Mon, 04 Apr 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-concurrent-tests.ads

Add unit test for Util.Concurrent.Copies

------------------------------------------------------------------------
r209 | Stephane.Carrez | 2011-04-03 22:43:43 +0200 (Sun, 03 Apr 2011) | 2 lines
Changed paths:
   A /trunk/src/util-refs.adb
   A /trunk/src/util-refs.ads

Support for reference countings

------------------------------------------------------------------------
r208 | Stephane.Carrez | 2011-03-30 22:54:58 +0200 (Wed, 30 Mar 2011) | 2 lines
Changed paths:
   A /trunk/src/util-beans-objects-to_access.adb
   A /trunk/src/util-beans-objects-to_access.ads

Utility generic package for access type conversion

------------------------------------------------------------------------
r207 | Stephane.Carrez | 2011-03-30 22:53:43 +0200 (Wed, 30 Mar 2011) | 2 lines
Changed paths:
   M /trunk/samples/encodes.adb
   M /trunk/samples/escape.adb
   M /trunk/samples/mapping.adb

Fix compilation warnings

------------------------------------------------------------------------
r206 | Stephane.Carrez | 2011-03-30 22:45:38 +0200 (Wed, 30 Mar 2011) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/testutil.gpr
   M /trunk/util.gpr.in

Move the obj/ali files in a specific directory for 'util' and for 'testutil' libraries

------------------------------------------------------------------------
r205 | Stephane.Carrez | 2011-03-30 22:44:29 +0200 (Wed, 30 Mar 2011) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Add a Get_Properties function to get the test configuration properties

------------------------------------------------------------------------
r204 | Stephane.Carrez | 2011-03-30 22:41:01 +0200 (Wed, 30 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-log-appenders.adb
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-properties.adb
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-streams.adb

Fix compilation warnings

------------------------------------------------------------------------
r203 | Stephane.Carrez | 2011-03-23 23:46:50 +0100 (Wed, 23 Mar 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-log-tests.adb

Perf measurement of Util.Measure.Report overhead

------------------------------------------------------------------------
r202 | Stephane.Carrez | 2011-03-23 23:46:17 +0100 (Wed, 23 Mar 2011) | 3 lines
Changed paths:
   M /trunk/src/util-measures.adb
   M /trunk/src/util-measures.ads

Write the report in a Print_Stream
Add the start/end date representing the period of time when the measure was made

------------------------------------------------------------------------
r201 | Stephane.Carrez | 2011-03-23 23:44:31 +0100 (Wed, 23 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-texts.adb
   M /trunk/src/util-streams-texts.ads

Add Write procedure to format and write a date in the stream

------------------------------------------------------------------------
r200 | Stephane.Carrez | 2011-03-20 17:40:13 +0100 (Sun, 20 Mar 2011) | 2 lines
Changed paths:
   A /trunk/src/util-beans-basic-lists.adb
   A /trunk/src/util-beans-basic-lists.ads

New generic package Util.Beans.Basic.Lists to help in implementing the List_Bean interface

------------------------------------------------------------------------
r199 | Stephane.Carrez | 2011-03-13 17:32:48 +0100 (Sun, 13 Mar 2011) | 1 line
Changed paths:
   M /trunk/src/util-log-loggers.adb

Optimize Get_Logger_Property to avoid to raise an exception
------------------------------------------------------------------------
r198 | Stephane.Carrez | 2011-03-11 22:54:26 +0100 (Fri, 11 Mar 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-properties-tests.ads

Add unit test for load property + filter + strip

------------------------------------------------------------------------
r197 | Stephane.Carrez | 2011-03-11 22:54:08 +0100 (Fri, 11 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-properties.adb
   M /trunk/src/util-properties.ads

Add support to load, filter and strip a prefix on property name

------------------------------------------------------------------------
r196 | Stephane.Carrez | 2011-03-11 22:37:34 +0100 (Fri, 11 Mar 2011) | 3 lines
Changed paths:
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-properties-tests.ads
   M /trunk/src/util-properties.adb
   M /trunk/src/util-properties.ads

Add a Strip option to the property copy
Add a unit test for property copy

------------------------------------------------------------------------
r195 | Stephane.Carrez | 2011-03-11 22:36:55 +0100 (Fri, 11 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb

When deleting the appender, take into account the fact that the same appender can be registered for several names

------------------------------------------------------------------------
r194 | Stephane.Carrez | 2011-03-06 23:14:42 +0100 (Sun, 06 Mar 2011) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Add Get_uuid function to generate some unique string
Add Assert_Equals to compare two dates

------------------------------------------------------------------------
r193 | Stephane.Carrez | 2011-03-06 23:12:41 +0100 (Sun, 06 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads

Add a helper Image function to get an integer image without the first space character

------------------------------------------------------------------------
r192 | Stephane.Carrez | 2011-03-04 17:33:34 +0100 (Fri, 04 Mar 2011) | 3 lines
Changed paths:
   M /trunk/Makefile.in
   A /trunk/src/util.gpb

Integrate the SVN revision in util.ads
Add make command to update the revision

------------------------------------------------------------------------
r191 | Stephane.Carrez | 2011-03-04 17:32:03 +0100 (Fri, 04 Mar 2011) | 3 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util.ads

Make sure we have an appender when reporting an error for the logger initialization
Add the SVN identification in root package

------------------------------------------------------------------------
r190 | Stephane.Carrez | 2011-03-04 15:12:19 +0100 (Fri, 04 Mar 2011) | 2 lines
Changed paths:
   M /trunk/regtests/util-log-tests.adb
   M /trunk/regtests/util-log-tests.ads

Add unit tests for log on multiple appenders

------------------------------------------------------------------------
r189 | Stephane.Carrez | 2011-03-04 15:11:44 +0100 (Fri, 04 Mar 2011) | 6 lines
Changed paths:
   M /trunk/src/util-log-appenders.adb
   M /trunk/src/util-log-appenders.ads
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads
   M /trunk/src/util-log.adb
   M /trunk/src/util-log.ads

Log improvements
- Define a List_Appender to log on multiple appenders
- Add a level filter on each appender
- Add support to customize the log output
- Recognize the log4j.rootCategory to configure the default log level and appenders

------------------------------------------------------------------------
r188 | Stephane.Carrez | 2011-03-03 11:41:07 +0100 (Thu, 03 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads

Add support for end of file detection

------------------------------------------------------------------------
r187 | Stephane.Carrez | 2011-03-03 11:40:33 +0100 (Thu, 03 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads

When initializing the logs, catch the Name_Error exception and report a warning in the logs

------------------------------------------------------------------------
r186 | Stephane.Carrez | 2011-03-02 00:04:41 +0100 (Wed, 02 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-texts-transforms.adb

Take into account some punctuation characters and space for capitalize

------------------------------------------------------------------------
r185 | Stephane.Carrez | 2011-03-01 22:00:26 +0100 (Tue, 01 Mar 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb

Fix compilation

------------------------------------------------------------------------
r184 | Stephane.Carrez | 2011-02-26 23:19:39 +0100 (Sat, 26 Feb 2011) | 2 lines
Changed paths:
   A /trunk/src/util-beans-objects-vectors.ads

Define a vectors of objects

------------------------------------------------------------------------
r183 | Stephane.Carrez | 2011-02-10 23:32:33 +0100 (Thu, 10 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Add a proxy for the vector mapper

------------------------------------------------------------------------
r182 | Stephane.Carrez | 2011-02-10 21:10:34 +0100 (Thu, 10 Feb 2011) | 2 lines
Changed paths:
   M /trunk/samples/json.adb
   M /trunk/samples/mapping.adb
   M /trunk/samples/mapping.ads

Add another mapping example

------------------------------------------------------------------------
r181 | Stephane.Carrez | 2011-02-10 21:09:48 +0100 (Thu, 10 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads
   M /trunk/src/util-serialize-mappers.ads

Cleanup and prepare for sub-mappings

------------------------------------------------------------------------
r180 | Stephane.Carrez | 2011-02-10 17:56:01 +0100 (Thu, 10 Feb 2011) | 1 line
Changed paths:
   M /trunk/samples/mapping.adb

Update samples with new mapper
------------------------------------------------------------------------
r179 | Stephane.Carrez | 2011-02-10 17:52:38 +0100 (Thu, 10 Feb 2011) | 6 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Better implementation to get access to the target element
- Let the mapper decide how to retrieve the target element
- Define a mapper proxy for record embedded in other records
- Define a procedure type that allows to easily define proxy procedures
  to get access to embedded records

------------------------------------------------------------------------
r178 | Stephane.Carrez | 2011-02-08 23:21:42 +0100 (Tue, 08 Feb 2011) | 1 line
Changed paths:
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads

Cleanup, document and fix warnings
------------------------------------------------------------------------
r177 | Stephane.Carrez | 2011-02-08 23:06:54 +0100 (Tue, 08 Feb 2011) | 1 line
Changed paths:
   M /trunk/src/util-serialize-io-json.ads
   M /trunk/src/util-serialize-io.ads

Update documentation
------------------------------------------------------------------------
r176 | Stephane.Carrez | 2011-02-06 23:55:50 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/config.gpr

Enable --gc-sections support when optimizing

------------------------------------------------------------------------
r175 | Stephane.Carrez | 2011-02-06 23:54:55 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/samples/multipro.adb

Increase counter value

------------------------------------------------------------------------
r174 | Stephane.Carrez | 2011-02-06 23:53:53 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/samples/json.adb
   M /trunk/samples/mapping.adb
   M /trunk/samples/mapping.ads

Serialize the Person and list of persons into a JSON output stream

------------------------------------------------------------------------
r173 | Stephane.Carrez | 2011-02-06 23:52:10 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io-json.ads

Implement stream to write objects in JSON format

------------------------------------------------------------------------
r172 | Stephane.Carrez | 2011-02-06 23:50:52 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-strings-transforms.ads

Add the To_Hex procedure

------------------------------------------------------------------------
r171 | Stephane.Carrez | 2011-02-06 23:49:41 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-texts.adb
   M /trunk/src/util-streams-texts.ads

Add utility procedures to write on the buffered stream

------------------------------------------------------------------------
r170 | Stephane.Carrez | 2011-02-06 23:29:08 +0100 (Sun, 06 Feb 2011) | 3 lines
Changed paths:
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads
   M /trunk/src/util-texts-transforms.adb
   M /trunk/src/util-texts-transforms.ads

Add To_Hex procedure to write a character in hexadecimal using standard \uXXXX notation.
Add unit test for To_Hex

------------------------------------------------------------------------
r169 | Stephane.Carrez | 2011-02-06 22:42:09 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads
   M /trunk/src/util-serialize-mappers-vector_mapper.adb
   M /trunk/src/util-serialize-mappers-vector_mapper.ads

Add a Write operation to serialize the vector or the record

------------------------------------------------------------------------
r168 | Stephane.Carrez | 2011-02-06 22:40:54 +0100 (Sun, 06 Feb 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads

Use the Util.Stacks generic package
Add an Output_Stream interface to serialize the data

------------------------------------------------------------------------
r167 | Stephane.Carrez | 2011-02-06 22:33:57 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-texts.adb
   M /trunk/src/util-streams-texts.ads

Add a To_String helper function to get the buffer as a string

------------------------------------------------------------------------
r166 | Stephane.Carrez | 2011-02-06 21:05:07 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   M /trunk/src/util-measures.ads

Avoid private with which fails when compiling with -O2

------------------------------------------------------------------------
r165 | Stephane.Carrez | 2011-02-06 21:00:48 +0100 (Sun, 06 Feb 2011) | 2 lines
Changed paths:
   A /trunk/src/util-stacks.adb
   A /trunk/src/util-stacks.ads

Simple stack for Util.Serialize.IO implementation

------------------------------------------------------------------------
r157 | Stephane.Carrez | 2011-01-30 14:09:02 +0100 (Sun, 30 Jan 2011) | 2 lines
Changed paths:
   A /trunk/samples/multipro.adb
   M /trunk/samples.gpr

New example to show the concurrent counter issue on multi-processor environment

------------------------------------------------------------------------
r156 | Stephane.Carrez | 2011-01-30 12:01:53 +0100 (Sun, 30 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-contexts.adb

Use the atomic increment and get counter operation instead of a RW lock

------------------------------------------------------------------------
r155 | Stephane.Carrez | 2011-01-30 12:00:43 +0100 (Sun, 30 Jan 2011) | 4 lines
Changed paths:
   M /trunk/src/asm-none/util-concurrent-counters.adb
   M /trunk/src/asm-none/util-concurrent-counters.ads
   M /trunk/src/asm-x86/util-concurrent-counters.adb
   M /trunk/src/asm-x86/util-concurrent-counters.ads

Make sure the asm implementation is always inline
Add an Increment procedure that returns the previous counter value
(atomic increment and get previous value operation)

------------------------------------------------------------------------
r154 | Stephane.Carrez | 2011-01-25 23:56:46 +0100 (Tue, 25 Jan 2011) | 2 lines
Changed paths:
   A /trunk/regtests/util-serialize-io-json-tests.adb
   A /trunk/regtests/util-serialize-io-json-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add simple unit test for JSON parser

------------------------------------------------------------------------
r153 | Stephane.Carrez | 2011-01-25 23:55:20 +0100 (Tue, 25 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb

Fix parsing of empty JSON arrays

------------------------------------------------------------------------
r152 | Stephane.Carrez | 2011-01-25 23:24:35 +0100 (Tue, 25 Jan 2011) | 2 lines
Changed paths:
   D /trunk/src/util-serialize-streamers.ads

Remove unused file

------------------------------------------------------------------------
r151 | Stephane.Carrez | 2011-01-25 23:23:48 +0100 (Tue, 25 Jan 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-contexts.adb
   M /trunk/src/util-serialize-contexts.ads
   M /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Implement Set_Member in the Mapper object
Add a Parse_String on the root parser to parse a single string

------------------------------------------------------------------------
r150 | Stephane.Carrez | 2011-01-25 23:21:41 +0100 (Tue, 25 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads

Add Initialize procedure to buid a buffer initialized with a string

------------------------------------------------------------------------
r149 | Stephane.Carrez | 2011-01-24 23:58:35 +0100 (Mon, 24 Jan 2011) | 2 lines
Changed paths:
   M /trunk/samples.gpr

Build the new json example

------------------------------------------------------------------------
r148 | Stephane.Carrez | 2011-01-24 23:57:44 +0100 (Mon, 24 Jan 2011) | 2 lines
Changed paths:
   A /trunk/samples/json.adb
   M /trunk/samples/mapping.adb
   M /trunk/samples/mapping.ads

JSON parser and mapping example

------------------------------------------------------------------------
r147 | Stephane.Carrez | 2011-01-24 23:52:36 +0100 (Mon, 24 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads

Fix streams buffer

------------------------------------------------------------------------
r146 | Stephane.Carrez | 2011-01-24 23:51:51 +0100 (Mon, 24 Jan 2011) | 4 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io-json.ads

JSON parser
- add parsing of arrays
- fix parsing of objects, numbers

------------------------------------------------------------------------
r145 | Stephane.Carrez | 2011-01-24 23:50:15 +0100 (Mon, 24 Jan 2011) | 3 lines
Changed paths:
   A /trunk/src/util-serialize-io.adb
   M /trunk/src/util-serialize-io.ads

Implement a stack of mappers (pushed on Start_Object, popped on Finish_Object)
Add Start_Array, Finish_Array for json arrays

------------------------------------------------------------------------
r144 | Stephane.Carrez | 2011-01-24 23:46:33 +0100 (Mon, 24 Jan 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-mappers.adb
   M /trunk/src/util-serialize-mappers.ads

Finalize the mapper (and clear the storage allocated)
Provide a Start_Object/Finish_Object called when a new record is started

------------------------------------------------------------------------
r143 | Stephane.Carrez | 2011-01-24 23:44:57 +0100 (Mon, 24 Jan 2011) | 2 lines
Changed paths:
   A /trunk/src/util-serialize-mappers-vector_mapper.adb
   A /trunk/src/util-serialize-mappers-vector_mapper.ads

Generic package for the mapping of Vector of records

------------------------------------------------------------------------
r142 | Stephane.Carrez | 2011-01-24 23:43:18 +0100 (Mon, 24 Jan 2011) | 3 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads

Change Set_Context to get the element access (instead of a data context object)
Add a Copy procedure to copy the mappings and change the process procedure

------------------------------------------------------------------------
r141 | Stephane.Carrez | 2011-01-21 23:32:18 +0100 (Fri, 21 Jan 2011) | 4 lines
Changed paths:
   M /trunk/src/util-serialize-mappers-record_mapper.adb
   M /trunk/src/util-serialize-mappers-record_mapper.ads

Allow customization of the method to retrieve the target object
- Add the Bind procedure to specify the process to obtain the target object
- Record the process procedure in the attribute mapping rule

------------------------------------------------------------------------
r140 | Stephane.Carrez | 2011-01-16 19:44:20 +0100 (Sun, 16 Jan 2011) | 2 lines
Changed paths:
   A /trunk/src/util-serialize-mappers-record_mapper.adb
   A /trunk/src/util-serialize-mappers-record_mapper.ads

Generic package for the creation of record mappers

------------------------------------------------------------------------
r139 | Stephane.Carrez | 2011-01-16 19:41:40 +0100 (Sun, 16 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-mappers.ads

New type Mapping for the representation of a single mapping rule

------------------------------------------------------------------------
r138 | Stephane.Carrez | 2011-01-16 19:39:31 +0100 (Sun, 16 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io-json.ads

Update implementation of JSON reader with changes in serialization framework

------------------------------------------------------------------------
r137 | Stephane.Carrez | 2011-01-16 19:11:56 +0100 (Sun, 16 Jan 2011) | 2 lines
Changed paths:
   A /trunk/src/util-serialize-contexts.adb
   A /trunk/src/util-serialize-contexts.ads

Defines a context allowing to store data context for mappers to retrieve their object.

------------------------------------------------------------------------
r136 | Stephane.Carrez | 2011-01-16 19:01:42 +0100 (Sun, 16 Jan 2011) | 2 lines
Changed paths:
   A /trunk/samples/mapping.adb
   A /trunk/samples/mapping.ads

Example of serialization mapping

------------------------------------------------------------------------
r135 | Stephane.Carrez | 2011-01-12 21:24:21 +0100 (Wed, 12 Jan 2011) | 2 lines
Changed paths:
   A /trunk/src/util-serialize-mappers.adb

Add operations to specify the mapping

------------------------------------------------------------------------
r134 | Stephane.Carrez | 2011-01-11 23:46:47 +0100 (Tue, 11 Jan 2011) | 2 lines
Changed paths:
   M /trunk/src/util-serialize-io-json.adb
   M /trunk/src/util-serialize-io.ads
   M /trunk/src/util-serialize-mappers.ads
   M /trunk/src/util-serialize-streamers.ads

Add operations to specify the mapping

------------------------------------------------------------------------
r133 | Stephane.Carrez | 2011-01-11 21:49:54 +0100 (Tue, 11 Jan 2011) | 6 lines
Changed paths:
   A /trunk/src/util-serialize-io-json.adb
   A /trunk/src/util-serialize-io-json.ads
   A /trunk/src/util-serialize-io.ads
   A /trunk/src/util-serialize-mappers.ads
   A /trunk/src/util-serialize-streamers.ads
   A /trunk/src/util-serialize.ads

Serialize framework
- defines the root package
- defines the mapper for loading values into specific objects
- defines the serialization streamer
- defines a JSON reader

------------------------------------------------------------------------
r132 | Stephane.Carrez | 2011-01-08 18:51:45 +0100 (Sat, 08 Jan 2011) | 5 lines
Changed paths:
   A /trunk/src/util-beans-objects-maps.ads

Integrate the EL.Objects, EL.Beans framework from Ada EL
(See http://code.google.com/p/ada-el/)
- Integrate the object map


------------------------------------------------------------------------
r131 | Stephane.Carrez | 2011-01-08 17:57:10 +0100 (Sat, 08 Jan 2011) | 4 lines
Changed paths:
   A /trunk/regtests/util-beans-objects-discrete_tests.adb
   A /trunk/regtests/util-beans-objects-discrete_tests.ads
   A /trunk/regtests/util-beans-objects-discretes.adb
   A /trunk/regtests/util-beans-objects-discretes.ads
   M /trunk/regtests/util-testsuite.adb

Integrate the EL.Objects, EL.Beans framework from Ada EL
(See http://code.google.com/p/ada-el/)
- Integrate the unit tests from Ada EL

------------------------------------------------------------------------
r130 | Stephane.Carrez | 2011-01-08 17:56:21 +0100 (Sat, 08 Jan 2011) | 6 lines
Changed paths:
   A /trunk/src/util-beans-objects-time.adb
   A /trunk/src/util-beans-objects-time.ads

Integrate the EL.Objects, EL.Beans framework from Ada EL
(See http://code.google.com/p/ada-el/)
- Rename EL.Objects into Util.Beans.Objects
- Rename EL.Beans into Util.Beans.Basic


------------------------------------------------------------------------
r129 | Stephane.Carrez | 2011-01-08 17:32:16 +0100 (Sat, 08 Jan 2011) | 9 lines
Changed paths:
   A /trunk/src/util-beans-basic.ads
   A /trunk/src/util-beans-factory.adb
   A /trunk/src/util-beans-factory.ads
   A /trunk/src/util-beans-methods.ads
   A /trunk/src/util-beans-objects-enums.adb
   A /trunk/src/util-beans-objects-enums.ads
   A /trunk/src/util-beans-objects-hash.adb
   A /trunk/src/util-beans-objects-hash.ads
   A /trunk/src/util-beans-objects.adb
   A /trunk/src/util-beans-objects.ads
   A /trunk/src/util-beans.ads

Integrate the EL.Objects, EL.Beans framework from Ada EL
(See http://code.google.com/p/ada-el/)
- Rename EL.Objects into Util.Beans.Objects
- Rename EL.Beans into Util.Beans.Basic

These packages don't rely on the EL expressions.
They allow the creation of data types that can store
any kind of data

------------------------------------------------------------------------
r128 | Stephane.Carrez | 2010-12-27 16:16:43 +0100 (Mon, 27 Dec 2010) | 1 line
Changed paths:
   M /trunk/lib

Ignore ali files
------------------------------------------------------------------------
r127 | Stephane.Carrez | 2010-12-27 16:14:24 +0100 (Mon, 27 Dec 2010) | 2 lines
Changed paths:
   A /trunk/lib

Add lib directory in svn

------------------------------------------------------------------------
r126 | Stephane.Carrez | 2010-12-26 20:02:58 +0100 (Sun, 26 Dec 2010) | 2 lines
Changed paths:
   M /trunk/util.gpr.in

Remove dependency with xmlada

------------------------------------------------------------------------
r125 | Stephane.Carrez | 2010-12-26 19:51:28 +0100 (Sun, 26 Dec 2010) | 2 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-events-channels-tests.adb
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-locales-tests.adb
   M /trunk/regtests/util-log-tests.adb
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-streams-buffered-tests.adb
   M /trunk/regtests/util-streams-files-tests.adb
   M /trunk/regtests/util-strings-tests.adb

Update the tests to use Util.Test_Caller

------------------------------------------------------------------------
r124 | Stephane.Carrez | 2010-12-26 19:40:08 +0100 (Sun, 26 Dec 2010) | 2 lines
Changed paths:
   A /trunk/testutil/util-test_caller.adb
   A /trunk/testutil/util-test_caller.ads

Provide a generic Util.Test_Caller package to simplify the registration of unit tests

------------------------------------------------------------------------
r123 | Stephane.Carrez | 2010-12-26 17:00:23 +0100 (Sun, 26 Dec 2010) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Set version to 1.2.0

------------------------------------------------------------------------
r115 | Stephane.Carrez | 2010-12-05 10:09:18 +0100 (Sun, 05 Dec 2010) | 2 lines
Changed paths:
   M /trunk/src/util-events.ads

Declare the Event_Listener interface

------------------------------------------------------------------------
r114 | Stephane.Carrez | 2010-11-15 00:12:44 +0100 (Mon, 15 Nov 2010) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.ads
   M /trunk/src/util-streams-texts.ads
   M /trunk/src/util-streams.ads

Add pragma Preelaborate for some packages

------------------------------------------------------------------------
r113 | Stephane.Carrez | 2010-11-14 15:37:59 +0100 (Sun, 14 Nov 2010) | 4 lines
Changed paths:
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

Add some performance measurement on hashed map
(string -> string, String_Ref -> String_Ref,
 name_Access -> Name_Access, Unbounded_String -> Unboundd_String)

------------------------------------------------------------------------
r112 | Stephane.Carrez | 2010-11-14 15:36:55 +0100 (Sun, 14 Nov 2010) | 2 lines
Changed paths:
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads

New procedure To_Unbounded_String, Hash, Equivalent_Keys for String_Ref

------------------------------------------------------------------------
r111 | Stephane.Carrez | 2010-11-12 15:28:35 +0100 (Fri, 12 Nov 2010) | 2 lines
Changed paths:
   M /trunk/src/util-streams-buffered.ads

Finalize procedure must be overriding

------------------------------------------------------------------------
r110 | Stephane.Carrez | 2010-11-12 11:43:48 +0100 (Fri, 12 Nov 2010) | 3 lines
Changed paths:
   A /trunk/src/util-strings-maps.ads
   M /trunk/src/util-strings.ads

Provide a String -> String hashed map
Rename the String_Map into String_Access_Map

------------------------------------------------------------------------
r109 | Stephane.Carrez | 2010-11-12 11:42:15 +0100 (Fri, 12 Nov 2010) | 2 lines
Changed paths:
   M /trunk/src/util-properties.ads

Adjust and Finalize are overriding

------------------------------------------------------------------------
r108 | Stephane.Carrez | 2010-11-10 14:41:01 +0100 (Wed, 10 Nov 2010) | 3 lines
Changed paths:
   A /trunk/src/util-streams-texts.adb
   A /trunk/src/util-streams-texts.ads

Add Print_Stream which provides helper procedures to write a text stream
(a la Java PrintStream)

------------------------------------------------------------------------
r107 | Stephane.Carrez | 2010-11-10 14:27:50 +0100 (Wed, 10 Nov 2010) | 3 lines
Changed paths:
   M /trunk/src/util-streams-buffered.adb
   M /trunk/src/util-streams-buffered.ads

New procedure Get_Buffer to give access to the buffer
New procedure Read to read the stream into an Ada Unbounded String

------------------------------------------------------------------------
r106 | Stephane.Carrez | 2010-11-10 14:26:11 +0100 (Wed, 10 Nov 2010) | 2 lines
Changed paths:
   A /trunk/src/util-streams.adb
   M /trunk/src/util-streams.ads

New procedure Copy to copy an input stream to an output stream

------------------------------------------------------------------------
r105 | Stephane.Carrez | 2010-11-09 17:38:28 +0100 (Tue, 09 Nov 2010) | 2 lines
Changed paths:
   A /trunk/regtests/util-streams-files-tests.adb
   A /trunk/regtests/util-streams-files-tests.ads
   M /trunk/regtests/util-testsuite.adb

Simple unit tests for file streams

------------------------------------------------------------------------
r104 | Stephane.Carrez | 2010-11-09 17:37:59 +0100 (Tue, 09 Nov 2010) | 3 lines
Changed paths:
   A /trunk/src/util-streams-files.adb
   A /trunk/src/util-streams-files.ads

Implement file streams using Ada.Streams.Stream_IO
(provide a direct access, this is just an adapter)

------------------------------------------------------------------------
r103 | Stephane.Carrez | 2010-11-09 17:14:34 +0100 (Tue, 09 Nov 2010) | 2 lines
Changed paths:
   A /trunk/regtests/util-streams-buffered-tests.adb
   A /trunk/regtests/util-streams-buffered-tests.ads
   M /trunk/regtests/util-testsuite.adb

Unit tests for buffered streams

------------------------------------------------------------------------
r102 | Stephane.Carrez | 2010-11-09 17:01:35 +0100 (Tue, 09 Nov 2010) | 3 lines
Changed paths:
   A /trunk/testutil/util-assertions.adb
   A /trunk/testutil/util-assertions.ads
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Move the Assert_Equals function to the Util.Assertions package and make it a generic function.
Provide a Assert_Equals for integer and character using the above.

------------------------------------------------------------------------
r101 | Stephane.Carrez | 2010-11-09 16:59:59 +0100 (Tue, 09 Nov 2010) | 2 lines
Changed paths:
   A /trunk/src/util-streams-buffered.adb
   A /trunk/src/util-streams-buffered.ads

Buffered input and output streams

------------------------------------------------------------------------
r100 | Stephane.Carrez | 2010-11-09 16:46:29 +0100 (Tue, 09 Nov 2010) | 2 lines
Changed paths:
   A /trunk/src/util-streams.ads

Input and output stream interfaces (a la java.io.*Stream)

------------------------------------------------------------------------
r99 | Stephane.Carrez | 2010-11-04 21:21:50 +0100 (Thu, 04 Nov 2010) | 4 lines
Changed paths:
   M /trunk/regtests/util-encoders-tests.adb
   M /trunk/regtests/util-encoders-tests.ads
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads
   M /trunk/samples/escape.adb
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads

- Add Index and Rindex string operation (3 times faster than Ada.Strings.Index)
- Remove String_Access and use the Ada definition instead
- Add unit tests for the above

------------------------------------------------------------------------
r98 | Stephane.Carrez | 2010-10-03 10:12:54 +0200 (Sun, 03 Oct 2010) | 3 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Initializes the logger configuration from the test properties
Fix test support to compare files in case the expect file does not exist

------------------------------------------------------------------------
r97 | Stephane.Carrez | 2010-10-03 10:11:25 +0200 (Sun, 03 Oct 2010) | 4 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb

When the logger configuration is initialized from a list of properties,
re-initialize the existing loggers so that they take into account
the new configuration

------------------------------------------------------------------------
r96 | Stephane.Carrez | 2010-09-28 20:57:52 +0200 (Tue, 28 Sep 2010) | 2 lines
Changed paths:
   M /trunk/src/asm-none/util-concurrent-counters.ads
   M /trunk/src/asm-x86/util-concurrent-counters.ads
   M /trunk/src/util-concurrent-locks.ads
   M /trunk/src/util-concurrent.ads
   M /trunk/src/util-encoders-base16.ads
   M /trunk/src/util-encoders-base64.ads
   M /trunk/src/util-encoders.ads
   M /trunk/src/util-log.ads
   M /trunk/src/util-strings-transforms.ads
   M /trunk/src/util-strings.ads
   M /trunk/src/util-texts-transforms.ads
   M /trunk/src/util-texts.ads
   M /trunk/src/util.ads

Add pragma Preelaborate or Pure

------------------------------------------------------------------------
r95 | Stephane.Carrez | 2010-09-03 23:18:10 +0200 (Fri, 03 Sep 2010) | 2 lines
Changed paths:
   A /trunk/regtests/util-encoders-tests.adb
   A /trunk/regtests/util-encoders-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add unit tests for the encoders

------------------------------------------------------------------------
r94 | Stephane.Carrez | 2010-09-03 23:12:13 +0200 (Fri, 03 Sep 2010) | 2 lines
Changed paths:
   M /trunk/src/util-encoders-base64.ads

Fix the base64 alphabet

------------------------------------------------------------------------
r93 | Stephane.Carrez | 2010-09-03 23:11:25 +0200 (Fri, 03 Sep 2010) | 2 lines
Changed paths:
   A /trunk/samples/encodes.adb
   M /trunk/samples.gpr

Encodes example

------------------------------------------------------------------------
r92 | Stephane.Carrez | 2010-09-03 22:54:31 +0200 (Fri, 03 Sep 2010) | 4 lines
Changed paths:
   A /trunk/src/util-encoders-base16.adb
   A /trunk/src/util-encoders-base16.ads
   A /trunk/src/util-encoders-base64.adb
   A /trunk/src/util-encoders-base64.ads
   A /trunk/src/util-encoders.adb
   A /trunk/src/util-encoders.ads

Add support for stream encoders and decoders
Add a Base64 encoder/decoder
Add a Base16 (hex) encoder/decoder

------------------------------------------------------------------------
r91 | Stephane.Carrez | 2010-08-27 22:05:56 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   D /trunk/config.status

Update makefile

------------------------------------------------------------------------
r90 | Stephane.Carrez | 2010-08-27 22:01:19 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   M /trunk/configure

Update configure script

------------------------------------------------------------------------
r89 | Stephane.Carrez | 2010-08-27 22:00:08 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   M /trunk/configure.in

Update version number

------------------------------------------------------------------------
r88 | Stephane.Carrez | 2010-08-27 21:59:42 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   A /trunk/samples/bundles.adb
   M /trunk/samples/log4j.properties
   A /trunk/samples/messages.properties
   A /trunk/samples/messages_fr.properties
   M /trunk/samples.gpr

Add example for resource bundles

------------------------------------------------------------------------
r87 | Stephane.Carrez | 2010-08-27 21:58:01 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads

Fix formatting of log messages

------------------------------------------------------------------------
r86 | Stephane.Carrez | 2010-08-27 21:57:29 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-properties-bundles.ads

Fix resolution of default property file for bundles

------------------------------------------------------------------------
r85 | Stephane.Carrez | 2010-08-27 21:52:57 +0200 (Fri, 27 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads
   A /trunk/src/util-texts-formats.adb
   A /trunk/src/util-texts-formats.ads

Move the Formats generic package to Util.Texts.Formats

------------------------------------------------------------------------
r84 | Stephane.Carrez | 2010-08-24 00:07:12 +0200 (Tue, 24 Aug 2010) | 2 lines
Changed paths:
   A /trunk/samples/escape.adb

Add simple example for text transformations

------------------------------------------------------------------------
r83 | Stephane.Carrez | 2010-08-24 00:06:32 +0200 (Tue, 24 Aug 2010) | 2 lines
Changed paths:
   M /trunk/testutil/util-tests.adb
   M /trunk/testutil/util-tests.ads

Update the Assert_Equals methods to avoid compilation warnings with the new Aunit library

------------------------------------------------------------------------
r82 | Stephane.Carrez | 2010-08-24 00:05:53 +0200 (Tue, 24 Aug 2010) | 3 lines
Changed paths:
   M /trunk/regtests/util-concurrent-tests.adb
   M /trunk/regtests/util-events-channels-tests.adb
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-locales-tests.adb
   M /trunk/regtests/util-log-tests.adb
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

Fix compilation warnings due to the new AUnit library
Add test for Escape_Xml

------------------------------------------------------------------------
r81 | Stephane.Carrez | 2010-08-24 00:05:03 +0200 (Tue, 24 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-properties-bundles.adb

Fix compilation with gcc 4.4.1

------------------------------------------------------------------------
r80 | Stephane.Carrez | 2010-08-24 00:03:52 +0200 (Tue, 24 Aug 2010) | 3 lines
Changed paths:
   D /trunk/src/util-strings-escapes.ads
   M /trunk/src/util-strings-transforms.ads
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads
   M /trunk/src/util-texts-transforms.adb
   M /trunk/src/util-texts-transforms.ads

Add Escape_Xml support
Remove old Escapes package

------------------------------------------------------------------------
r79 | Stephane.Carrez@gmail.com | 2010-08-21 21:26:11 +0200 (Sat, 21 Aug 2010) | 1 line
Changed paths:
   M /trunk
   A /trunk/config.gpr

Update build files
------------------------------------------------------------------------
r78 | Stephane.Carrez@gmail.com | 2010-08-14 17:33:26 +0200 (Sat, 14 Aug 2010) | 1 line
Changed paths:
   M /trunk/regtests/util-properties-bundles-tests.adb
   M /trunk/tests.gpr

Fix unit tests
------------------------------------------------------------------------
r77 | Stephane.Carrez@gmail.com | 2010-08-14 17:31:38 +0200 (Sat, 14 Aug 2010) | 1 line
Changed paths:
   M /trunk/regtests/util-strings-tests.adb
   M /trunk/regtests/util-strings-tests.ads

Add unit test for string capitalize, upper case, lower case
------------------------------------------------------------------------
r76 | Stephane.Carrez@gmail.com | 2010-08-14 17:30:25 +0200 (Sat, 14 Aug 2010) | 2 lines
Changed paths:
   A /trunk/src/util-strings-transforms.ads

Instantiate the generic text transformation for String and Unbounded_String

------------------------------------------------------------------------
r75 | Stephane.Carrez@gmail.com | 2010-08-14 17:28:15 +0200 (Sat, 14 Aug 2010) | 4 lines
Changed paths:
   A /trunk/src/util-texts-transforms.adb
   A /trunk/src/util-texts-transforms.ads
   A /trunk/src/util-texts.ads

Generic text transformation package
- capitalize, upper case, lower case conversion
- escape javascript

------------------------------------------------------------------------
r74 | Stephane.Carrez@gmail.com | 2010-08-11 15:40:13 +0200 (Wed, 11 Aug 2010) | 2 lines
Changed paths:
   D /trunk/regtests/util-tests.adb
   D /trunk/regtests/util-tests.ads
   A /trunk/testutil
   A /trunk/testutil/util-tests.adb
   A /trunk/testutil/util-tests.ads
   M /trunk/testutil.gpr

Move the test utility package to a special directory to build the testutil library.

------------------------------------------------------------------------
r73 | Stephane.Carrez@gmail.com | 2010-08-11 15:38:42 +0200 (Wed, 11 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-events-channels.ads

Interface for subscriber should be limited

------------------------------------------------------------------------
r72 | Stephane.Carrez@gmail.com | 2010-08-11 15:37:43 +0200 (Wed, 11 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb

Catch Name_Error exception in case the path that we construct is invalid
(the annoying Windows drive letter)
------------------------------------------------------------------------
r71 | Stephane.Carrez@gmail.com | 2010-08-11 15:36:15 +0200 (Wed, 11 Aug 2010) | 1 line
Changed paths:
   M /trunk/src/util-properties.adb

Fix copy of property manager
------------------------------------------------------------------------
r70 | Stephane.Carrez@gmail.com | 2010-08-03 20:51:48 +0200 (Tue, 03 Aug 2010) | 2 lines
Changed paths:
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-properties-hash.adb
   M /trunk/src/util-properties-hash.ads
   M /trunk/src/util-properties.adb
   M /trunk/src/util-properties.ads

Add an optional prefix parameter to Properties.Get_Names to return properties whose name starts with a given prefix.

------------------------------------------------------------------------
r69 | Stephane.Carrez@gmail.com | 2010-07-30 00:08:43 +0200 (Fri, 30 Jul 2010) | 1 line
Changed paths:
   M /trunk/src/util-properties-bundles.adb
   M /trunk/src/util-properties-bundles.ads

Declare Loader_Access type and fix initialization of bundle after the bundle is found in the cache
------------------------------------------------------------------------
r68 | Stephane.Carrez | 2010-07-28 22:17:03 +0200 (Wed, 28 Jul 2010) | 2 lines
Changed paths:
   A /trunk/regtests/util-strings-tests.adb
   A /trunk/regtests/util-strings-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add unit tests for string escape

------------------------------------------------------------------------
r67 | Stephane.Carrez | 2010-07-28 22:16:28 +0200 (Wed, 28 Jul 2010) | 5 lines
Changed paths:
   A /trunk/src/util-strings-escapes.ads
   M /trunk/src/util-strings.adb
   M /trunk/src/util-strings.ads

Add support to escape a string using various rules (Java, Javascript, Sql, XML)
- provide a generic implementation that can be used with a specific
  character type (Character, Wide_Character, ...) and a specific appender
- provide an instantiation for string and wide_wide_string

------------------------------------------------------------------------
r66 | Stephane.Carrez | 2010-07-26 23:16:43 +0200 (Mon, 26 Jul 2010) | 2 lines
Changed paths:
   A /trunk/regtests/util-locales-tests.adb
   A /trunk/regtests/util-locales-tests.ads
   M /trunk/regtests/util-testsuite.adb

Add tests for locales

------------------------------------------------------------------------
r65 | Stephane.Carrez | 2010-07-26 23:16:20 +0200 (Mon, 26 Jul 2010) | 2 lines
Changed paths:
   A /trunk/src/util-locales.adb
   A /trunk/src/util-locales.ads

Integrate the locale support

------------------------------------------------------------------------
r64 | Stephane.Carrez | 2010-07-25 19:52:30 +0200 (Sun, 25 Jul 2010) | 2 lines
Changed paths:
   A /trunk/regtests/bundles
   A /trunk/regtests/bundles/bundle.properties
   A /trunk/regtests/bundles/bundle_en_GB.properties
   A /trunk/regtests/bundles/bundle_fr.properties
   A /trunk/regtests/util-properties-bundles-tests.adb
   A /trunk/regtests/util-properties-bundles-tests.ads
   M /trunk/regtests/util-properties-tests.adb
   M /trunk/regtests/util-properties-tests.ads
   M /trunk/regtests/util-testsuite.adb

Update tests and add tests for bundles

------------------------------------------------------------------------
r63 | Stephane.Carrez | 2010-07-25 19:51:55 +0200 (Sun, 25 Jul 2010) | 2 lines
Changed paths:
   M /trunk/src/util-properties.ads

Update the Manager_Access to be class-wide access type

------------------------------------------------------------------------
r62 | Stephane.Carrez | 2010-07-25 19:48:22 +0200 (Sun, 25 Jul 2010) | 2 lines
Changed paths:
   M /trunk/src/util-strings.ads

Define a package to represent and use a set of string pointers

------------------------------------------------------------------------
r61 | Stephane.Carrez | 2010-07-25 19:47:22 +0200 (Sun, 25 Jul 2010) | 4 lines
Changed paths:
   D /trunk/src/util-properties-bundle.adb
   D /trunk/src/util-properties-bundle.ads
   A /trunk/src/util-properties-bundles.adb (from /trunk/src/util-properties-bundle.adb:60)
   A /trunk/src/util-properties-bundles.ads (from /trunk/src/util-properties-bundle.ads:60)

Rename package and finalize bundle implementation
- make the bundle read-only
- implement the Java localization rules to resolve properties

------------------------------------------------------------------------
r60 | Stephane.Carrez | 2010-07-25 19:45:32 +0200 (Sun, 25 Jul 2010) | 2 lines
Changed paths:
   A /trunk/src/util-concurrent-locks.adb
   A /trunk/src/util-concurrent-locks.ads

Add read-write locks (multiple readers/single writer lock)

------------------------------------------------------------------------
r58 | Stephane.Carrez | 2010-07-04 13:33:06 +0200 (Sun, 04 Jul 2010) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/testutil.gpr
   M /trunk/util.gpr.in

Cleanup the build and distribution

------------------------------------------------------------------------
r54 | Stephane.Carrez | 2010-07-04 11:35:41 +0200 (Sun, 04 Jul 2010) | 2 lines
Changed paths:
   A /trunk/samples/log.adb
   A /trunk/samples/log4j.properties
   M /trunk/samples.gpr

Add log example

------------------------------------------------------------------------
r53 | Stephane.Carrez | 2010-07-04 11:35:05 +0200 (Sun, 04 Jul 2010) | 4 lines
Changed paths:
   M /trunk/src/util-log-loggers.adb
   M /trunk/src/util-log-loggers.ads

Implementation improvements to allow to configure the loggers after they are created
- keep a list of loggers
- re-initialize them when we reload the logger configuration

------------------------------------------------------------------------
r52 | Stephane.Carrez | 2010-07-04 11:33:54 +0200 (Sun, 04 Jul 2010) | 2 lines
Changed paths:
   M /trunk/src/asm-x86/util-concurrent-counters.ads

Inline the operations

------------------------------------------------------------------------
r37 | Stephane.Carrez | 2010-07-01 22:52:22 +0200 (Thu, 01 Jul 2010) | 2 lines
Changed paths:
   D /trunk/config.gpr.in
   M /trunk/config.status
   M /trunk/configure
   M /trunk/configure.in
   D /trunk/util.gpr
   A /trunk/util.gpr.in

Update configuration to build the library

------------------------------------------------------------------------
r36 | Stephane.Carrez | 2010-06-25 23:53:09 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   M /trunk/configure
   M /trunk/configure.in

Configure the concurrency implementation according to the host configuration

------------------------------------------------------------------------
r35 | Stephane.Carrez | 2010-06-25 23:41:10 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   A /trunk/src/asm-none
   A /trunk/src/asm-none/util-concurrent-counters.adb
   A /trunk/src/asm-none/util-concurrent-counters.ads

Atomic counter implementation using protected type (portable implementation)

------------------------------------------------------------------------
r34 | Stephane.Carrez | 2010-06-25 22:53:39 +0200 (Fri, 25 Jun 2010) | 3 lines
Changed paths:
   M /trunk/config.gpr.in
   M /trunk/config.status
   M /trunk/configure
   M /trunk/configure.in
   A /trunk/src/asm-x86
   A /trunk/src/asm-x86/util-concurrent-counters.adb (from /trunk/src/util-concurrent-counters.adb:31)
   A /trunk/src/asm-x86/util-concurrent-counters.ads (from /trunk/src/util-concurrent-counters.ads:31)
   D /trunk/src/util-concurrent-counters.adb
   D /trunk/src/util-concurrent-counters.ads
   M /trunk/util.gpr

Move the concurrent counter implementation to an asm-x86 specific directory
Add this directory in the library build

------------------------------------------------------------------------
r33 | Stephane.Carrez | 2010-06-25 22:39:38 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/testutil.gpr

Fix distribution

------------------------------------------------------------------------
r32 | Stephane.Carrez | 2010-06-25 22:36:18 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   M /trunk/Makefile.in
   M /trunk/config.gpr.in
   M /trunk/samples.gpr
   M /trunk/tests.gpr
   M /trunk/testutil.gpr

Fix compilation warnings

------------------------------------------------------------------------
r31 | Stephane.Carrez | 2010-06-25 22:27:01 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   A /trunk/config.status
   D /trunk/shared.gpr

Add missing configuration file and remove old build file

------------------------------------------------------------------------
r30 | Stephane.Carrez | 2010-06-25 22:24:55 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   A /trunk/Makefile.in
   A /trunk/README
   A /trunk/config.gpr.in
   A /trunk/config.guess
   A /trunk/config.sub
   A /trunk/configure
   A /trunk/configure.in
   A /trunk/install-sh

Configure and build files

------------------------------------------------------------------------
r29 | Stephane.Carrez | 2010-06-25 22:15:40 +0200 (Fri, 25 Jun 2010) | 2 lines
Changed paths:
   M /trunk/samples.gpr
   M /trunk/tests.gpr
   M /trunk/testutil.gpr
   M /trunk/util.gpr

Update the build files

------------------------------------------------------------------------
r28 | Stephane.Carrez | 2010-06-06 16:19:09 +0200 (Sun, 06 Jun 2010) | 4 lines
Changed paths:
   A /trunk/regtests/util-events-channels-tests.adb
   A /trunk/regtests/util-events-channels-tests.ads
   M /trunk/regtests/util-testsuite.adb
   A /trunk/src/util-events-channels.adb
   A /trunk/src/util-events-channels.ads
   A /trunk/src/util-events.adb
   A /trunk/src/util-events.ads

Event channels
- simple publish/subscribe event channels
- unit tests

------------------------------------------------------------------------
r27 | Stephane.Carrez | 2010-06-06 15:37:42 +0200 (Sun, 06 Jun 2010) | 2 lines
Changed paths:
   M /trunk/src/util-strings.ads

Provide a String_Map package

------------------------------------------------------------------------
r26 | Stephane.Carrez | 2010-06-05 15:34:20 +0200 (Sat, 05 Jun 2010) | 2 lines
Changed paths:
   M /trunk/regtests/util-files-tests.adb
   M /trunk/regtests/util-files-tests.ads
   M /trunk/src/util-files.adb

Add unit test for Util.Files.Find_File_Path

------------------------------------------------------------------------
r25 | Stephane.Carrez | 2010-05-30 13:52:56 +0200 (Sun, 30 May 2010) | 2 lines
Changed paths:
   M /trunk/src/util-files.adb
   M /trunk/src/util-files.ads

New utility function Find_File_Path to search for a file in a list of directories

------------------------------------------------------------------------
r24 | Stephane.Carrez | 2010-05-30 13:38:39 +0200 (Sun, 30 May 2010) | 2 lines
Changed paths:
   A /trunk/src/util-strings.adb
   A /trunk/src/util-strings.ads

Integrate the string utilities (taken from my old Gprofiler project)

------------------------------------------------------------------------
r23 | Stephane.Carrez | 2010-05-23 22:55:53 +0200 (Sun, 23 May 2010) | 2 lines
Changed paths:
   M /trunk/src/util-properties.adb
   M /trunk/src/util-properties.ads

New convenient Properties.Manager.Set method

------------------------------------------------------------------------
r22 | Stephane.Carrez | 2010-05-22 16:27:42 +0200 (Sat, 22 May 2010) | 2 lines
Changed paths:
   M /trunk/regtests/util-tests.adb
   M /trunk/regtests/util-tests.ads

Add an initialization procedure to the test harness

------------------------------------------------------------------------
r15 | Stephane.Carrez | 2010-05-16 21:11:35 +0200 (Sun, 16 May 2010) | 5 lines
Changed paths:
   A /trunk/regtests/util-concurrent-tests.adb
   A /trunk/regtests/util-concurrent-tests.ads
   M /trunk/regtests/util-testsuite.adb
   A /trunk/src/util-concurrent-counters.adb
   A /trunk/src/util-concurrent-counters.ads
   A /trunk/src/util-concurrent.ads

Integrate concurrent counters
- Provide 'Counter' type with atomic increment/decrement operations
- Implement counter type on Intel x86 platform
- Add simple unit test for the above (does not validate the concurrency)

------------------------------------------------------------------------
r14 | Stephane.Carrez | 2010-05-14 23:10:57 +0200 (Fri, 14 May 2010) | 4 lines
Changed paths:
   M /trunk/regtests/util-tests.adb

Add help usage for the test harness tool
Add -update option to update the test reference files
when new tests are added or when a test changes

------------------------------------------------------------------------
r13 | Stephane.Carrez | 2010-05-14 15:36:09 +0200 (Fri, 14 May 2010) | 5 lines
Changed paths:
   D /trunk/ada-util.gpr
   A /trunk/regtests/util-files-tests.adb
   A /trunk/regtests/util-files-tests.ads
   D /trunk/regtests/util-property-testsuite.adb
   A /trunk/regtests/util-tests.adb
   A /trunk/regtests/util-tests.ads
   M /trunk/regtests/util-testsuite.adb
   M /trunk/regtests/util-testsuite.ads
   M /trunk/regtests/util_harness.adb
   M /trunk/tests.gpr
   A /trunk/testutil.gpr
   A /trunk/util.gpr (from /trunk/ada-util.gpr:2)

Unit tests for the library and others
- create a testutil library with unit test utilities
- allow to compare two files as a result of a test process
- unit tests for Util.Files

------------------------------------------------------------------------
r12 | Stephane.Carrez | 2010-05-14 15:33:48 +0200 (Fri, 14 May 2010) | 3 lines
Changed paths:
   A /trunk/src/util-files.adb
   A /trunk/src/util-files.ads

Integrate the file utilities
- read and write files into a string

------------------------------------------------------------------------
r11 | Stephane.Carrez | 2010-05-14 15:33:01 +0200 (Fri, 14 May 2010) | 3 lines
Changed paths:
   M /trunk/src/util-measures.adb
   M /trunk/src/util-measures.ads

Fix compilation warnings and add a Write method to write the result
directly to a file

------------------------------------------------------------------------
r10 | Stephane.Carrez | 2010-05-14 00:09:15 +0200 (Fri, 14 May 2010) | 2 lines
Changed paths:
   M /trunk/regtests/util_harness.adb

Fix exit status of unit test tool

------------------------------------------------------------------------
r9 | Stephane.Carrez | 2010-05-14 00:08:47 +0200 (Fri, 14 May 2010) | 2 lines
Changed paths:
   M /trunk/src/util-log-loggers.ads
   M /trunk/src/util-properties-factories.ads

Fix comments

------------------------------------------------------------------------
r8 | Stephane.Carrez | 2010-05-13 20:40:14 +0200 (Thu, 13 May 2010) | 5 lines
Changed paths:
   A /trunk/samples/measures.adb
   A /trunk/samples/test.properties
   A /trunk/samples.gpr

Examples
- example for Util.Measures
- build the examples
- property files for properties example

------------------------------------------------------------------------
r7 | Stephane.Carrez | 2010-05-13 20:39:10 +0200 (Thu, 13 May 2010) | 2 lines
Changed paths:
   A /trunk/tests.gpr

Build the unit tests

------------------------------------------------------------------------
r6 | Stephane.Carrez | 2010-05-13 20:38:03 +0200 (Thu, 13 May 2010) | 4 lines
Changed paths:
   A /trunk/regtests/test.properties
   A /trunk/regtests/util-log-tests.adb
   A /trunk/regtests/util-log-tests.ads
   A /trunk/regtests/util-properties-tests.adb
   A /trunk/regtests/util-properties-tests.ads
   A /trunk/regtests/util-property-testsuite.adb
   A /trunk/regtests/util-testsuite.adb
   A /trunk/regtests/util-testsuite.ads
   A /trunk/regtests/util_harness.adb

Unit tests for Util library
- unit test for Util.Log
- unit test for Util.Properties

------------------------------------------------------------------------
r5 | Stephane.Carrez | 2010-05-13 20:37:08 +0200 (Thu, 13 May 2010) | 5 lines
Changed paths:
   A /trunk/src/util-properties-basic.ads
   A /trunk/src/util-properties-bundle.ads
   A /trunk/src/util-properties-discrete.adb
   A /trunk/src/util-properties-factories.ads
   A /trunk/src/util-properties-hash.ads
   A /trunk/src/util-properties.adb

Integrate the Util.Properties
- implementation for Util.Properties
- hash-based util properties
- factory

------------------------------------------------------------------------
r4 | Stephane.Carrez | 2010-05-13 20:35:15 +0200 (Thu, 13 May 2010) | 6 lines
Changed paths:
   A /trunk/src/util-log-appenders.adb
   A /trunk/src/util-log-appenders.ads
   A /trunk/src/util-log-loggers.adb
   A /trunk/src/util-log-loggers.ads
   A /trunk/src/util-log.adb
   A /trunk/src/util-log.ads

Integrate the log framework
- Package Util.Log that provides a log framework close
  to the Log4j library for Java.  Its interface is
  inspired from Log4j but it only implements a small
  subset to keep this simple.

------------------------------------------------------------------------
r3 | Stephane.Carrez | 2010-05-13 16:57:00 +0200 (Thu, 13 May 2010) | 4 lines
Changed paths:
   A /trunk/bin
   A /trunk/regtests
   A /trunk/samples
   A /trunk/samples/properties.adb
   M /trunk/shared.gpr
   A /trunk/src/util-properties-basic.adb
   A /trunk/src/util-properties-bundle.adb
   A /trunk/src/util-properties-discrete.ads
   A /trunk/src/util-properties-factories.adb
   A /trunk/src/util-properties-hash.adb
   A /trunk/src/util-properties.ads

Integrate the util.properties
- Util.Properties provides a set of operations similar to
  the Java util properties

------------------------------------------------------------------------
r2 | Stephane.Carrez | 2010-05-13 11:32:05 +0200 (Thu, 13 May 2010) | 6 lines
Changed paths:
   A /trunk/LICENSE.txt
   A /trunk/NOTICE.txt
   A /trunk/ada-util.gpr
   A /trunk/obj
   A /trunk/shared.gpr
   A /trunk/src
   A /trunk/src/util-measures.adb
   A /trunk/src/util-measures.ads
   A /trunk/src/util.ads

Utility package to measure performance of an application
- Define package Util
- Define package Util.Measures for collecting, measuring
  systems in production
- Build files and license

------------------------------------------------------------------------
r1 | (no author) | 2010-05-13 11:20:38 +0200 (Thu, 13 May 2010) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk
   A /wiki

Initial directory structure.
------------------------------------------------------------------------
