Commit graph

291 commits

Author SHA1 Message Date
Dave Longley 7be06f2ee2 Implement new experimental embed API.
- See: https://github.com/json-ld/json-ld.org/issues/377
2014-12-04 14:45:44 -05:00
Dave Longley 237a405175 Make it easier to run local (non-official) json-ld tests. 2014-12-04 14:45:17 -05:00
Dave Longley daed05a54b Fix off-by-one in context merging. 2014-12-03 14:56:23 -05:00
Dave Longley f252a5281c Start 0.4.4. 2014-12-03 02:07:13 -05:00
Dave Longley b80e4b80a5 Release 0.4.3. 2014-12-03 02:06:56 -05:00
Dave Longley 1a9c6bffdd Implement URL parsing/unparsing per RFC 3986.
- Section 5.3 Component Recomposition in RFC 3986 makes a
  differentiation between undefined components and empty
  components that the built-in parse_url in python does not. This
  patch deals with that issue and ensures, for instance, that
  empty queries and fragments are detected.
2014-12-03 02:05:03 -05:00
Dave Longley fed40914c8 Start 0.4.3. 2014-10-01 19:58:57 -04:00
Dave Longley bf504a1506 Release 0.4.2. 2014-10-01 19:58:42 -04:00
Dave Longley deb6afeac5 Skip array processing for keywords that aren't @graph or @list. 2014-10-01 19:58:06 -04:00
Dave Longley ea516341be Start 0.4.2. 2014-09-15 17:05:24 -04:00
Dave Longley d4ae67899d Release 0.4.1. 2014-09-15 17:05:08 -04:00
Dave Longley 8fb6a75e67 Ensure non-rdf:nil list node references are stored across graphs. 2014-09-15 17:04:50 -04:00
Dave Longley 8ca3291bc0 Start 0.4.1. 2014-07-29 13:41:15 -04:00
Dave Longley d071be64f1 Release 0.4.0. 2014-07-29 13:41:05 -04:00
Dave Longley 3402d51dff Add new framing features.
- Allow filtering based on a specific @id.
- Allow ducktyping matches on @type: [{}].
- Allow ducktyping matches when a @default is specified.
- Add @requireAll flag for controlling ducktyping requirements.
2014-07-29 13:40:31 -04:00
Dave Longley ba16da5b9f Start 0.3.8. 2014-07-29 13:17:36 -04:00
Dave Longley 01c37302f1 Bump version. 2014-07-29 13:14:58 -04:00
Dave Longley 964f2aef74 Fix bug w/blank nodes across graphs and RDF lists.
- Addresses https://github.com/json-ld/json-ld.org/issues/357.
2014-07-29 13:14:46 -04:00
Dave Longley aba77784a4 Bump version. 2014-07-09 15:17:06 -04:00
Dave Longley 89d90fbae2 Fix context caching bug.
- Update active context for each processed context to ensure
  the proper associations are made in the cache between an
  active context, the local context processed, and the result.
2014-07-09 15:16:24 -04:00
Dave Longley cbefb2d662 Implement addRiskyTest() for phpunit 4.x. 2014-07-08 14:14:09 -04:00
Dave Longley 9f5df4070b Bump version. 2014-07-08 12:59:48 -04:00
Dave Longley 2245638c1e Preserve existing @reverse map when merging properties. 2014-07-08 12:59:37 -04:00
Dave Longley ea1d54b31d Fix examples.
- Addresses #2.
2014-07-08 12:51:12 -04:00
Dave Longley 57e3928ca2 Fix bugs w/remote doc errors and add FIXME for empty property issue. 2014-04-24 15:42:17 -04:00
Dave Longley 31f9c15a1c Fix default document loader bugs; use default CN. 2014-04-24 15:27:03 -04:00
Dave Longley 58c06ab190 Fix SSL options for default doc loaders. 2014-04-24 15:15:31 -04:00
Dave Longley d4b4e1bba7 Add url to LoadDocumentError message. 2014-04-24 14:58:10 -04:00
Dave Longley 1aac75aab7 Switch style to same-line bracket w/else and catch. 2014-04-24 14:39:30 -04:00
Dave Longley f1244cefa9 Pass through options and depth. 2014-03-20 14:03:22 -04:00
Dave Longley c6f06ab52a Fix http/ssl stream context options. 2014-03-19 18:55:18 -04:00
Dave Longley f77210c1c1 Add helper jsonld encode/decode functions. 2014-03-18 12:10:44 -04:00
Dave Longley b04f314afa Always remove last base segment when calculating relative urls. 2014-02-21 12:18:18 -05:00
Dave Longley 4233353828 Bump version. 2014-01-07 10:53:55 -05:00
Dave Longley 7791361f1f Skip IRI processing when base is null. 2014-01-07 10:53:24 -05:00
Dave Longley 75f919fa79 Bump version. 2013-10-21 22:47:55 -04:00
Dave Longley dddddb0f4f Do not relabel blank nodes w/@reverse property. 2013-10-21 22:45:41 -04:00
Dave Longley fadbcd76e0 Do not remove last path segment unless hash or query are present. 2013-10-05 00:04:17 -04:00
Dave Longley 52b94dd924 Check useRdfType flag; bump version. 2013-10-02 15:58:28 -04:00
Dave Longley 4566c57c28 Bump version. 2013-09-19 16:35:10 -04:00
Dave Longley 7c5f07607f Ensure cached active context is cloned. 2013-09-19 16:34:53 -04:00
Dave Longley fc1f543b49 Add quick examples. 2013-09-16 14:14:35 -04:00
Dave Longley f058cbee52 Fix test docs. 2013-09-16 13:27:49 -04:00
Dave Longley 1ddb1fc23b Update test command in README. 2013-09-16 13:25:47 -04:00
Dave Longley 907904183d Provide access to test result via test instead of earl report.
- Reduces memory consumption because global state is serialized
  for every test and the test result is large (do not link it to
  the earl report listener as it is global).
2013-09-15 16:19:22 -04:00
Dave Longley 3f4dc75ac5 Do not attach earl report as listener if no filename specified. 2013-09-15 16:01:10 -04:00
Dave Longley d59ffc65bf Implement http link header processing w/default document loader.
- Use default document loader when testing remote documents.
2013-09-15 15:54:54 -04:00
Dave Longley bf08dd1e3d Remove old test runner. 2013-09-15 00:24:50 -04:00
Dave Longley cf687f9c70 Use phpunit to run tests. 2013-09-15 00:24:40 -04:00
Dave Longley b1920c1ae6 Use JsonLdExceptions, include JsonLdError codes. 2013-09-15 00:24:09 -04:00