981 Commits

Author SHA1 Message Date
Pascal Obry
dd30e91c13 Merge branch 'topic/fix-null-set' into 'master'
Fix parsing when using Null_Set.

See merge request eng/toolchain/templates-parser!16
2026-01-09 07:50:35 +01:00
Pascal Obry
23f571fb12 Fix parsing when using Null_Set.
The Null_Set has been redefined to ensure it is usable by the
templates parser internal parser.

Add corresponding regression test.

TN eng/toolchain/templates-parser#10
2026-01-08 19:27:06 +01:00
Andry Ogorodnik
917b35ea53 Merge branch 'templates_parser_9' into 'master'
Templates parser 9

See merge request eng/toolchain/templates-parser!15
2025-12-01 21:54:51 +00:00
Andry Ogorodnik
c649fc5fec Templates parser 9 2025-12-01 21:54:51 +00:00
Pascal Obry
5dec47778e Merge branch 'topic/tags-doc' into 'master'
Minor update for CAPITALIZE filter tag.

See merge request eng/toolchain/templates-parser!14
2025-11-20 20:24:36 +01:00
Pascal Obry
8e5ba57d54 Minor update for CAPITALIZE filter tag.
no-issue-check
2025-11-20 18:18:17 +01:00
Pascal Obry
cc94ff9833 Merge branch 'topic/fix-xml-tests' into 'master'
Disable tests using XML/Ada if support not found.

See merge request eng/toolchain/templates-parser!12
v26.0.0
2025-01-30 17:03:29 +00:00
Pascal Obry
907be0c2e1 Disable tests using XML/Ada if support not found.
If TP_XMLADA is on the environment use it, this is the case when
using "make test" otherwise if testsuite.py is called directly
reads the variables from ../makefile.setup.

Fixes two recent regressions.

TN eng/toolchain/templates-parser#6
2025-01-29 17:43:15 +01:00
Pascal Obry
6f002c7b26 Merge branch 'topic/is-first-occur' into 'master'
New filter IS_FIRST_OCCURRENCE.

See merge request eng/toolchain/templates-parser!11
2025-01-29 10:16:31 +00:00
Pascal Obry
cbc31cd2cd New filter IS_FIRST_OCCURRENCE.
This new filter can be used to do a specific action the first time
a variable value is found. While generating code, this can be handy
to avoid generating the same declaration twice for example.

Add regression test and documentation.

Part of eng/toolchain/aws#77
2025-01-27 18:08:09 +01:00
Pascal Obry
2a74e76361 Merge branch 'po/fix-param-macro' into 'master'
Fix handling of macro parameters in EXTENDS & INLINE.

See merge request eng/toolchain/templates-parser!10
2024-12-18 16:29:09 +00:00
Pascal Obry
f2067e4d0d Fix handling of macro parameters in EXTENDS & INLINE.
TN eng/toolchain/templates-parser#5
2024-12-10 18:03:21 +01:00
Pascal Obry
f2d4830244 Minor code reformatting. 2024-12-10 17:59:02 +01:00
Pascal Obry
645536ce8d Merge branch 'po/filters-update' into 'master'
Ensure that the regexp/regpat is cloned.

See merge request eng/toolchain/templates-parser!9
v25.2.0 v25.0.0
2024-08-23 15:53:29 +00:00
Pascal Obry
7bc8a2b023 Ensure that the regexp/regpat is cloned.
Fix crash reported when releasing MATCH filter in macros.

Add corresponding regression test.

Part of eng/toolchain/aws#39
2024-08-21 18:12:08 -04:00
Pascal Obry
6f4e561f23 Add START_WITH and END_WITH filter.
Add corresponding regression tests and documentation.

Motivated by eng/toolchain/aws#39
2024-08-21 18:12:08 -04:00
Pascal Obry
5e15c8f6fc Minor code simplification.
no-tn-check
2024-08-17 08:27:56 -04:00
Pascal Obry
bef385ee65 Merge branch 'po/ada2022' into 'master'
po/ada2022

See merge request eng/toolchain/templates-parser!8
2024-05-12 14:11:42 +00:00
Pascal Obry
38ccfe2143 Use Ada 2022 @ short hand syntax. 2024-05-02 18:09:49 +02:00
Pascal Obry
d12197cda9 Use Ada 2022 delta aggregate. 2024-05-02 18:09:49 +02:00
Pascal Obry
60431b6405 Use Ada 2022 @ short hand syntax. 2024-05-02 18:09:49 +02:00
Pascal Obry
b6f03f9372 Use Ada 2022 array aggregate syntax. 2024-05-02 18:09:49 +02:00
Gail Schenker
50318980e1 Merge branch 'po/ada2022' into 'master'
Revert all Ada 2022 changes.

See merge request eng/toolchain/templates-parser!7
2024-03-14 22:39:55 +00:00
Pascal Obry
d5a41cf7a4 Revert all Ada 2022 changes. 2024-03-14 23:23:09 +01:00
Pascal Obry
8289bd37f7 Merge branch 'po/ada2022' into 'master'
po/ada2022 - migrate templates parser to Ada 2022

See merge request eng/toolchain/templates-parser!6
2024-03-14 17:09:11 +00:00