Commit Graph

  • d9204986e4 * check_config.c: Generate new variables: Executable_Extension, Directory_Separator and Path_Separator. Pascal Obry 2007-03-11 14:58:45 +00:00
  • 20a7dc0c7b Fix prototype of inherited routines detected since enhancements in conformance checks. Add overriding keywords. Fixes G210-003. Pascal Obry 2007-02-11 14:38:05 +00:00
  • d0515d808a (LF_2_BR, BR_2_LF): modify these two filters so that they properly generate "<br/>" instead of "<br>" (for compatibility with XHTML), and can convert from either <br> or <br/> to LF. Emmanuel Briot 2007-02-09 10:37:23 +00:00
  • 87d8cfa499 (SLICE filter): Added support for negative indexes to indicate this is relative to the end of the string. This makes it possible to do tests like "Does the given string ends with ... no matter its length ?" Update copyright notices Emmanuel Briot 2007-01-19 11:32:58 +00:00
  • 3f5b5ceb15 Updage copyright notice, missing in previous check in Emmanuel Briot 2007-01-09 14:59:31 +00:00
  • 169cef8527 Minor editing Pascal Obry 2006-12-06 11:56:54 +00:00
  • 52012ed503 Fix style error. Pascal Obry 2006-12-06 10:30:02 +00:00
  • e379a503e2 Fix template for SINGLE_FILE case. Continued work for FC04-011. Pascal Obry 2006-12-05 21:32:13 +00:00
  • af9366a6d7 Fix comments from previous check-in. Work for FC04-011. Pascal Obry 2006-12-05 21:24:14 +00:00
  • bdbc136ce8 Add support for SET in templates2ada. Set variables with SET_ prefix are now exported. Update a non regression test to test this feature. Work for FC04-011. Pascal Obry 2006-12-05 21:17:01 +00:00
  • 2a8a91e1bd New file for FB15-006 Pascal Obry 2006-11-18 12:57:40 +00:00
  • f52f160724 * src/templates_parser.adb: (Adjust): Protect against null set. Pascal Obry 2006-11-15 11:24:05 +00:00
  • 69549fba72 Minor reformatting. Pascal Obry 2006-11-12 20:44:52 +00:00
  • 1e97108a43 * templates2ada.adb, templates.tads: Add support for AWS/AJAX event/actions. A new package named Ajax is now generated containing every Ajax actions found on template files. This help keeping the Ada part and the Ajax (Javascript) synchronized. Update the Ajax demo to the new Ajax HTTP request naming. Work for FB10-026. Pascal Obry 2006-11-10 22:14:29 +00:00
  • ad7df3b40f Undo previous change, and replace with a command pointing to Templates_Parser.Query instead Emmanuel Briot 2006-11-10 08:56:02 +00:00
  • 583fd566db (Get_Kind, Get_Variable): New subprograms, so that users can also access the full value of tags. In particular, this can be used for unit testing of template-based applications Emmanuel Briot 2006-11-09 21:41:35 +00:00
  • f77fad26a3 (Ada.Directories): New with clause. (Windows_OS): New variable, set to True on Windows. (Inline_Parameter): Generate a single LF for \n on UNIX as documented. Minor reformatting. Continued work for FA23-008. Pascal Obry 2006-11-03 11:07:08 +00:00
  • c3b4b81373 Major reorganzation of the doc: group all tags-related sections into their own chapter, fix some english grammar errors, run spell checker, remove the "Last Notes" section Emmanuel Briot 2006-11-02 14:51:40 +00:00
  • 21cb4d3782 Enhance documentation for templates2ada, as per FA25-017 Emmanuel Briot 2006-11-02 11:11:45 +00:00
  • 7d7663ed7c Improve doc for custom filters (mentioned in F505-010) Emmanuel Briot 2006-11-02 10:22:12 +00:00
  • 158ecf4b73 * templates_parser.adb: (Inline_Parameter): New routine used to parse the inline parameters. This routine adds support for control characters. Pascal Obry 2006-10-30 10:35:09 +00:00
  • b3f07ca796 * regtests/makefile: (TESTS): Add testme75 (new test for INLINE command). (t2a): Add a sed command to change \ to / for this test to pass on Windows. Pascal Obry 2006-10-25 18:24:44 +00:00
  • 9e19c82493 Document templates2ada tool. Continued work for F505-010. Pascal Obry 2006-10-24 13:09:52 +00:00
  • fd6be06df0 * MANIFEST: Add files for the new templates2ada tool. Pascal Obry 2006-10-24 12:41:51 +00:00
  • ed67a64c58 * regtests/makefile: Add support for templates2ada testing. Pascal Obry 2006-10-24 12:16:13 +00:00
  • 30d958d589 Fix handling of lazy tags. The lazy tags values were not properly cached. This is very important for speed as a lazy tag computation could be time consuming (by accessing a database for example). Update testme41.out to macth this behavior. Fixes FA17-026. Pascal Obry 2006-10-19 18:56:36 +00:00
  • bd9075523a Add svn:executable property to this script. Pascal Obry 2006-09-20 08:37:47 +00:00
  • ab03281785 Repository clean-up. Remove all unneeded svn:executable properties. Remove the eol-style property on testme25.out for proper handling of non standard EOL. Pascal Obry 2006-09-13 09:28:18 +00:00
  • bda176fbef Update test output. The output order has changed now that the Ada.Containers are used. Pascal Obry 2006-08-17 17:42:28 +00:00
  • 5e0c6e017a (Compiler): Compile with -gnat05 switch as required. Pascal Obry 2006-07-28 13:35:47 +00:00
  • 73f921fd46 Remove with of aws_xmlada. This must not be set by default as it breaks the doc build. Pascal Obry 2006-07-28 08:15:42 +00:00
  • fadde29981 -- Replace "access" to "not null access". This is the Ada 2005 equivalent to "access" and is now part of Ada 95. Continued work for F214-009. Pascal Obry 2006-07-26 15:02:40 +00:00
  • c470453288 * templates_parser.adb: Pascal Obry 2006-07-18 21:51:37 +00:00
  • ef4178ab64 Merge ada05 branch. This is the first step toward Ada 2005. This change is made to use the standard Ada.Containers instead of the AI302 beta implementation. Pascal Obry 2006-07-05 11:12:59 +00:00
  • 0ff15e1654 Add test for F522-008. release-2.1a release-2.0.0 release-1.3.0 release-1.2.0 release-1.1.0 release-1.0.0 release-0.9.9 release-0.9.2 release-0.9.11 release-0.9.10 release-0.9.0 release-0.10.0 gps-4.0.0 gnat-5.03a gap-1.1.0 before_acte_copyright Florian Villoing 2006-05-22 17:01:55 +00:00
  • 1898483f47 (Get_Next_Line): Properly handle line that have only blank characters. Fixes F522-008. Florian Villoing 2006-05-22 17:00:58 +00:00
  • b2dd4fa37c (Value): Properly handle the case where the Translation_Set is the Null_Set to avoid an acces violation. Work related for F515-001. Pascal Obry 2006-05-19 10:02:52 +00:00
  • 46f482216d (Semaphore): Add private entry Lock_Internal used to requeue tasks. -- It is wrong to use Current_Task on an entry_barrier. This new implementation uses a requeue statement and 'Caller. Related to F423-009. Pascal Obry 2006-05-17 09:15:00 +00:00
  • 2d12a5a2a3 Add some comments starting after the first column or at the end of a line. Work for F513-003. Pascal Obry 2006-05-13 18:46:34 +00:00
  • 13f3e753de (Get_Next_Line): Handle now comments starting at any column. Work for F513-003. Pascal Obry 2006-05-13 18:45:17 +00:00
  • 6c0609f718 Fix wrong casing introduced in previous check-in. Pascal Obry 2006-05-10 15:46:39 +00:00
  • 9365d4081d (Variable): Remove this routine already in Templates_Parser.Query. Continued work for F505-012. Pascal Obry 2006-05-10 15:42:41 +00:00
  • 5585c4bf14 New version. Pascal Obry 2006-05-07 14:16:43 +00:00
  • d3cfaf85bd Document the support for user defined filters. Work for F505-012. Pascal Obry 2006-05-07 14:16:21 +00:00
  • bc0e73444f (STD_TESTS): Add non regression test user_filter. Work for F505-012. Pascal Obry 2006-05-07 14:13:40 +00:00
  • 3ab2831982 (Get) [String]: New routine. (Variable): New routine returning the association variable name. (Null_Set): New constant, moved here from body and now properly initialized as a null record. (Callback): New type. (Callback_No_Param): Idem. (Register_Filter) [Callback, Callback_No_Param]: New routines. -- Add support for user defined filters. Work for F505-012. Pascal Obry 2006-05-07 14:12:24 +00:00
  • cc1da273f7 ((Finalize) [Translate_Set]: Skip if a null translate set. This is the case for the Null_Set. (Null_Set): Removed from here, add to spec as a real null set. (Filter.Mode): Add User_Defined. (User_CB): New record containing the callback for user defined filters. (Parameter_Data): Add support for User_Callback. (Register) [Callback, Callback_No_Param]: New routines to register user defined filters. (User_Handle): Return the user callback for the given filter name. (Name_Parameter): Add support for user defined filters. (Get) [String]: New routine. (Variable): New routine returning the association variable name. (Register_Filter) [Callback, Callback_No_Param]: New routines. -- Add support for user defined filters. Work for F505-012. Pascal Obry 2006-05-07 14:12:08 +00:00
  • 060f4b3b3d (Filter_Map): New package (map for user defined filters). (User_Filters): Map containing user defined filters. (User_Defined_Token): New constant. (Table): Add entry for User_Defined. (Register) [Callback, Callback_No_Param]: New routines to register user defined filters. (User_Defined): New standard filter acting as a wrapper for the user defined filters. (Mode_Value): Check for user defined filters. (User_Handle): Return the user callback for the given filter name. (Image): Add support for user defined filter. (Parameter): Idem. Add some missing header box. Minor reformatting. Update copyright notice. -- Add support for user defined filters. Work for F505-012. Pascal Obry 2006-05-07 14:11:50 +00:00
  • 2f4e85f791 Add non regression test for user defined filters. Work for F505-012. Pascal Obry 2006-05-07 14:11:37 +00:00
  • 5630252fc2 (Web_Encode, Web_Escape): Avoid allocating a string 6 times bigger than the one given as parameter. This fixes F201-006. Build the result string by blocks instead of doing that character by character for efficiency reasons. Florian Villoing 2006-05-03 14:57:19 +00:00
  • 9a0f119aad Minor reformatting. Pascal Obry 2006-04-24 19:59:25 +00:00
  • 0c02973197 (Clear): Simpler implementation that will be easier to maintain. Minor reformatting. Pascal Obry 2006-04-24 19:59:10 +00:00
  • bd5f0f3f2c Minor reformatting. Pascal Obry 2006-04-24 19:57:35 +00:00
  • b443802d09 New version. Pascal Obry 2006-04-04 14:32:40 +00:00
  • 1fbe4789e1 (TESTS): Add testme73. Pascal Obry 2006-04-04 14:32:23 +00:00
  • b1bbeab348 Test for the new support to control separators. Pascal Obry 2006-04-04 14:31:48 +00:00
  • 42b8f054d3 (Analyze): Fix implementation of the inline support to not add a separator at the end of a line when no value have been outputted. This is the case if we have a conditional into the table statment controlled by an inline tag. Minor reformatting. Pascal Obry 2006-04-04 14:30:41 +00:00
  • 7f11237967 (clean-tmp): Do not fail if there is no file to remove. Pascal Obry 2006-02-22 13:44:13 +00:00
  • b858232746 (clean-tmp): Clean the generated object and ali files using gnatclean. Continued work for F201-008. Pascal Obry 2006-02-16 10:25:15 +00:00
  • 273c92269b Rework the rules to clean up the temporary files generated while building the documentation. This ensure that they are not part of the final tarball. Pascal Obry 2006-02-15 11:14:02 +00:00
  • f3b293607a (doc): Output a message when the documentation is built with success. Pascal Obry 2006-02-11 19:01:59 +00:00
  • 2005353076 Initial revision. Pascal Obry 2006-02-11 15:32:59 +00:00
  • b7ed244598 (Lock): Support multiple lock from the same task. (Unlock): Idem. Update copyright notice. Part of work for EC05-002. Pascal Obry 2006-02-10 17:18:04 +00:00
  • 69e828f8e3 (Finalize): Properly guard the reference counter against concurrent access. (Adjust): Idem. Will probably fix EC05-002. Pascal Obry 2006-02-10 17:18:00 +00:00
  • 85c8fc9ae3 Remove redundant with clauses as detected by recent GNAT version. Pascal Obry 2006-02-01 17:51:27 +00:00
  • 15738b99b5 Remove CVS tags. Part of work for EC08-005. Pascal Obry 2005-12-17 17:24:48 +00:00
  • 103014a5ea Remove CVS tags. Part of work for EC08-005. Pascal Obry 2005-12-17 16:52:21 +00:00
  • 4dac752609 Removed, it is always possible to generate those files with cvs2cl. Pascal Obry 2005-12-17 16:46:51 +00:00
  • d668b88158 Remove CVS tags. Part of work for EC08-005. Pascal Obry 2005-12-17 16:40:01 +00:00
  • 5f160d2dfa Fix entry ("name" -> "Florian Villoing") Pascal Obry 2005-12-08 07:23:22 +00:00
  • 577fa5bef0 Update baseline. For E614-006. Florian Villoing 2005-12-05 13:58:37 +00:00
  • a0d412eda5 Add a test for lines that can only be splitted in the middle of a word. For E614-006. Florian Villoing 2005-12-05 13:58:11 +00:00
  • 1aca5b8616 New version. Florian Villoing 2005-12-05 13:56:19 +00:00
  • 15c78b8f81 (Wrap): If possible, do not split a line in the middle of a word. For E614-006. Florian Villoing 2005-12-05 13:55:44 +00:00
  • 42a010684a New version. Pascal Obry 2005-11-20 11:35:33 +00:00
  • b854fb872f (Wap): Add missing unreferenced pragma for T and I. Continued work for E614-006. Pascal Obry 2005-11-20 11:35:22 +00:00
  • 31c0a43779 New test for the WRAP filter. For E614-006. Florian Villoing 2005-11-18 17:59:10 +00:00
  • 1aa23c77b9 Add documentation for the new WRAP Filter. For E614-006. Florian Villoing 2005-11-18 17:50:49 +00:00
  • 28176a0543 New version. Florian Villoing 2005-11-18 17:50:18 +00:00
  • f21399f9bb (Wrap_Token): New constant. (Table): Add an entry for Wrap. Minor reformating. (Wrap): First implementation of the filter. For E614-006. Florian Villoing 2005-11-18 17:50:02 +00:00
  • 7585304325 (Filter.Mode): Add Wrap. (Wrap): New filter subprogram. For E614-006. Florian Villoing 2005-11-18 17:49:53 +00:00
  • f445bd0a4f Rewrite first pages, more inline with others AdaCore documentations. (TPEXP): New MACRO used for all cartouche/smallexample/group. In the HTML case we do not add the cartouche as this is part of the CSS. Use this macro instead of inlined code. Remove all "@sp 1" formatting command needed for previous version of tools. Add copyright information for 1995-2005. gps-3.1.3 gps-3.1.2 gps-3.1.1 gps-3.1.0 Pascal Obry 2005-11-01 23:33:37 +00:00
  • 40ae5ccba8 Change to use TPEXP macro when needed. Pascal Obry 2005-11-01 23:31:33 +00:00
  • d84a091e1a (MAKEINFO): New variable initialized with a shell command. (DVIPS): Idem. (TEXI2DVI): Idem. (PDFTEX): Idem. (%.pdf): Do not build the PDF documentation from PostScript one, use directly DVIPS's -p option. (%.html): Building the HTML documentation using tp.css. (%.adb.res): Generate code using the TPEXP macro. Improve all the rules to build the documentations and try to build only of the needed tool is available otherwise we display a clear error message. Pascal Obry 2005-11-01 23:31:06 +00:00
  • 6d270071e6 Added .gpssnprj Emmanuel Briot 2005-10-21 10:06:07 +00:00
  • af3bf34431 New version. Pascal Obry 2005-10-04 16:10:00 +00:00
  • 2d35ffc027 Add a with/use clause for Ada.Strings.Unbounded to be able to build using GNAT GPL and GNAT 5.03a1. This is to work around a visibility problem on these version of GNAT. Pascal Obry 2005-10-04 16:09:49 +00:00
  • b3981d8dce HEAD is now Ada95 compatible (merged from ada95 branch) The Ada 2005 code is now in the ada05 branch. Pascal Obry 2005-10-03 12:20:09 +00:00
  • e7dd708d6d Minor project clean-up in case statement (use null as now supported since GNAT 5.03) Pascal Obry 2005-09-23 10:04:04 +00:00
  • aa7befc508 New version. Pascal Obry 2005-09-21 12:30:20 +00:00
  • 91b1dd2707 Fix obvious error in previous check-in. Pascal Obry 2005-09-21 12:30:11 +00:00
  • 16852337b6 New version. Pascal Obry 2005-09-21 11:51:34 +00:00
  • d23b92ef97 Removes redundant with clauses found by -gnatwr. Pascal Obry 2005-09-21 11:51:27 +00:00
  • 41d93594f8 (Next_Token): Removes redundant with clauses found by -gnatwr. Pascal Obry 2005-09-21 11:51:22 +00:00
  • 93cf6efab2 New version. Pascal Obry 2005-09-16 10:10:09 +00:00
  • 374157d60c Fix call to Replace_Element to conform to the latest spec. Fix build failure with recent GNAT versions. Minor reformatting. Pascal Obry 2005-09-16 10:09:50 +00:00
  • 310603fd8f New version. Pascal Obry 2005-09-15 20:47:33 +00:00
  • 3cd3ae1fbf (Analyze): Clean-up code by using Ada.Containers Include instead of Find/Has_Element/Replace_Element/Insert. Pascal Obry 2005-09-15 20:47:10 +00:00
  • 1e5eeaf724 Minor reformating. Update copyright notice. Pascal Obry 2005-09-15 08:10:30 +00:00
  • 31c1f4050d Change to use the standard Ada.Containers instead of the temporary AI302 implementation. Pascal Obry 2005-09-15 08:09:02 +00:00