Commit Graph

  • 5c1ec78c84 Add Constant_Indexing and Default_Iterator aspects Maxim Reznik 2020-11-25 20:21:47 +02:00
  • 14ca92069a Make Cursor private. Maxim Reznik 2020-11-25 19:39:59 +02:00
  • d1e0b097ee Move project files for tests into subdirectory. Vadim Godunko 2020-11-24 17:20:13 +03:00
  • 0dd1228a02 Add note. Vadim Godunko 2020-11-18 22:08:38 +03:00
  • e0fd9c7df2 Rename project file for stream tests. Vadim Godunko 2020-11-18 22:07:47 +03:00
  • 1ede4ddd52 Rename GNATCOLL_Text to VSS. Vadim Godunko 2020-11-18 18:08:19 +03:00
  • f442cac321 Remove gnatcoll_text.gpr file. Vadim Godunko 2020-11-18 18:07:17 +03:00
  • 5a993331b9 Check escaping of characters in string values in case of failures. Vadim Godunko 2020-11-17 20:31:42 +03:00
  • a8bd7b4a99 Automated test for Content_Handler's convenience subprograms. Vadim Godunko 2020-11-17 19:32:42 +03:00
  • 910d04f79d Move all convenience subprograms to Content_Handler. Vadim Godunko 2020-11-17 19:07:20 +03:00
  • dcabeb11d9 Additional case for coverage. Vadim Godunko 2020-11-17 18:51:14 +03:00
  • 7b8c80accd Generate number value with Number_Value subprogram. Vadim Godunko 2020-11-17 17:32:12 +03:00
  • f47941ab99 Check JSON writer on failures of the output stream. Vadim Godunko 2020-11-16 19:57:28 +03:00
  • 83421b04f6 Fix compiler's warning. Vadim Godunko 2020-11-17 08:11:56 +03:00
  • 905c73d871 Fix compiler's warning. Vadim Godunko 2020-11-17 05:15:08 +03:00
  • 07c8f5655c Allow to limit amount of successfully processed characters. Vadim Godunko 2020-11-16 19:56:34 +03:00
  • f86a1385b6 Ignore any failures in End_Document, but report internal failures. Vadim Godunko 2020-11-16 19:54:15 +03:00
  • 3754369377 Drop dependencies from gnatcoll_text.gpr. Vadim Godunko 2020-11-17 09:23:00 +03:00
  • f224f45a9a Update ada-actions/toolchain to fix CI Maxim Reznik 2020-11-17 10:42:58 +02:00
  • 99a1f92d1b Remove compiler's warnings. Vadim Godunko 2020-11-16 15:24:41 +03:00
  • 0415709b28 TB02-042 Automated test for empty string values. Vadim Godunko 2020-11-10 09:33:17 +03:00
  • 9538cc94e7 TB02-042 Fix missign closing quotation mark for empty string value Vadim Godunko 2020-11-10 09:32:29 +03:00
  • 2a9534c66e Minor reformatting. Vadim Godunko 2020-11-10 09:24:08 +03:00
  • 4315037aca TB02-042 Use internal string API to improve performance. Vadim Godunko 2020-11-09 10:38:06 +03:00
  • e7b1a0f124 TB02-042 Remove use of anonymous access type. Vadim Godunko 2020-11-09 10:10:58 +03:00
  • 595b9e9d26 TB02-042 Read current character only once Vadim Godunko 2020-11-06 10:35:08 +03:00
  • f2f5e78695 TB02-042 Remove use of anonymous access type for string handlers Vadim Godunko 2020-11-06 10:33:15 +03:00
  • 8729359dd6 TA19-032 Add a padding bit to the String_Data record Nicolas Setton 2020-10-20 18:17:20 +01:00
  • e9f38f91b5 Fix style warnings in tests. Maxim Reznik 2020-10-14 15:28:41 +03:00
  • 1361c3587b Ada 2012 user-defined iterator for string vector Maxim Reznik 2020-10-12 15:15:00 +03:00
  • dd2d199ac2 T714-004 Fix compiler's warning Vadim Godunko 2020-10-14 17:21:34 +03:00
  • bab532b647 T714-004 Enchance test cases to cover all code of UTF8 string handler Vadim Godunko 2020-10-14 10:05:39 +03:00
  • 632fe89fae T714-004 Code refactoring Vadim Godunko 2020-10-13 22:41:30 +03:00
  • 6421037073 T714-004 Initial automated test for Virtual_String_Vector. Vadim Godunko 2020-10-13 22:08:27 +03:00
  • 3b4fcbbf25 T714-004 Append subprogram for Virtual_String_Vector. Vadim Godunko 2020-10-13 22:07:45 +03:00
  • 433e2a05dd T714-004 Use old data to check counter's value. Vadim Godunko 2020-10-13 22:07:18 +03:00
  • 6b6a8191cd Fix link in the README.md Maxim Reznik 2020-06-05 20:15:43 +03:00
  • ac93f7a74e T714-004 Use null string for empty segments. Vadim Godunko 2020-10-12 01:00:18 +03:00
  • c8e4467d79 T714-004 Don't do unnecessary Reference/Unreference operations. Vadim Godunko 2020-10-12 00:57:26 +03:00
  • f18bb15833 T714-004 Fix processing of CR-LF-CR sequence at the end. Vadim Godunko 2020-10-12 00:32:12 +03:00
  • 395f63cf7e Add Constant_Indexing aspect to Virtual_String_Vector Maxim Reznik 2020-10-12 10:48:18 +03:00
  • b3dde94bd6 Variable to include coverage switches to remove tests from coverage Vadim Godunko 2020-10-11 21:14:48 +03:00
  • f398c9a054 T714-004 Implementation of Split_Lines Vadim Godunko 2020-10-09 17:30:37 +03:00
  • 802f959bf7 T714-004 Length function for Virtual_String_Vector. Vadim Godunko 2020-10-11 20:36:09 +03:00
  • 7a0a204296 T714-004 Element function for Virtual_String_Vector Vadim Godunko 2020-10-11 20:28:58 +03:00
  • 3d7991cfe6 T714-004 Fix crash on null string in string vector Vadim Godunko 2020-10-11 20:30:54 +03:00
  • dd944c9ff4 T714-004 Rename to Empty_Virtual_String. Vadim Godunko 2020-10-11 19:43:10 +03:00
  • 633aca270d T714-004 Do nothing for null data. Vadim Godunko 2020-10-09 12:14:02 +03:00
  • 3c0cf1e0f1 Minor reformatting. Vadim Godunko 2020-10-09 10:57:35 +03:00
  • 5290edfe97 T714-004 Stub for Virtual_String_Vector. Vadim Godunko 2020-10-09 00:09:54 +03:00
  • 1f36ddfb8f T714-004 Rename string handler configuration package. Vadim Godunko 2020-10-08 23:35:14 +03:00
  • 2d7a17550b T714-004 Use To_Virtual_String to create initial object on Append Vadim Godunko 2020-09-03 19:51:29 +03:00
  • 3f9a2af4be Add implementation for Skip_Current_Value, Maxim Reznik 2020-10-02 15:32:55 +03:00
  • 76fd1e8ff2 T714-004 Separate text processing tests Vadim Godunko 2020-10-05 20:32:18 +03:00
  • ecffa85b1e T714-004 Separate JSON tests Vadim Godunko 2020-10-05 20:15:08 +03:00
  • 9408ba90a9 T714-004 Split into subprojects Vadim Godunko 2020-10-05 19:54:22 +03:00
  • 46b38d247f Use newer ada-actions/toolchain lts-21 21.2 21.1 21.0 21-sustained Maxim Reznik 2020-09-03 20:10:31 +03:00
  • 2e2e7235ae Minor reformatting. Vadim Godunko 2020-09-03 19:33:12 +03:00
  • 8ca0688b63 Remove redundant use clause. Vadim Godunko 2020-09-03 19:31:47 +03:00
  • dc307e9d0f T714-004 Append operation for in place UTF8 string handler. Vadim Godunko 2020-09-03 19:29:49 +03:00
  • 0c517cabbb T714-004 Remove Virtual_String_Buffer Vadim Godunko 2020-09-03 18:57:23 +03:00
  • 2b7c44dff7 Rename To_Magic_String to To_Virtual_String. Vadim Godunko 2020-07-20 11:33:40 +03:00
  • e711eb13b3 Rename discriminant to avoid use same identifier Vadim Godunko 2020-07-17 17:45:23 +03:00
  • 24a005fbc8 T708-017 Use Virtual_String_Buffer to accumulate data. Vadim Godunko 2020-07-16 21:47:34 +03:00
  • ffca74b32d Use To_Virtual_String for conversion. Vadim Godunko 2020-07-16 21:39:29 +03:00
  • 36c3696b8e T708-017 Clear subprogram for Virtual_String_Buffer. Vadim Godunko 2020-07-16 21:21:53 +03:00
  • f09cf46976 Fix conversion of the "null" string... Vadim Godunko 2020-07-16 21:18:39 +03:00
  • ff90a2d9b3 T708-017 Initial implementation of Virtual_String_Buffer Vadim Godunko 2020-07-16 14:13:34 +03:00
  • 134cd4117e Allocate memory in blocks to use it efficiently. Vadim Godunko 2020-07-16 13:50:05 +03:00
  • 379e57c24c T717-008 Move code to prevent integer overflow Vadim Godunko 2020-07-17 16:21:14 +03:00
  • e56ee6183f Rename test. Vadim Godunko 2020-07-15 12:03:00 +03:00
  • d00f452497 Enhance test to cover both in-place and allocation handlers Vadim Godunko 2020-07-15 11:57:55 +03:00
  • 77881cc028 T714-004 Code refactoring to share UTF-8 encoder code. Vadim Godunko 2020-07-15 11:19:34 +03:00
  • c982a7f602 T714-004 Conversion function to create Virtual_String Vadim Godunko 2020-07-15 00:46:24 +03:00
  • bf39f05b94 T714-004 Hash function for Virtual_String. Vadim Godunko 2020-07-14 22:20:25 +03:00
  • 67b173cd61 T708-017 Code refactoring, move string handler into package. Vadim Godunko 2020-07-09 00:13:44 +03:00
  • 9e1daef121 (style) Split lines that are too long topic/style Nicolas Setton 2020-07-13 10:48:32 -04:00
  • d276e88bf5 Starts subprogram for strings. Vadim Godunko 2020-07-08 12:45:21 +03:00
  • 2d1aac7cfb Operators to compare strings in binary order Vadim Godunko 2020-07-08 10:01:17 +03:00
  • 2497f64489 Test for text streams. Vadim Godunko 2020-06-28 22:56:01 +03:00
  • 8466a897d7 Add a cache for GNAT installation. Maxim Reznik 2020-06-24 18:41:27 +03:00
  • fa9203970e Testcase for quotation mark and backslash. Vadim Godunko 2020-06-28 17:54:15 +03:00
  • adcc2bcdc1 Automated test for control characters inside JSON string value Vadim Godunko 2020-06-28 17:38:55 +03:00
  • 4f233103b7 Generate escape sequences for control characters. Vadim Godunko 2020-06-28 17:33:50 +03:00
  • 5ec2dbefba Test more JSON constructs to enhance coverage. Vadim Godunko 2020-06-28 17:23:30 +03:00
  • 3875ede541 Move test data into own package. Vadim Godunko 2020-06-28 17:03:43 +03:00
  • bad4a15931 Change of the cursor semantic, initially cursor points before first element. Vadim Godunko 2020-06-23 15:45:50 +03:00
  • 16661578b6 Code refactoring: provide function to get handler of data. Vadim Godunko 2020-06-13 14:20:53 +03:00
  • 21601dfe88 T617-032 Test for assignment of stream element buffers. Vadim Godunko 2020-06-28 09:28:35 +03:00
  • 64b06fefd8 T617-032 Automated test for element iterator. Vadim Godunko 2020-06-28 09:25:07 +03:00
  • 6192e2fdf1 T617-032 Index subprogram for cursor. Vadim Godunko 2020-06-28 09:24:35 +03:00
  • 9abfba0df2 T617-032 Use correct operator to check index. Vadim Godunko 2020-06-28 09:23:40 +03:00
  • 318bafaacc T611-032 Iterator for Stream_Element_Buffer. Vadim Godunko 2020-06-25 16:30:42 +03:00
  • 43e8c585d5 T611-032 Function to get number of characters in the string. Vadim Godunko 2020-06-12 23:38:02 +03:00
  • d2bd0f659b Add stack check option to dev build mode. Maxim Reznik 2020-06-12 22:26:27 +03:00
  • 8c727c5800 Fix compiler warnings. Vadim Godunko 2020-06-11 17:00:35 +03:00
  • 060805a9bc Code refactoring Vadim Godunko 2020-06-11 18:41:12 +03:00
  • 0443dfb4c0 Code refactoring. Vadim Godunko 2020-06-11 18:14:41 +03:00
  • 7e7e007d77 Code refactoring. Vadim Godunko 2020-06-11 18:04:25 +03:00
  • 7f07b7f5ef Add BUILD_MODE scenario variable. Maxim Reznik 2020-06-10 23:59:48 +03:00