Commit graph

251 commits

Author SHA1 Message Date
Dave Longley
24fa461705 Fix bugs w/expanding/compacting with empty base. 2013-02-28 16:42:32 -05:00
Dave Longley
b57d0797e8 Allow empty string for @base. 2013-02-28 16:19:15 -05:00
Dave Longley
cb03711585 Add @base support. 2013-02-28 16:03:11 -05:00
Dave Longley
eb3c8ba42d Bump version. 2013-02-28 15:50:25 -05:00
Dave Longley
a3369ffb21 Fix bugs with hashes and queries when compacting to relative IRIs. 2013-02-28 15:49:42 -05:00
Dave Longley
f0746b22c0 Return keywords immediately when expanding. 2013-02-26 00:36:53 -05:00
Dave Longley
8bad8e2d24 Remove optimize option; add compactArrays option to compaction. 2013-02-21 16:06:33 -05:00
Dave Longley
232afca21d Ensure @language and @vocab are copied from active context. 2013-02-20 19:32:50 -05:00
Dave Longley
9653a673d5 Bump version. 2013-02-20 16:56:05 -05:00
Dave Longley
21c0934d8f Use RDF datasets for RDF conversion instead of RDF statements. 2013-02-20 16:55:36 -05:00
Dave Longley
623d43b6e5 Bump version. 2013-02-18 16:34:45 -05:00
Dave Longley
41ee90f02c Add secure context loader that require https even when redirecting. 2013-02-18 16:34:14 -05:00
Dave Longley
dfbea38c6f Remove unnecessary initialization. 2013-02-18 11:11:20 -05:00
Dave Longley
607575d0d4 Use context loader terminology. 2013-02-18 10:51:51 -05:00
Dave Longley
5961e603aa Do not compact to @language map when @index is present. 2013-02-18 10:33:18 -05:00
Dave Longley
fda8545943 Use '_:b' instead of '_:t' for bnode prefixes. 2013-02-17 13:38:55 -05:00
Dave Longley
d80c0acb4f Bump version. 2013-02-15 16:25:30 -05:00
Dave Longley
b53300d179 Rename default jsonld url client method. 2013-02-15 15:38:37 -05:00
Dave Longley
47e4a04f57 Rename url resolver to url client. 2013-02-15 15:34:21 -05:00
Dave Longley
fdc08dc903 Ensure vocab relative flag is passed when expanding properties. 2013-02-15 14:13:46 -05:00
Dave Longley
bea64fee03 Ensure named graph blank node IDs are relabeled. 2013-02-15 14:04:29 -05:00
Dave Longley
fbfb6c9fcb Do not compact to relative IRIs if vocab relative flag is true. 2013-02-15 12:44:00 -05:00
Dave Longley
e5f1e28ada Drop duplicates when creating node maps. 2013-02-15 12:16:26 -05:00
Dave Longley
505202c213 Compact absolute IRIs to relative IRIs. 2013-02-15 00:58:23 -05:00
Dave Longley
6e7f7a3b9a Only compact to terms when relative flag is set. 2013-02-14 13:34:28 -05:00
Dave Longley
12e18a8384 Implement @type: @vocab compaction. 2013-02-14 12:40:24 -05:00
Dave Longley
6d5934398d Reorganize and simplify value expansion. 2013-02-13 20:08:53 -05:00
Dave Longley
447aa88d61 Do not expand values that are terms unless they are vocab relative. 2013-02-13 17:16:19 -05:00
Dave Longley
2c8b2ef18d Expand @type: @vocab. 2013-02-13 17:00:05 -05:00
Dave Longley
d1ecc90e8a Skip @context key. 2013-02-12 16:11:00 -05:00
Dave Longley
5466070d7d Disallow keywords in property generator, allow alias in context. 2013-02-12 16:03:54 -05:00
Dave Longley
d7bb4b3cba Remove term definition inheritance. 2013-02-12 15:10:45 -05:00
Dave Longley
6e2b78c722 Move container var outside of loop. 2013-02-11 16:24:26 -05:00
Dave Longley
7692f6f087 Remove active_property to item_active_property. 2013-02-11 16:07:38 -05:00
Dave Longley
d1d437b9b7 Remove unused base flag. 2013-02-11 16:00:44 -05:00
Dave Longley
1bcef39068 Remove extra parameter. 2013-02-11 15:44:20 -05:00
Dave Longley
4948365c1a Remove now superfluous flag and step. 2013-02-11 15:41:46 -05:00
Dave Longley
5c5ab819d7 Simplify term definition creation, disallow @type in property generator. 2013-02-11 14:24:55 -05:00
Dave Longley
b7cf6df479 Use correct blank node namer when sharing context. 2013-02-11 11:38:52 -05:00
Dave Longley
42903065d9 Use array to add compacted item when expanded property is @list. 2013-02-11 11:01:05 -05:00
Dave Longley
1b676e47fe Remove unnecessary extra object check. 2013-02-11 10:34:46 -05:00
Dave Longley
1dab2c9987 Check for subject references within lists. 2013-02-11 10:31:49 -05:00
Dave Longley
5a6f3bc5dd Do not require a matching empty array when selecting a property generator. 2013-02-10 14:40:14 -05:00
Dave Longley
31dafae2ec Ensure property generator values are compared during term selection.
- Reuse find property generator duplicates function.
2013-02-10 14:28:28 -05:00
Dave Longley
7c2aceed28 Set some defaults for parsed url. 2013-02-08 15:51:19 -05:00
Dave Longley
612f56aa6c Fix bugs w/prepend base. 2013-02-08 15:48:23 -05:00
Dave Longley
61e1140b3b Fix bugs to pass unit tests, do JSON comparison in test runner. 2013-02-08 00:15:45 -05:00
Dave Longley
3831d5336a Fix bugs to pass compaction tests. 2013-02-07 23:47:55 -05:00
Dave Longley
a8ce5ba4a2 Fix bugs to pass expansion tests. 2013-02-07 23:08:48 -05:00
Dave Longley
6fbdfaa3b6 Various bug fixes to pass more tests. 2013-02-07 22:46:28 -05:00