Commit Graph

  • 22a934ed6d Document the new (upward compatible) INLINE syntax. Pascal Obry 2005-03-30 16:27:03 +00:00
  • d924bbd9ee New version. Pascal Obry 2005-03-30 16:21:54 +00:00
  • fa5ab086da (Node) [Inline_Stmt]: Add Before and After field. (Get_Tag_Parameter): Improve to support any number of tag parameter. (Get_Tag_Parameter_Count): New routine. (Parse): Handle the new INLINE tag parameters before/after text. (Analyse): Idem. This new INLINE tag command permit a finer control on the layout. Pascal Obry 2005-03-30 16:21:37 +00:00
  • ad63dee97b New version. Pascal Obry 2005-03-28 18:19:26 +00:00
  • cc38262081 (TESTS): Add testme67. Pascal Obry 2005-03-28 18:19:13 +00:00
  • 4a28d5d733 Initial revision. Pascal Obry 2005-03-28 18:18:51 +00:00
  • b2f4491ae9 (Get_Tag_Parameters): Add parameter Default. It is now possible to pass an empty string to the INLINE tag command. Pascal Obry 2005-03-28 18:17:33 +00:00
  • 459026e314 Document new REPEAT form. Pascal Obry 2005-03-28 17:21:09 +00:00
  • db3b03d41b (TESTS): Add testme66. Pascal Obry 2005-03-28 17:19:58 +00:00
  • da39ddbee6 Initial revision. Pascal Obry 2005-03-28 17:19:37 +00:00
  • a3d8e14e5d Add VAR6. Pascal Obry 2005-03-28 17:16:18 +00:00
  • f5f00a83a0 New version. Pascal Obry 2005-03-28 17:15:59 +00:00
  • 05e53dbc76 (No_Quote): Improve check to avoid Constraint_Error. Pascal Obry 2005-03-28 17:07:56 +00:00
  • a9f814d184 (Repeat): Change implementation to accept inverted parameters. It is now possible to do @_REPEAT(3):VAR_@ (repeat 3 times var content) and also @_REPEAT(x):VAR_@ (repeat 'x' a number of time corresponding to VAR value). (Value): Fix check to avoid Contraint_Error. Pascal Obry 2005-03-28 17:03:50 +00:00
  • cb5c7186d8 Add REVERSE index entry. Pascal Obry 2005-03-27 10:47:35 +00:00
  • 231e0841dc Change www.obry.org to www.obry.net. Pascal Obry 2005-03-27 10:42:40 +00:00
  • 2aaa8bd5a0 Change pascal@obry.org to pascal@obry.net. Pascal Obry 2005-03-27 10:40:08 +00:00
  • 26890a0f5b New version. Pascal Obry 2005-03-27 10:38:40 +00:00
  • 4c175dc587 Remove empty line before and after the content. Pascal Obry 2005-03-27 10:38:25 +00:00
  • 18ac20442a Add INLINE tag statement section. Work for E323-016. Pascal Obry 2005-03-27 10:38:00 +00:00
  • 2227aca9ac (TMPLT): Add table_inline.tmplt and if_inline.tmplt. Pascal Obry 2005-03-27 10:37:29 +00:00
  • 3783c1893a Remove first empty line. Pascal Obry 2005-03-27 10:36:55 +00:00
  • 897256488a Initial revision. Work for E323-016. Pascal Obry 2005-03-27 10:36:16 +00:00
  • 09c76e3c4b Add Table_Inline and If_Inline sources. Work for E323-016. Pascal Obry 2005-03-27 10:35:06 +00:00
  • 2c18e6077b (TESTS): Add testme65. (TESTS_TREE): Add testme64. Work for E323-016. Pascal Obry 2005-03-27 10:00:11 +00:00
  • da609a7e54 Initial revision. Pascal Obry 2005-03-27 09:59:18 +00:00
  • 4dd52901fc (Print_Tree): Handle new Inline_Stmt node. Work for E323-016. Pascal Obry 2005-03-27 09:56:05 +00:00
  • 50384a81a0 (Print_Tree): Adjust to handle inlined block. The inlined text node have no LF terminator now. Work for E323-016. Pascal Obry 2005-03-27 09:56:01 +00:00
  • 251b45388f (Inline_Token): New constant. (End_Inline_Token): Idem. (Nkind): Add Inline_Stmt. (Node): Add support for Inline_Stmt. (Get_Tag_Parameter): New function that returns the command tag parameter. This is currently used only for the new @@INLINE@@ command tag. (Is_Stmt): Rename With_Attributes parameter to Extended as used not only in the context of command tag attributes now. Improve check, should catch some more wrong syntax. (Parse_Mode): Add Parse_Inline. (Get_Tag_Attributes): Minor code cleanup. (Rewrite_Inlined_Block): New routine used after parsing an inlined block. This routine rewrite some part of the tree. This gives better performance as it avoids too much checks at rendering time. (Parse): Add support for inlined block. (Parse_State): Add field Inline_Sep. (Empty_State): Adjust accordingly. (Last_Was_Sep): New parse global status status. (Add) [String, Boolean]: Move one level upper as shared now. (Get_Max_Lines): Add support for new Inline_Stmt node. (Analyze): Add support for new Inline_Stmt node. Output the inline separators when needed. (Release): Add support for new Inline_Stmt node. Minor reformatting. Work for E323-016. Pascal Obry 2005-03-27 09:55:51 +00:00
  • cfb2e503c1 (Ide): Add support for CVS. Add missing header boxes. Pascal Obry 2005-03-03 21:55:00 +00:00
  • c68b677f5f (%.adb.res): Generates @smallexample inside the @cartouche otherwise the HTML output is not properly generated by recent makeinfo versions. Pascal Obry 2005-03-03 18:24:20 +00:00
  • 890d53ba7d Move @smallexample inside the @cartouche otherwise the HTML output is not properly generated by recent makeinfo versions. Pascal Obry 2005-03-03 18:23:43 +00:00
  • 7a4e57cbbf Generate @smallexample inside the @cartouche otherwise the HTML output is not properly generated by recent makeinfo versions. Pascal Obry 2005-03-03 18:23:17 +00:00
  • 1b347df486 New version. Pascal Obry 2005-02-28 19:09:06 +00:00
  • d4b15db13e Document the new WEB_ENCODE filter. Pascal Obry 2005-02-28 19:08:45 +00:00
  • 6a626290fa (Web_Encode_Token): New constant. (Table): Add Web_Encode. (Web_Encode): New routine. Pascal Obry 2005-02-28 19:08:18 +00:00
  • b0d5606ef5 (Mode): Add Web_Encode. (Web_Encode): New routine used to implement the new WEB_ENCODE filter. Pascal Obry 2005-02-28 19:08:14 +00:00
  • d6a096db2b Add new variable ACCENTS. Pascal Obry 2005-02-28 19:07:36 +00:00
  • b323bc02c1 Initial revision. Pascal Obry 2005-02-28 19:07:14 +00:00
  • 74b4b21526 (TESTS): Add testme63. Pascal Obry 2005-02-28 19:06:52 +00:00
  • 20a8a2df98 (ALL_OPTIONS): Pass TP_XMLADA. Pascal Obry 2005-02-25 22:24:03 +00:00
  • 327be1abab Remove use of GNAT.Traceback.Symbolic, not needed. Pascal Obry 2005-02-23 16:45:39 +00:00
  • 87f7d57ae7 New version. Pascal Obry 2005-02-17 21:27:59 +00:00
  • 002df3bacd (Open): Add exception message to help tracing missing files. Pascal Obry 2005-02-17 21:27:53 +00:00
  • e73421adde Removed. Was checked-in by error. Pascal Obry 2005-02-17 21:27:47 +00:00
  • 8af54065d7 (DIFF_ARGS): Use -w instead of --strip-trailing-cr which is GNU/diff specific. (test): Use proper variable to check for XML/Ada support. Pascal Obry 2005-02-16 21:41:49 +00:00
  • 893c370904 New version. Pascal Obry 2005-02-16 13:28:12 +00:00
  • a54dd7d719 Split CVS tag to avoid long lines. Pascal Obry 2005-02-16 13:27:49 +00:00
  • 23d6b0e0a1 New version. Pascal Obry 2005-02-16 12:18:50 +00:00
  • eb3b689fd9 (Get_Next_Line): Fix check for comment. In some cases an empty line after a comment was skipped. Pascal Obry 2005-02-16 12:18:44 +00:00
  • 99689f35b5 (clean): Remove genout. Pascal Obry 2005-02-16 11:31:09 +00:00
  • 695592791e Removed. Pascal Obry 2005-02-16 11:30:08 +00:00
  • 8698488aed Initial revision. Pascal Obry 2005-02-16 10:54:07 +00:00
  • 4e8ac1754e (Tasking_Type): New type. (Tasking): Use to select the tasking version (no-tasking or full-tasking). In the case of now tasking the tasking runtime is not dragged. (XMLAda_Type): New type. (XMLAda): Use to select unit that required XML/Ada module. (Naming): New package. Pascal Obry 2005-02-16 10:52:55 +00:00
  • a836edf4f3 New version. Pascal Obry 2005-02-16 10:48:56 +00:00
  • d7399f3237 (Cached_Files): Remove the protected object. This is now configurable to have a templates_parser version that does not drag the tasking runtime. Use new configuration unit to be able to use the templates engine alone or in the context of AWS. Pascal Obry 2005-02-16 10:48:47 +00:00
  • d2a45f48c5 Use new configuration unit to be able to use the templates engine alone or in the context of AWS. Pascal Obry 2005-02-16 10:48:39 +00:00
  • 3e0d549358 (Cached_Files): Remove the protected object. This is now configurable to have a templates_parser version that does not drag the tasking runtime. (Add): Add a call to the Tasking.Lock and Tasking.Unlock. (Get): Idem. (Release): Idem. Pascal Obry 2005-02-16 10:48:33 +00:00
  • db54181366 Initial revision. Pascal Obry 2005-02-16 10:45:31 +00:00
  • f322ea7c67 Initial revision Pascal Obry 2005-02-16 10:43:11 +00:00
  • 203b1b497f Initial revision. Pascal Obry 2005-02-16 10:34:47 +00:00
  • 2d227895c6 Do not set as a library project file Pascal Obry 2005-02-14 19:57:20 +00:00
  • 6c8a638899 Initial revison Pascal Obry 2005-02-13 11:10:14 +00:00
  • ce2b67b592 Added to keep the obj directory around. Arnaud Charlet 2005-02-13 10:38:38 +00:00
  • a4ecb7e1c6 Update copyright notice (2005 and AdaCore). Pascal Obry 2005-02-12 11:51:02 +00:00
  • c87c080ee4 Initial revision Pascal Obry 2005-02-12 11:34:10 +00:00
  • 40a96ed91c (Name_Parameter): Fully prefix the return value to avoid ambiguity detected by recent GNAT versions. (Check) [Include_Parameters]: New function. (Get_Max_Lines): Properly check the include parameters. This fix handling of include tag statement inside a table tag statement. Pascal Obry 2005-01-09 18:26:35 +00:00
  • 9c1048a179 (Parse_State_Access): New type. (Parse_State): New field Parent which reference the parent state. This is used for include parameter referencing an alias or a parent include parameter. (Empty_State): Update accordingly. (Translate) [Tag_Var]: Add parameter State. (I_Translate): Idem and properly handle reference to parent include parameters. (Analyse): Update all calls to Translate and I_Translate to pass the state. Also update recursive call to Analyse. Pascal Obry 2004-12-17 19:53:10 +00:00
  • 5acc89f0a3 (Field): Minor optimization. Pascal Obry 2004-12-17 07:52:11 +00:00
  • d936d6900f Output the table attributes only if set. Pascal Obry 2004-12-15 18:02:19 +00:00
  • a8fc6c7458 (A_Terminate_Sections_Token): New constant. (A_Reverse_Token): New constant. (Node) [Table_Stmt]: Add field Reverse_Index. (Clear): Remove code for Position. (Initialize): Idem. (Finalize): Idem and initialize the new Tag_Nodes field. ("+") [String]: Remove code for Position and add support for new Tag_Nodes field. ("&") [*]: Idem. (Field): Create the fast access array to nodes if needed. Use it to return the proper element. (Count_Tag_Attributes): New routine to support attributes on tag commands. (Get_Tag_Attribute): Idem. (Is_Stmt): Update to handle tag attributes. (Parse): Add support for table TERMINATE_SECTIONS and REVERSE attributes. (Parse_State): Add Reverse_Index field. (Empty_State): Update accordingly. Pascal Obry 2004-12-15 18:02:12 +00:00
  • 06df1395b3 (Cursor): Removed. (Tag_Node_Arr): New type. (Tag_Node_Arr_Access): New type. (Tag_Data): Remove Position, add Tag_Nodes. Pascal Obry 2004-12-15 18:02:05 +00:00
  • 991cd33a44 (Quote): Fix style error. Pascal Obry 2004-12-14 21:54:07 +00:00
  • 9e7761de54 Initial revision. Pascal Obry 2004-12-14 21:33:04 +00:00
  • 2499f1baf1 (Print_Tree): Use new Quote procedure. Pascal Obry 2004-12-14 21:32:37 +00:00
  • ef2677308e Handle Set_Stmt. Fix handling of the include parameters now that we can have default values. Pascal Obry 2004-12-14 21:32:29 +00:00
  • 06a01f1765 (Quote): New routine. (Set_Token): New constant. (Definitions): New package. (NKind): Add Set_Stmt. (Node): Handle Set_Stmt case. (Load.Parse): Idem. (Translate) [Tag_Var]: Check the definition table before checking the translate table. (Analyse): Handle Set_Stmt case. (Release): Idem. Pascal Obry 2004-12-14 21:31:35 +00:00
  • 3767dd934b (Get_Next_Line): Properly increment the line number when skiping comments. Pascal Obry 2004-11-18 18:32:27 +00:00
  • fbe091b623 (Field): Fix test to detect Up_Level attribute going on or above the top level. Pascal Obry 2004-11-16 16:27:56 +00:00
  • fe5bd851b8 (File_Exists_Token): New constant. (Table): Add File_Exists filter. (File_Exists): New filter. Pascal Obry 2004-11-15 20:28:02 +00:00
  • ea410684a5 (Mode): Add File_Exists filter. (File_Exists): New filter. Pascal Obry 2004-11-15 20:27:41 +00:00
  • dccf6921f4 (Field): If Up_Level reference the top level (or above) we inline the variable. (Parse): Properly detect the case where TERMINATE_SECTIONS attribute is used but no section is defined. Pascal Obry 2004-11-15 20:02:48 +00:00
  • 5fb67d64d6 Minor comment fix. Pascal Obry 2004-11-14 16:16:27 +00:00
  • 8e4e96636c (Translate): Remove not needed check. Pascal Obry 2004-11-12 16:31:08 +00:00
  • da3ea4be2c (Attribute): Add Up_Level value. (Attribute_Data): New record composed of an attribute defintiion and its associated value. (Tag_Var): Use Attribute_Data instead of Attribute only. (Image): Add support for new Up_Level attribute. (Get_Attribute): Returns now an Attribute_Data instead of a simple Attribute. Handles new Up_Level attribute. (Field): Add parameter Up_Value used to compute value position. (Translate): Update to handle new Up_Level attribute. Pascal Obry 2004-11-12 16:09:15 +00:00
  • 2cf27b600a (Find): New routine used to find filter separator. (Unescape): New routine, removes \ for escaped characters in regpat replacement pattern. (Name_Parameter): Use it. (Get_Filter_Set): Returns the proper filter set slice. Pascal Obry 2004-11-11 21:12:03 +00:00
  • e40246d8d4 (Max_Token): New constant. (Min_Token): Idem. (Table): Add Min and Max filters. (Is_Number): Moved to parent package. (Max): New filter. (Min): Idem. Minor reformatting. Pascal Obry 2004-11-06 15:58:38 +00:00
  • cf94fefc3d (Is_Number): Moved here from Filter separate. (Filter): Add support for Min and Max filters. (Max): New filter. (Min): Idem. (Load_Include_Parameters): Handle now named include parameters. Pascal Obry 2004-11-06 15:58:32 +00:00
  • bd38eddb93 (For_Every_Association): New routine. Pascal Obry 2004-11-03 16:23:07 +00:00
  • e4d7e66208 (Abs_Token): New constant. (Table): Add Absolute abd Neg filters. (Is_Number): Add '-' as possible character. (Absolute): New filter. (Neg): New filter. Pascal Obry 2004-11-03 16:22:48 +00:00
  • 3358b19b01 (I_Kind): Removed. (Parameters_Data): Removed. (Include_Parameters): Change definition, this is cleaner. (Flatten_Parameters): Translate variable here, this is cleaner and it is possible to handle attributes. (I_Translate): Inherit attribute only if the tag has no attribute already definied. Handles include parameters with attribute. Pascal Obry 2004-10-26 19:12:02 +00:00
  • cc4384be12 (Value): Simplify code, the new include parameters set is now already translated. Pascal Obry 2004-10-26 19:11:57 +00:00
  • b9d507d7fa (Max_Include_Parameters): Moved to main body as it is shared by two different sub-packages. (I_Kind): New type. (Parameters_Data): New record. (Include_Parameters): New array. (No_Include_Parameters): New constant. (Callback): Add I parameter (flat include parameters). Idem for all filters prototypes. (Is_Number): New routine, moved here from filter body. (Translate): Add new parameter I_Params. (Analyse.Flatten_Parameters): New routine. (Parse_State): Add new field F_Params. (Empty_State): Update accordingly. (Analyse): In Translate and Analyse calls properly pass the F_Params state. Minor reformatting. This changes are made to support $<n> in filter parameters. Pascal Obry 2004-10-26 17:14:42 +00:00
  • 0fbdbad37a (Replace_One_Or_All): Add I parameters (include parameters). (Value): Idem. Properly detect $<n> filter name and check in this case the include parameter table. Add I parameters to all filter routines. In filter having a filter call Value with the include parameters. Pascal Obry 2004-10-26 17:14:36 +00:00
  • 41ba876c04 (Load_Include_Parameters): Fix test to properly handle the last include parameter if it has a single character. Pascal Obry 2004-10-16 10:22:27 +00:00
  • ea38dd2bf5 (Next_Token): Properly handle the "/" filter in if condition. Patch contibuted by Jean-Pierre Rosen. Pascal Obry 2004-10-15 18:04:37 +00:00
  • 1da3926e78 Fix output when there is only a common section in a block. release-9.0.0 Pascal Obry 2004-09-20 18:07:47 +00:00
  • 2e41501082 (Count_Sections): Fix algorithm. (Parse): In the Parse_Block case properly detect empty section. Rewrite a block with a single section with no common section as a simple common section. Properly check the table parameter, raise an exception if the parameter is not known. Check that, if a TERMINATE_SECTIONS is specified in a table, all blocks have the same number of sections otherwise raise an exception. Pascal Obry 2004-09-20 18:07:39 +00:00
  • 27924bddb5 (Begin_Token): New constant. (End_Token): Idem. (Nkind): Add Section_Block. (Node): Add Section_Block entry. Add variable Sections_Count to avoid recomputing this value for each rendering. (Parse_Mode): Add Parse_Block needed to support the new table's block feature. (Parse.Count_Sections): New routine. (Parse.Count_Blocks): New routine. (Load.Parse): Handle new Parse_Block mode. (Parse.Block_State): New type to keep track of the block status. Needed to have fast block/section handling. (Parse_State): Add field Block of type Block_State. (Get_Max_Lines.Count_Section): Removed from here, this is now computed at load time. (Get_Max_Lines): Handles new Section_Block node. (Analyse): Idem. (Release): Idem. Pascal Obry 2004-09-19 20:01:37 +00:00
  • eb906791eb Add output for the new Section_Block node. Pascal Obry 2004-09-19 20:01:32 +00:00