Commit Graph

1550 Commits

Author SHA1 Message Date
Joel Brobecker
3a25141713 .gitreview: set gerrit.defaultbranch to 21-sustained [U719-012] 2021-07-19 13:36:18 -07:00
Joel Brobecker
03394c5907 .gitreview: set gerrit.defaultbranch to 21.2 [U125-015] 2021-01-26 07:09:17 +04:00
Joel Brobecker
32e12b4a88 .gitreview: set gerrit.defaultbranch to 21.1 [TA19-025] 2020-10-19 16:26:22 +04:00
Joel Brobecker
048d6a83d5 .gitreview: set gerrit.defaultbranch to 21.0 [T918-069] v21.0.0 xmlada-21.0.0 2020-09-22 06:04:37 -07:00
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
Fabien Chouteau
2c7b96aac7 shared.gpr.in: rename XMLADA_BUILD into XMLADA_BUILD_MODE
XMLADA_BUILD clashed with the scenario variable defined in the installed
project. It is actually the equivalent of LIBRARY_TYPE but with a
different name once the project is installed.

Part of T715-030.

Change-Id: I4f2dc963acfe8a8db3e9138cc4f408f904ded01d
2020-08-04 18:28:09 +02:00
Fabien Chouteau
73957ce0c2 shared.gpr.in: introduce the XMLADA_BUILD external
This external allows xmlada*.gpr to be used from a project that defines
the BUILD external in an incompatible way.

Part of T715-030.

Change-Id: I2485bafa4f7f103721558b82232c0134ebf8f8ee
2020-07-16 15:57:56 +02:00
Pascal Obry
e5bbafed1e Minor reformatting.
Change-Id: I1d87406224879e4506d9bf8b3f67f8b8b40cfacb
2020-04-24 12:43:32 +02:00
Fedor Rybin
0da85043e9 Hide warnings of overlapping actuals
for T316-004

Change-Id: Ib32e369a50ff7b29514447ec20f761e28f48518f
2020-03-17 20:53:42 +03:00
Vasiliy Fofanov
b50bc26596 Update usage section which has become obsolete. SB18-013
Change-Id: Id026db7f1f852b4c142247bab0cb6f46ef9038b2
2019-11-18 14:35:04 +01:00
Fedor Rybin
95f2586e49 Update doc with limitation of input size
State input size limit.
Mention two input modules that were missing from the docs.
Fix some typos.

for SB06-054

Change-Id: I059566d5a19fd9e696d3b26af7d9ebee11939c6e
2019-11-07 11:54:54 +01: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