1542 Commits

Author SHA1 Message Date
Joel Brobecker
4aca757826 .gitreview: set gerrit.defaultbranch to 20.2 [T121-050] 2020-01-22 10:49:49 +04:00
Joel Brobecker
3611165bb6 .gitreview: set gerrit.defaultbranch to 20.1 [SA16-018] 2019-10-16 09:01:12 -07:00
Joel Brobecker
c0688869da .gitreview: set gerrit.defaultbranch to 20.0 [S916-089] 2019-09-23 10:19:07 -07:00
Dmitriy Anisimkov
ecf9daa284 Fix Is_Valid_Base64Binary routine
S823-015

The character code in base64 encoding preceding the terminating '='
must be a multiple of 4. This change fixes situation where this
character could be any base64 character, which could happen when
one-but-last character code was a multiple of 16.

Change-Id: I9fe4fb266d07e127e9e64be9404571a91b32bcdb
2019-08-24 17:27:59 +02:00
Dmitriy Anisimkov
f4a8216d37 Avoid conflict with future IPv6 options
MA31-001

Change-Id: Ic20d9a0eae25eb1a8bb8131975d29a5a4b4cc3fd
community-2019
2018-06-28 22:57:23 +06:00
Fedor Rybin
8a4b2bf477 Reduce the SAX parser symbol hash table size
Reduce the SAX parser symbol hash table size
from 65536 entries to 1024.

This comes from the GitHub pull request #6
TN: R215-022

Change-Id: I6790ad5b00dde563833cbe6493c57e68caba0ea3
community-2018
2018-04-20 16:34:14 +03:00
Fedor Rybin
5a0bb7ad1b Fix typos in the docs.
This comes from the GitHub pull request #5
TN: R215-022

Change-Id: I3c3074119dbfbdad327dba77b523d6a8196d7806
2018-04-17 14:05:05 +03:00
Fedor Rybin
49bc5b1fb6 make xmlada No_Exception_Registration friendly
for R305-035

Change-Id: Iebc0bb83f54a1b5b39ba053e50eb9bc721bfab85
2018-03-07 01:40:52 +03:00
Jerome Lambourg
cc01d5866f Fix shared lib support test when cross compiling.
Change-Id: I36b8be73f03f5f0ba8c1ea72bce482293bb6b01d
TN: R216-034
2018-02-19 08:33:25 +01:00
Stephane Carrez
0b71a29380 Reduce the symbol hash table size from 65536 entries to 1024 to reduce
memory usage of the parser but also to speed up its initialization due
to cache issues.  During Sax parser initialization, the 2Mb hash table
is cleared which fills up the cache for nothing.  By reducing the hash
table to 1024, the hash table is reduced to 32kb hence leaving less
pressure on the cache.
See https://blog.vacs.fr/vacs/blogs/post.html?post=2013/03/02/Optimization-with-Valgrind-Massif-and-Cachegrind
2018-02-04 22:31:35 +01:00
Pascal Obry
d8fd79270a Simplify makefile installation rules by using a variable to share options.
Also properly use two --build-var as needed now.

For Q710-013.

Change-Id: Ie58f7f0cbc267f84b3d4d98996510570719f1a61
2017-11-16 18:05:57 +01:00
Pascal Obry
9d14140c6a Install project in share/gpr instead of lib/gnat.
Part of Q710-013.

Change-Id: I0dfecd27b22ac021829166e2b7ee3fc5550507be
2017-11-15 11:37:33 +01:00
Pascal Obry
0611bd30f1 Use two build variables for the installation.
One specific to the project, one generic shared with other projects.

Part of Q710-013.

Change-Id: I28ad4448d045412a9e753105ba4e8789a4966791
2017-11-15 11:37:27 +01:00
Vratislav Podzimek
92b54d330a Minor fixes for the SAX documentation
These are fixes for a few minor typos/issues I spotted while
reading the documentation.
2017-10-10 15:24:37 +02:00
Valentine Reboul
1c7ee7d95d [PA07-083][Q831-010] cleanup of ineffective use-clauses
Change-Id: I351103d11afd53b4c8c264a2e9df9711df8d35a0
2017-09-14 12:41:38 +02:00
Joel Brobecker
de01855c92 Add support for RTS= Makefile variable
This variable can be used to build XmlAda with a given RTS,
and it also adjust the installation directory where XmlAda
gets installed afterwards.

For Q802-040.

Change-Id: I54b18f184517c7eded0409c264ce8030f33d6782
2017-08-17 18:37:43 -04:00
Joel Brobecker
b4fc5342b5 use @target_alias@ for --target option and install prefix
When trying to build XmlAda for e500v2-vx6, one calls configure
with --target=e500v2-wrs-vxworks, which results in the Makefile
containing the following definition for TARGET:

    TARGET=powerpc-wrs-vxworks

This is because the --target has been canonicalized by config.sub,
and this is expected. However, this causes problems during the build,
since we then call gprbuild with --target=powerpc-wrs-vxworks
instead of the target we specified during the configure.

This patch fixes the issue by declaring a new Makefile variable
called TARGET_ALIAS, and using that for gprbuild's --target=
option, as well as the installation prefix.

Unveiled while working on O611-016.

Change-Id: I7cf3b24c48d26af0930813b1aff304dc78561aad
2017-08-04 14:41:14 -04:00
Joel Brobecker
302aec3f3a disable style checks on README.md
That file contains some commands which are over 80 lines long.

Change-Id: I08ed015617f384dff4e2461118073ba47b648b50
2017-08-03 21:14:01 -04:00
Fedor Rybin
9dd5a102f3 Q605-023 add VxWorks-friendly tests
For the purpose of sanity checking xmlada on VxWorks (and possibly
other cross platforms), add cross-comilable examples, one per dom, sax
and schema, that have all xml/xsd sources embedded in the test's main.
Add new cross- and existing examples to the installation of xmlada.

Change-Id: I56848955171a3b1f16f38bc3ecd7cef253af6346
2017-06-09 11:29:30 +03:00
Fedor Rybin
b1be3aa7a2 Q215-048 fix xmlada examples
Fix examples to import proper project names,
fix domschemaexample to not unset the namespeces feature,
add examples to the testing.

Change-Id: Ic5ba519f9ae80f4df3931757a1fcdb9b72e4f540
2017-02-22 13:05:36 +01:00
Emmanuel Briot
55770ceb78 Fix handling of minOccurs > 1 on some elements
Q119-022

Change-Id: Id9d3e4da9c644971886a38e34d26a2cf7c4e48e7
2017-01-19 16:34:03 +01:00
Emmanuel Briot
53dc51bf5c Update copyright notices
Change-Id: Iae1283292b460ead48dedc565d6f24259e497e69
2017-01-03 10:02:38 +01:00
Vasiliy Fofanov
7cedb2ac53 Remove kp/nf files - moved to impactdb. PA05-043 2016-10-20 18:06:00 +02:00
Nicolas Setton
c0da86f097 Add the file documenting the GCC Runtime Library Exception
For P902-034.

Change-Id: I1a739695ee2d4fb9e0277c05152a8167256dd19e
2016-10-17 12:56:30 -04:00
Emmanuel Briot
bf7c34e5c1 Branched for 17 has been done
Change-Id: I0a3adde686427d533f4fb7226e9bbd4d3b4c29f2
2016-10-07 16:48:25 +02:00