Commit Graph

11 Commits

Author SHA1 Message Date
Emmanuel Briot
53dc51bf5c Update copyright notices
Change-Id: Iae1283292b460ead48dedc565d6f24259e497e69
2017-01-03 10:02:38 +01:00
Emmanuel Briot
1262b6c064 Update copyright headers to 2016
Change-Id: I70135cb5146de304f14587d1a518c94e804a8e6c
2016-02-17 18:02:07 +01: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
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
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
95a2bfd674 Improved support for multi-tasking in the schema module.
It is now possible to parse a grammar once, and then use it from different
 tasks with different parsers.
Added locking in a few places, and make sure the NFA is not modified while
 processing input events.
Added automatic test
K708-021

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@176524 936e1b1b-40f2-da11-902a-00137254ae57
2011-07-26 13:34:54 +00:00
Pascal Obry
427d3458dd Minor reformatting.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@166946 936e1b1b-40f2-da11-902a-00137254ae57
2010-11-10 17:51:32 +00:00
Emmanuel Briot
78d739f068 Use symbols in the schema validators for efficiency, instead of
Byte_Sequence_Access. This removes lots of calls to malloc(), and
 provides a better basis for using a NFA to do the validation later
 on
 On the schematestsuite, we go from 34_026_256 calls to memcpy
 down to 24_978_092, and from 27_513_699 calls to malloc down to
 21_542_705
J302-043

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@160132 936e1b1b-40f2-da11-902a-00137254ae57
2010-05-20 16:25:15 +00:00
Emmanuel Briot
ab057444d8 Remove use of controlled types and smart pointers in most cases after all,
since they have the following drawbacks:
   - less efficient code (each assignment generates extra code)
   - a lot more exception handlers, preventing compilation on some machines
     (G525-005)
   - there are still errors reported by valgrind, in code that is extremely
     hard to debug and might in fact be an error in the GNAT runtime itself.
     The order of calls to finalize depends on the order in which the types
     are declared, and with mutually dependent types this is hard to control
Instead, only the XML_Grammar_NS and Locator are controlled, since they are
 the most likely to be used by the user. The grammar takes care of freeing
 all needed memory (fixed a lot of memory leaks, as reported in G510-017).
All debug messages are now in a "if Debug" statement, so that we do not have
 to use the secondary stack to prepare their argument, often unused. This
 also limits memory use somewhat.
There are no remaining known memory leaks when running the schema testsuite
Fixes copyright notices


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@65659 936e1b1b-40f2-da11-902a-00137254ae57
2007-05-30 15:29:40 +00:00
Emmanuel Briot
695641a522 Major change in API: some types, especially in Schema module, were
made ref-counted to fix memory leaks reported in G510-017.
 All memory leaks are however not fixed yet, further checkins will
 follow.
 This version works best with a recent version of GNAT that also
 fixes G515-016, or valgrind might report issues in the finalization of
 the applications.
Added missing copyright notices


git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/xmlada@62826 936e1b1b-40f2-da11-902a-00137254ae57
2007-05-15 16:14:43 +00:00