32 Commits

Author SHA1 Message Date
Dmitriy Anisimkov
85efe0aeeb Do not omit file extension in Main attribute
TN: U412-040
2022-02-12 11:15:34 +06:00
Nicolas Boulenguez
00a35f8a90 Allow the caller to override all cflags via environment variables.
Some redundant settings may probably be replaced with renamings from
TP_Shared so that they are updated in a single place in TP_Shared.
docs: -gnat05
regtests: -gnat05 -m Subversion
2016-05-05 23:11:40 +02:00
Pascal Obry
a48ea10976 Simplify the build circuitry by using --subdir option.
Continued work for MA30-041.
2013-11-06 20:14:31 +01:00
Pascal Obry
bf939d96fb Move to GPLv3.
For L107-006.
2012-01-07 16:40:40 +01:00
Pascal Obry
5f805cd710 Add AWS/Ajax macro support to templates2ada.
Continued work for J706-026.
2010-08-02 17:12:23 +00:00
Pascal Obry
9d1e960d64 Tools use the Shared.Builder package.
This is needed to get parallel compilation for example.
2010-03-31 20:07:14 +00:00
Pascal Obry
d193e364b0 Add AJAX_FILE to templates2ada tool.
This variable contains the name of the files where the Ajax
action has been parsed.
2009-06-28 20:10:34 +00:00
Pascal Obry
1293d42358 Change Templates_Parser style to conform to GNAT standard.
Fix also some other style errors like:
   - multiple blank lines
   - remove superfluous spaces

For I401-021.
2009-04-08 13:43:22 +00:00
Pascal Obry
4855f27048 Fix possible constraint error, found while reading code. 2008-11-10 18:03:47 +00:00
Pascal Obry
cfaaaacefc Minor reformatting and style fixes. 2008-11-10 18:03:40 +00:00
Pascal Obry
a69a8a20cb Minor reformatting and style fixes. 2008-07-24 17:37:54 +00:00
Emmanuel Briot
02d60a8a88 (Process_Template): Minor fix to previous checkins: the first character
after @@INCLUDE@@ is not necessarily the start of the tag. That tag
 could be anywhere in the string, for instance: "@@INCLUDE@@ /@_Foo_@",
 used as a workaround for H724-006 in the CRM
2008-07-24 09:55:46 +00:00
Emmanuel Briot
486ff27f05 (Process_Template): Parses the value of @@SET@@ to find additional tags.
Found while working on the CRM
2008-07-24 09:45:48 +00:00
Emmanuel Briot
02bf5a6988 (Process_Tag): New subprogram
(Process_Template): Now properly detects tags when they occur after
 a @@INCLUDE@@. Found while working on the CRM
2008-07-24 09:23:40 +00:00
Emmanuel Briot
805fcef8ab (Help): Fix incorrect help message 2008-07-24 09:22:26 +00:00
Pascal Obry
0f151a118d Some more fixes needed as shared.gpr has been renamed tp_shared.gpr. 2008-05-02 08:51:28 +00:00
Pascal Obry
c098cd06be Improve building Templates_Parser with project files.
All parts of Templates_Parser are now built using project
files. At the same time the build directory has been
separated from the source one. Support for installing
project file to use the Templates_Parser in stand-alone
mode has been added.
--
Continue work to prepare H417-001.
2008-05-01 15:01:44 +00:00
Pascal Obry
87a21104de Remove AWS dependancies.
Prepare work for H417-001.
2008-05-01 15:01:30 +00:00
Florian Villoing
17959725e2 Add back the possibility to have multiple -e switches on the command
line (introduced in revision 113819).
2008-02-11 16:58:20 +00:00
Pascal Obry
85a8442b74 Fix copyright style for new tool templatespp 2008-02-01 14:32:01 +00:00
Pascal Obry
1617a09c38 Use AWS style for new tool templatespp 2008-02-01 14:29:47 +00:00
Emmanuel Briot
ed0742803b Merge with the CRM/GT version:
Added support for filter parameters starting with '@' (a common, previously
  documented convention for referencing tags in the template)
 Fix duplicate constants in Ada package when an HTTP parameter is defined
  both through a name attribute and a HTTP_GET comment.
Improve documentation which was missing for HTTP_URL and HTTP_GET
2008-02-01 12:05:55 +00:00
Emmanuel Briot
0e49523e7d (templatespp): new command line tool.
This tool comes from the infosys module at AdaCore, but is generally
 useful in various contexts.
 Documentation added
2008-02-01 10:40:09 +00:00
Pascal Obry
d9204986e4 * check_config.c:
Generate new variables: Executable_Extension, Directory_Separator and
 Path_Separator.

* makefile:
(install): Install the default templates2ada template file.

* aws-utils.adb:
(Get_Program_Directory): New routine. Returns current running program
 full pathname.
Minor reformatting.

* aws-utils.ads:
(Finalizer): Reword comment.
(Get_Program_Directory): New routine. Returns current running program
 full pathname.
Minor reformatting.

* templates2ada.adb:
(Output_File): Check for templates file in standard directory if not
 found in the current directory.
templates2ada now checks for the default templates file in the standard
 directory.
2007-03-11 14:58:45 +00:00
Pascal Obry
52012ed503 Fix style error. 2006-12-06 10:30:02 +00:00