80 Commits

Author SHA1 Message Date
Fabien Chouteau
512a7fc92d Rename shared.gpr into xmlada_shared.gpr
For the same reason as the external variables, shared.gpr can be a
source of conflict between different projects. For instance with AWS.

This change has no impact on the installation since shared.gpr is not
provided in the installation.

Part of T715-030.

Change-Id: Ie0ac01a23c34981b75055fbe8a45db9cc50a581f
2020-08-07 19:30:24 +02:00
Emmanuel Briot
53dc51bf5c Update copyright notices
Change-Id: Iae1283292b460ead48dedc565d6f24259e497e69
2017-01-03 10:02:38 +01:00
Emmanuel Briot
8b8bfd4918 Minor adjustment
Change-Id: I1bc749cda535b51a25a5f9ad9a8bf919456c77ca
2016-08-17 14:00:08 +02:00
Emmanuel Briot
38ea3e50e2 Remove unnecessary pragma
Change-Id: I2c3b5660bc06d23a33b0c0843cfd770d1dc7d99c
2016-08-17 13:55:15 +02:00
Emmanuel Briot
1184d97d88 Add support for unicode 8 names
Contributed by Nicolas Boulenguez (nicolas at debian.org)

Remove the old convert.pl that had been used to import the old list of
names, and replace with a full-Ada importer instead.
Import all names from the Unicode 8 standard.

Change-Id: I03bfa4d0ff769abc8a3b2e23149e1b745f3a8f10
2016-06-02 10:53:20 +02:00
Emmanuel Briot
1262b6c064 Update copyright headers to 2016
Change-Id: I70135cb5146de304f14587d1a518c94e804a8e6c
2016-02-17 18:02:07 +01:00
Emmanuel Briot
63b47c6599 Reorganize testsuites
Move all the */test/ directories to tests/*
Move all tests that potentially contain customer code or data to tests/adacore
 These will be moved to a separate git repository

Part of O527-038

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@240170 936e1b1b-40f2-da11-902a-00137254ae57
2015-07-09 15:17:03 +02:00
Emmanuel Briot
44bb12c67c The tests can now be run outside of the build directory.
To run the tests, we no longer need to have run "make" first.
Instead, "make test" requires: shared.gpr and the W3C tests, and will
only recompile the sources found in */test/*, not the code of XML/Ada itself.
So will "make run_test".
A new target "run_test_and_setenv" was added for developers who need to
test the local build.

NA17-039

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@233386 936e1b1b-40f2-da11-902a-00137254ae57
2014-10-20 10:03:11 +00:00
Pascal Obry
d214ac70ea Rework the XMLAda build and install procedure.
An aggregate project is now used to build XMLAda. The builder is now
gprbuild and the installation is conducted by gprinstall. This has
permitted a large clean-up of the makefile.

For N403-037.

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232625 936e1b1b-40f2-da11-902a-00137254ae57
2014-09-24 07:47:03 +00:00
Thomas Quinot
0efefde48e (Utf8_Prev_Char): Minor clarification of what this function does
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@223556 936e1b1b-40f2-da11-902a-00137254ae57
2014-02-19 11:57:31 +00:00
Emmanuel Briot
317d5a7903 Fix compiler warnings in Debug mode
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@221777 936e1b1b-40f2-da11-902a-00137254ae57
2014-01-10 09:05:34 +00:00
Emmanuel Briot
67fb7dd10e Update copyright notices to 2014
N103-019

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@221486 936e1b1b-40f2-da11-902a-00137254ae57
2014-01-06 10:27:30 +00:00
Emmanuel Briot
b531cd91e8 (Utf8_Next_Char, Utf8_Length, Utf8_Prev_Char, Utf8_Get_Char,
Utf8_Find_Next_Char): new subprograms
(Is_Valid_Name_Char, Is_Valid_Name_Startchar): minor optimization by
 using lookup tables.
MA08-027 and MA04-050

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@216794 936e1b1b-40f2-da11-902a-00137254ae57
2013-10-08 13:49:30 +00:00
Emmanuel Briot
6363ce096b Update copyright notices to 2013
M103-015

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@200406 936e1b1b-40f2-da11-902a-00137254ae57
2013-01-08 10:54:28 +00:00
Emmanuel Briot
a09a356291 Fix handling of leading and trailing zeros when validating decimal values.
These should not impact the verification of facets like minIncluside,
 totalDigits and fractionDigits.
L921-037

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@195492 936e1b1b-40f2-da11-902a-00137254ae57
2012-09-24 10:00:15 +00:00
Emmanuel Briot
b2bab862c9 Fix error reported by Codepeer, when the input string is an invalid
utf32 string

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@195491 936e1b1b-40f2-da11-902a-00137254ae57
2012-09-24 10:00:10 +00:00
Emmanuel Briot
a284c6e02f Fix suffix for shared libraries on darwin and Windows (we were
hard-coding .so)

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@192267 936e1b1b-40f2-da11-902a-00137254ae57
2012-07-13 13:48:54 +00:00
Emmanuel Briot
8036117c11 Add entry in features about the license change.
Update all copyright headers to 2012, since the change of the license
 is considered as significant for the files.
KC20-003

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@183039 936e1b1b-40f2-da11-902a-00137254ae57
2012-01-03 15:07:56 +00:00
Emmanuel Briot
5befffea2b Change header to use GPL version 3
KC20-003

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@182682 936e1b1b-40f2-da11-902a-00137254ae57
2011-12-20 09:09:12 +00:00
Emmanuel Briot
926409ec8d Add support for compiling with coverage information.
This is in preparation for K929-014

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@179466 936e1b1b-40f2-da11-902a-00137254ae57
2011-09-29 10:42:25 +00:00
Vassiliy Fofanov
98c8c284bd Change testsuites processing to make it more compatible with GAIA
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@167736 936e1b1b-40f2-da11-902a-00137254ae57
2010-12-01 15:48:13 +00:00
Emmanuel Briot
1e57f6bf5d Hard-code the XSD metaschema in the code, rather than rely on external
files to find it.
(Input_Sources.Strings.Open): now takes a Cst_Byte_Sequence_Access, so
 that we can point to hard-coded constants in the code
J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@166757 936e1b1b-40f2-da11-902a-00137254ae57
2010-11-05 10:54:50 +00:00
Emmanuel Briot
425050aced (Incomplete_Encoding): new exception
J818-003

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@164061 936e1b1b-40f2-da11-902a-00137254ae57
2010-08-31 09:46:19 +00:00
Emmanuel Briot
4e73dd45dc Use a symbol table to store strings, to avoid string comparisons and
speed up the parsing
J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@159998 936e1b1b-40f2-da11-902a-00137254ae57
2010-05-17 14:46:53 +00:00
Emmanuel Briot
146c1dc879 Minor style fix
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@156418 936e1b1b-40f2-da11-902a-00137254ae57
2010-02-11 12:59:46 +00:00