1. 16 May, 2019 4 commits
  2. 10 May, 2019 1 commit
  3. 19 Aug, 2017 4 commits
  4. 04 Aug, 2017 1 commit
  5. 07 Feb, 2017 2 commits
  6. 31 Oct, 2016 1 commit
  7. 14 Aug, 2016 2 commits
  8. 12 Aug, 2016 2 commits
  9. 31 Jan, 2016 3 commits
  10. 24 Jan, 2016 2 commits
  11. 21 Jan, 2016 6 commits
  12. 18 Jan, 2016 1 commit
  13. 17 Jan, 2016 5 commits
  14. 16 Jan, 2016 4 commits
    • Philip Withnall's avatar
      tests: Add more schema parsing tests using a variety of real schemas · c5f1c371
      Philip Withnall authored
      Grabbed various schemas off the internet, including a huge number from
      Google’s API Discovery service. Feed them into the parser and see what
      breaks.
      c5f1c371
    • Philip Withnall's avatar
      utilities: Print more error messages from json-schema-validate · ca7fe7ed
      Philip Withnall authored
      Print more and more detailed messages from the validation process.
      ca7fe7ed
    • Philip Withnall's avatar
      lib: Expand error reporting for schema validation · 12f25da4
      Philip Withnall authored
      Instead of reporting a single error for the entirety of the validation
      process of a schema, return an array of errors, covering all things the
      validator was able to check (i.e. proceeding past the first error).
      Errors are returned in a new WblValidateMessage struct, which contains
      more information than a GError, such as the relevant specification
      section, and the JsonNode which caused the problem.
      
      The error returned by wbl_schema_load_from_stream() and friends is now a
      generic error which is set if any errors are returned by the validator.
      
      This breaks ABI by changing the definition of WblSchemaClass. It also
      adds new API:
       • wbl_schema_get_validate_messages()
       • WblValidateMessageLevel
       • WblValidateMessage
       • wbl_validate_message_copy()
       • wbl_validate_message_free()
       • WBL_SCHEMA_CORE
       • WBL_SCHEMA_VALIDATION
      12f25da4
    • Philip Withnall's avatar
  15. 12 Jan, 2016 1 commit
    • Philip Withnall's avatar
      lib: Combine two floating point paths · 52e873bd
      Philip Withnall authored
      Since json-glib has potentially introduced an error when converting the
      string representation of an integeric or floating point instance or
      schema value to a double, we always have to account for both the error
      in i and s, so we might as well combine the code paths.
      
      Add a negative test to check that the next floating point number after
      the factor doesn’t divide.
      52e873bd
  16. 11 Jan, 2016 1 commit