Commit Graph

  • aa66d78505 .github/workflows/main.yml: use release tag for ada-actions/toolchain Fabien Chouteau 2020-06-09 16:59:14 +02:00
  • c6f05c68de Use correct subtype to avoid exception on zero length. Vadim Godunko 2020-06-09 12:08:05 +03:00
  • 688978631d Provide implementation of the equal operator. Vadim Godunko 2020-06-09 12:06:40 +03:00
  • 6bf06eb192 Has_Element function for character iterator. Vadim Godunko 2020-06-09 10:11:55 +03:00
  • 33e886a365 Rename Magic_Character to Virtual_Character Vadim Godunko 2020-06-07 21:19:44 +03:00
  • 0c32eb34f6 Rename Magic_String to Virtual_String. Vadim Godunko 2020-06-07 21:18:14 +03:00
  • e5ef6338a3 Rename Magic to VSS. Vadim Godunko 2020-06-07 21:15:51 +03:00
  • b06d15f5c5 Fix failure when JSON data contains trailing whitespaces. Vadim Godunko 2020-06-05 18:37:35 +03:00
  • 22d61cb8f4 Compare result and expected data without CRLF/LF transformations. Vadim Godunko 2020-06-05 18:30:35 +03:00
  • 684ac4af79 Disable CRLF/LF translation for expected data. Vadim Godunko 2020-06-05 18:20:40 +03:00
  • 9b7ba2e271 Attempt to fix tests on Windows. Vadim Godunko 2020-06-03 15:09:15 +03:00
  • f30ba74536 Add test covarage reports Maxim Reznik 2020-06-03 14:26:24 +03:00
  • ad502bb28f Setup CI with a GitHub Action Workflow Maxim Reznik 2020-06-03 13:41:13 +03:00
  • 07c3aaedbf T519-024 Update README.md Vadim Godunko 2020-06-03 13:48:16 +03:00
  • c20e927a65 Reclassify as pure package Vadim Godunko 2020-05-26 16:04:55 +03:00
  • 1177aebdc0 Fix typo. Vadim Godunko 2020-05-26 16:04:13 +03:00
  • d46ae06580 Provide in-place string handler. Vadim Godunko 2020-05-26 15:46:24 +03:00
  • 10c495b5c6 Reconstruct string data to have in place storage. Vadim Godunko 2020-05-26 12:55:01 +03:00
  • 6fec9839f3 Limit maximum amount of characters and graphemes. Vadim Godunko 2020-05-26 10:29:47 +03:00
  • 8e275ba1af Separate string data and string data handler. Vadim Godunko 2020-05-26 09:56:37 +03:00
  • 74ff75a1bc Deallocate previously used memory segment. Vadim Godunko 2020-05-26 09:54:12 +03:00
  • 76ca95b6c9 Separation of string handler and string data. Vadim Godunko 2020-05-21 23:01:02 +03:00
  • f78f77d91e Add GPL Runtime Exception Vadim Godunko 2020-05-21 18:03:42 +03:00
  • d2ae313abb Add error reporting for some cases. Vadim Godunko 2020-04-24 17:39:36 +03:00
  • c3d1497328 Add n_object test cases. Vadim Godunko 2020-04-24 17:39:14 +03:00
  • 57222ab219 Remove unused code. Vadim Godunko 2020-04-24 00:15:31 +03:00
  • 97d04f8cd3 Report error when there is no enough amount of code units availabe Vadim Godunko 2020-04-24 00:04:43 +03:00
  • 7d686f3b93 Various fixes of parsing of numbers. Vadim Godunko 2020-04-24 00:04:15 +03:00
  • 13f2ecb24f Enable 'n_number' tests. Vadim Godunko 2020-04-24 00:03:47 +03:00
  • 28f8aaa579 Remove unused code. Vadim Godunko 2020-04-23 19:25:11 +03:00
  • 784414549c Invalid/Premature_End_Of_Document state only allowed in incremental mode. Vadim Godunko 2020-04-23 19:14:26 +03:00
  • 261eff556b Cleaup of Parse_Value. Vadim Godunko 2020-04-23 19:13:06 +03:00
  • 50adfaf018 Check whether expected output is available and ignore test Vadim Godunko 2020-04-23 13:39:38 +03:00
  • 0693c0f909 Fix processing in case of failure. Vadim Godunko 2020-04-23 12:39:30 +03:00
  • 1a0aa0d626 Return error then some test fails Vadim Godunko 2020-04-23 12:37:19 +03:00
  • ac938deefe Add support for error reporting. Vadim Godunko 2020-04-23 12:11:12 +03:00
  • 2ce9e972ce Various 'invalid UTF-8' tests Vadim Godunko 2020-04-23 12:10:00 +03:00
  • 89eb3f00fa Pass text stream's errors to application. Vadim Godunko 2020-04-23 11:37:13 +03:00
  • 928b038fbd Add Is_Null subprogram. Vadim Godunko 2020-04-23 11:32:30 +03:00
  • 84b56009eb Enchance Text_Input_Stream to report error states. Vadim Godunko 2020-04-23 11:31:03 +03:00
  • 7701890ac7 Various fixes found by 'n_incomplete' group. Vadim Godunko 2020-04-22 15:41:15 +03:00
  • 38bca369ea Tests for 'n_incomplete' gorup. Vadim Godunko 2020-04-22 15:39:56 +03:00
  • 4aa57b27ef Remove counting of the nesting level, it is not used anymore. Vadim Godunko 2020-04-22 12:26:36 +03:00
  • 3278b8af7e Various fixes found by 'n'/'array' testcases. Vadim Godunko 2020-04-22 12:24:19 +03:00
  • 0a2506cb17 'n'/'array' testcases Vadim Godunko 2020-04-22 12:21:09 +03:00
  • 7defd3fda1 Remove 'executable' attribute. Vadim Godunko 2020-04-22 10:33:07 +03:00
  • 1e917bd604 'i'/'string' tests. Vadim Godunko 2020-04-21 21:08:48 +03:00
  • 08a6fcb5ca More error diagnostics. Vadim Godunko 2020-04-21 21:08:34 +03:00
  • 82e37b794d 'i'/'object' tests Vadim Godunko 2020-04-21 20:49:38 +03:00
  • b8409216b0 Add implementation of At_End function. Vadim Godunko 2020-04-21 20:47:58 +03:00
  • 025ebfdd68 Don't save state stack in case of error. Vadim Godunko 2020-04-21 19:21:57 +03:00
  • b05618e4a6 Subprogram to get error message. Vadim Godunko 2020-04-21 19:04:19 +03:00
  • 9bf8ed4d7e Report error when alone low surrogate code point is present. Vadim Godunko 2020-04-21 18:54:01 +03:00
  • 9df6a71bb5 Some 'i' tests of 'number' group. Vadim Godunko 2020-04-21 15:03:17 +03:00
  • d548592fc7 Extend JSON_Number to carry image of arbitrary number. Vadim Godunko 2020-04-21 14:50:54 +03:00
  • 41ec540e7f "string" tests of JSONTestSuite Vadim Godunko 2020-04-21 14:34:49 +03:00
  • cc3ae83e18 "structure" tests from JSONTestSuite. Vadim Godunko 2020-04-21 14:26:11 +03:00
  • 3cc9739131 PASS tests of JSON_checker. Vadim Godunko 2020-04-21 14:25:41 +03:00
  • 73e2b94618 Use bracket form to represent standard wide characters Vadim Godunko 2020-04-21 13:55:13 +03:00
  • 486b03999b Remove use of GNATCOLL, it is not available on Tracis CI. Vadim Godunko 2020-04-21 13:37:14 +03:00
  • 51d4bf00b3 Remove debug output. Vadim Godunko 2020-04-21 12:09:05 +03:00
  • 1ecd3711d7 Increase stack size. Vadim Godunko 2020-04-21 12:07:52 +03:00
  • 4baeda88ed Fix failuire detected by pass3.json test Vadim Godunko 2020-04-21 11:59:16 +03:00
  • 5c233f8cc8 Use script to run test and report status. Vadim Godunko 2020-04-21 11:58:24 +03:00
  • 6cbe97a5d2 Add JSON_checker testsuite Vadim Godunko 2020-04-21 11:00:55 +03:00
  • 7ec7f64e19 Add mode to test performance. Vadim Godunko 2020-04-21 10:34:38 +03:00
  • 986509f6e3 Test driver to test performance of GNATCOLL.JSON. Vadim Godunko 2020-04-21 10:33:53 +03:00
  • 7376315186 Add separate 'build_tests' target Vadim Godunko 2020-04-21 10:32:42 +03:00
  • c0a4f34686 Allow whitespaces before key delimiter. Vadim Godunko 2020-04-20 20:20:28 +03:00
  • 61c552c44e Report boolean and number values. Vadim Godunko 2020-04-18 10:56:05 +03:00
  • c918012c3b Execute all tests Vadim Godunko 2020-04-18 10:55:42 +03:00
  • 9d15b5960c Convert number value and allow to obtain it. Vadim Godunko 2020-04-18 08:25:01 +03:00
  • e2e03a7322 Allow access to parsed boolean value. Vadim Godunko 2020-04-18 01:29:31 +03:00
  • e68ec8bb5c Report string data. Vadim Godunko 2020-04-18 00:28:28 +03:00
  • 3f9809e901 Subprograms to obtain string data. Vadim Godunko 2020-04-18 00:28:08 +03:00
  • 6cf6fb45f2 Decode and accumulate string data. Vadim Godunko 2020-04-18 00:12:30 +03:00
  • 174ca74a8b Test data for JSON parser and make target to run tests Vadim Godunko 2020-04-17 21:39:55 +03:00
  • c45fff732f Fix processing lonely value Vadim Godunko 2020-04-17 21:25:19 +03:00
  • 73c61fe55a Use new subprogram to convert stream element buffer to string. Vadim Godunko 2020-04-17 21:12:29 +03:00
  • 3d77a9ab91 Test driver for JSON_Simple_Reader. Vadim Godunko 2020-04-17 21:09:57 +03:00
  • 46cac20811 Parse string content. Vadim Godunko 2020-04-17 20:09:19 +03:00
  • 0504db8b46 Various fixes of the parser. Vadim Godunko 2020-04-17 17:18:02 +03:00
  • f32e0dc547 Enable gcov and codecov.io Maxim Reznik 2020-04-17 19:00:56 +03:00
  • e83a5f2ee7 Detect end of document. Vadim Godunko 2020-04-17 00:32:53 +03:00
  • 38c9dec06c Subprogram to check for end of data and end of stream. Vadim Godunko 2020-04-17 00:26:19 +03:00
  • 4bbb820a91 Subprogram to return current error. Vadim Godunko 2020-04-16 22:24:41 +03:00
  • 7928e62d5e Remove unused definitions. Vadim Godunko 2020-04-16 22:23:33 +03:00
  • ba7b7ee998 Fix incremental parsing. Vadim Godunko 2020-04-16 22:23:16 +03:00
  • 6fd99389da Missing file. Vadim Godunko 2020-04-16 20:48:07 +03:00
  • 0cb116eb25 Initial implementation of JSON parser. Vadim Godunko 2020-04-16 19:53:11 +03:00
  • 8bcef59039 Implement Has_Error subprogram for interface type. Vadim Godunko 2020-04-16 09:30:13 +03:00
  • 1d16157c08 Missing Key_Name function. Vadim Godunko 2020-04-16 09:28:50 +03:00
  • 01c8fdf250 Rename function to match type name. Vadim Godunko 2020-04-16 09:16:20 +03:00
  • 53e41f8283 Rename Token_Type => Event_Type. Vadim Godunko 2020-04-15 12:20:51 +03:00
  • b1110719f4 Add implementation of Is_* functions. Vadim Godunko 2020-04-15 12:17:54 +03:00
  • db1677f8f1 Subprogram to convert content of the stream element buffer to string. Vadim Godunko 2020-04-14 20:41:32 +03:00
  • 6de49e19dd API of JSON stream reader. Vadim Godunko 2020-04-14 20:26:36 +03:00
  • 1c34405beb Function to get stream element at given index. Vadim Godunko 2020-04-14 13:05:25 +03:00
  • e109f74ad1 Data type for JSON event. Vadim Godunko 2020-04-13 23:22:01 +03:00
  • eefb6354a7 Data type to represent JSON number. Vadim Godunko 2020-04-13 23:21:08 +03:00