Commit Graph

181 Commits

Author SHA1 Message Date
Valentine Reboul
1c7ee7d95d [PA07-083][Q831-010] cleanup of ineffective use-clauses
Change-Id: I351103d11afd53b4c8c264a2e9df9711df8d35a0
2017-09-14 12:41:38 +02:00
Emmanuel Briot
53dc51bf5c Update copyright notices
Change-Id: Iae1283292b460ead48dedc565d6f24259e497e69
2017-01-03 10:02:38 +01:00
Emmanuel Briot
8a9536bf16 Minor doc update to remind that lists must be freed.
P404-033

Change-Id: I2bbe86cd2268a959d5fee4b11d67c69102840552
2016-04-04 22:24:30 +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
Emmanuel Briot
6b7c44d952 Further fixes when importing and adopting nodes
We were improperly clone some of the properties of the node attributes,
and as a result did not always import all attributes.

Patch suggested by customer
N910-017

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232345 936e1b1b-40f2-da11-902a-00137254ae57
2014-09-15 14:01:20 +00:00
Emmanuel Briot
ae37073c18 (Import_Node): fix incorrect import of attribute lists
Fix handling of features and known-problems, which were not using
correct versions of XML/Ada releases (refering to 4.4.1 instead of
the more recent 4.4.2).
N910-017

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@232255 936e1b1b-40f2-da11-902a-00137254ae57
2014-09-11 10:10:49 +00:00
Emmanuel Briot
101d8168bc Build with gprbuild, since 'gnatmake -P' is being phased out.
N715-032

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@230603 936e1b1b-40f2-da11-902a-00137254ae57
2014-07-17 09:03:15 +00:00
Emmanuel Briot
d5662a6efc (Import_Node, Adopt_Node): new subprograms
These subprograms, part of DOM level 2 and level 3, are now implemented.
(Append_Child): now raises an exception when the new node is not part of
 the same document.
These new subrograms make it possible to move or copy nodes from one
 document to another. So far it was possible to do this via calls to
 Append_Child, but this resulted in invalid memory access when one of
 the documents was freed.
N411-012

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@227165 936e1b1b-40f2-da11-902a-00137254ae57
2014-05-06 15:08:26 +00:00
Emmanuel Briot
1a9ac88f45 (Child_Nodes): clarify documentation, from N311-024
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@224468 936e1b1b-40f2-da11-902a-00137254ae57
2014-03-12 11:02:06 +00:00
Emmanuel Briot
b3329cfb37 Remove mention of license in README, not appropriate for GPL release
N301-011

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@223970 936e1b1b-40f2-da11-902a-00137254ae57
2014-03-03 13:54:28 +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
1971b31ba1 (Clone_Nodes): fix implementation of deep cloning
part of MB20-045

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@219701 936e1b1b-40f2-da11-902a-00137254ae57
2013-11-21 15:53:49 +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
8f2f2f834c Add missing file from previous check in.
M805-006

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@214501 936e1b1b-40f2-da11-902a-00137254ae57
2013-08-21 13:17:36 +00:00
Emmanuel Briot
504d44e571 Add documentation on how to store location along with the DOM nodes.
M805-006

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@214499 936e1b1b-40f2-da11-902a-00137254ae57
2013-08-21 13:14:41 +00:00
Thomas Quinot
6b1cc76ac1 Minor reformatting
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@212856 936e1b1b-40f2-da11-902a-00137254ae57
2013-07-11 15:19:22 +00:00
Emmanuel Briot
a12764f1a5 Allow running the testsuites successfully even if act_testsuite does
not exit (which is expected when we releae XML/Ada, since it contains
 proprietary code).
M212-013

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@202531 936e1b1b-40f2-da11-902a-00137254ae57
2013-02-13 07:54:48 +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
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