Commit graph

248 commits

Author SHA1 Message Date
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 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 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 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 b1920c1ae6 Use JsonLdExceptions, include JsonLdError codes. 2013-09-15 00:24:09 -04:00
Dave Longley 7142d8a3e1 Fix typos. 2013-09-14 22:02:37 -04:00
Dave Longley 0cf39870f5 Only shallow copy options. 2013-09-14 21:43:35 -04:00
Dave Longley ded32019d7 Fix parenthesis. 2013-09-14 21:33:34 -04:00
Dave Longley 7099ce5d80 Fix typo. 2013-09-14 21:29:23 -04:00
Dave Longley 4ddb4e8c2c Validate URLs; check for file/json read errors. 2013-09-14 21:27:55 -04:00
Dave Longley 77dc82bdb5 Fix typo. 2013-09-14 21:08:01 -04:00
Dave Longley 5566889660 Fix link header parsing bugs. 2013-09-14 14:45:41 -04:00
Dave Longley d27ad5f210 Use remote doc documentUrl as base. 2013-09-14 14:19:27 -04:00
Dave Longley 5eeb29a9d2 Fix typos. 2013-09-14 14:14:26 -04:00
Dave Longley 4685958cbf Fix remote document loading bugs. 2013-09-14 14:12:19 -04:00
Dave Longley 42041d08c7 Fix parenthesis. 2013-09-14 14:00:32 -04:00
Dave Longley c884d39621 Add more error codes, fix error params. 2013-09-14 13:58:40 -04:00
Dave Longley 2a2cf85be9 Add missing semicolon. 2013-09-14 13:43:50 -04:00
Dave Longley c5f9d1963a Add term definition error codes, etc. 2013-09-14 13:42:15 -04:00
Dave Longley 60c335a6e9 Support more error conditions in expand. 2013-09-13 16:42:10 -04:00
Dave Longley 12a9ccc9e8 Handle scalars before objects. 2013-09-13 13:17:40 -04:00
Dave Longley d1501c7c08 Do not output relative IRIs in RDF datasets. 2013-09-13 13:16:10 -04:00
Dave Longley 944e9ee886 Add link header parse method. 2013-09-13 13:07:18 -04:00
Dave Longley 9ca43c5a40 Remove closure for php 5.3 compatibility. 2013-08-09 14:19:41 -04:00
Dave Longley 7b937b3fdc Fix closure bug. 2013-08-09 14:11:52 -04:00
Dave Longley fdd5ef987f Use call_user_func. 2013-08-09 14:08:31 -04:00
Dave Longley 01f0f1440d Use array() syntax. 2013-08-09 13:55:54 -04:00
Dave Longley ec6b4d7383 Fix type, check for datatype. 2013-08-09 13:42:31 -04:00