Commit Graph

18 Commits

Author SHA1 Message Date
Emmanuel Briot
55770ceb78 Fix handling of minOccurs > 1 on some elements
Q119-022

Change-Id: Id9d3e4da9c644971886a38e34d26a2cf7c4e48e7
2017-01-19 16:34:03 +01:00
Nicolas Roche
7e881a5fda Add support for xmlada static pic
Part of P204-021

Change-Id: I00641908d80a6b6afe058a3763091476fbe7ea8a
2016-02-04 12:37:28 +01:00
Emmanuel Briot
e57f582512 Do not build with -gnatp by default
Better to lose a tiny bit of efficiency, but get proper exception
messages (like Constraint_Error) when a user is misusing XML/Ada.
A new build mode "nochecks" has been added to compile -gnatp

O907-008
2015-09-07 12:34:46 +02: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
Emmanuel Briot
4069ed6cee New configure option --enable-build
This is for consistency with GtkAda and GPS, and enables one to
chose the build mode at configure time rather than through environment
variables.
Use pragma Initialize_Scalars when in Debug mode, also for consistency.

N324-002

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@224970 936e1b1b-40f2-da11-902a-00137254ae57
2014-03-24 09:32:59 +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
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
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
Emmanuel Briot
2c3318f331 Change the default LIBRARY_TYPE in shared.gpr
Fixes failures in ppc-aix testsuite, since one of the testsuite does not
 specify the kind of library to use, and defaults to relocatable, which is
 not supported on the platform.
K704-030

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@177920 936e1b1b-40f2-da11-902a-00137254ae57
2011-08-30 11:16:28 +00:00
Emmanuel Briot
082a809fe3 Added support for PROCESSORS to control the number of parallel compilation
(HC17-020)


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@134968 936e1b1b-40f2-da11-902a-00137254ae57
2008-12-17 17:58:16 +00:00
Emmanuel Briot
91d6aea85f Remove use of -gnatg, reserved for the compiler
Added -gnatwe in DEBUG mode only, and make sure the default mode
 is not debug. Workaround issues in DB25-013


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@116700 936e1b1b-40f2-da11-902a-00137254ae57
2007-10-10 12:16:44 +00:00
Emmanuel Briot
40b932eb17 Reorganize the installation procedure for XML/Ada (locally and in the
install directory), so that both static and shared libraries can be compiled
 and installed at the same time, without requiring a "make clean" in between.
 This is using the same directory organization as for gnatlib. This also
 provides more sharing among the installed project files.


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@113258 936e1b1b-40f2-da11-902a-00137254ae57
2007-07-09 08:59:46 +00:00
Pascal Obry
b213af651e (Ide.VCS_Kind): Set to Subversion instead of CVS.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@62888 936e1b1b-40f2-da11-902a-00137254ae57
2007-05-22 18:06:05 +00:00
Emmanuel Briot
7041ccc64a Merge the xmlada-xml_1_1 branch with HEAD. We still do not fully support
XML 1.1, but the code has been cleaned up somewhat to match more recent
 versions of the XML testsuite, improve the support for schemas,... and is
 thus in good shape for distribution at this stage


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12314 936e1b1b-40f2-da11-902a-00137254ae57
2006-04-27 12:52:07 +00:00
Emmanuel Briot
133108b2d0 Set the VCS_Kind to use for files
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12222 936e1b1b-40f2-da11-902a-00137254ae57
2006-01-02 14:28:25 +00:00
Emmanuel Briot
0b01258ecb Remove a duplicate -O2 switch when compiling in optimize mode
(-gnatN) => replaced with -gnatn, since the former is no longer recommended


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12139 936e1b1b-40f2-da11-902a-00137254ae57
2005-08-11 10:23:50 +00:00
Thomas Quinot
69679cf5b4 Build XML/Ada under -gnatg.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12048 936e1b1b-40f2-da11-902a-00137254ae57
2005-04-27 13:18:20 +00:00
Emmanuel Briot
69623e7a76 The version number of XML/Ada is now also extracted from configure.in
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@12038 936e1b1b-40f2-da11-902a-00137254ae57
2005-03-22 10:27:38 +00:00