From 02fb3fba4da00032c26e85d7ef0f767879e1f235 Mon Sep 17 00:00:00 2001
From: David Robillard
Date: Mon, 21 Nov 2011 03:11:51 +0000
Subject: Update urid extension.
---
lv2/ns/ext/urid/manifest.ttl | 4 ++--
lv2/ns/ext/urid/urid.h | 4 +++-
lv2/ns/ext/urid/urid.ttl | 21 ++++++++++-----------
3 files changed, 15 insertions(+), 14 deletions(-)
(limited to 'lv2/ns/ext')
diff --git a/lv2/ns/ext/urid/manifest.ttl b/lv2/ns/ext/urid/manifest.ttl
index c77aff6..4b23244 100644
--- a/lv2/ns/ext/urid/manifest.ttl
+++ b/lv2/ns/ext/urid/manifest.ttl
@@ -4,6 +4,6 @@
a lv2:Specification ;
- lv2:minorVersion 0 ;
- lv2:microVersion 2 ;
+ lv2:minorVersion 1 ;
+ lv2:microVersion 0 ;
rdfs:seeAlso .
diff --git a/lv2/ns/ext/urid/urid.h b/lv2/ns/ext/urid/urid.h
index d36d0dd..22c9a66 100644
--- a/lv2/ns/ext/urid/urid.h
+++ b/lv2/ns/ext/urid/urid.h
@@ -23,7 +23,9 @@
#ifndef LV2_URID_H
#define LV2_URID_H
-#define LV2_URID_URI "http://lv2plug.in/ns/ext/urid"
+#define LV2_URID_URI "http://lv2plug.in/ns/ext/urid"
+#define LV2_URID_MAP_URI LV2_URID_URI "#map"
+#define LV2_URID_UNMAP_URI LV2_URID_URI "#unmap"
#include
diff --git a/lv2/ns/ext/urid/urid.ttl b/lv2/ns/ext/urid/urid.ttl
index a87b368..6fc01e6 100644
--- a/lv2/ns/ext/urid/urid.ttl
+++ b/lv2/ns/ext/urid/urid.ttl
@@ -26,8 +26,8 @@
doap:name "LV2 URID" ;
doap:shortdesc "Features for mapping URIs to and from integers." ;
doap:release [
- doap:revision "0.2" ;
- doap:created "2011-01-04"
+ doap:revision "1.0" ;
+ doap:created "2011-11-20"
] ;
doap:developer [
a foaf:Person ;
@@ -42,18 +42,18 @@ URIs in real time). Typically, plugins map URIs to integers for things they
thread without doing any string comparison. This allows for the extensibility
of RDF but with the performance of integers.
-This extension is intended as an improved and simpler replacement for the uri-map extension, since the
-map
context parameter has been found problematic.
+This extension is intended as an improved and simplified replacement for the
+uri-map extension, since the
+map
context parameter has been found problematic. New implementations
+are strongly encouraged to use this extension for URI mapping.
""" .
urid:map
a lv2:Feature ;
lv2:documentation """
A feature which is used to map URIs to integers. To support this feature,
-the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with
-URI http://lv2plug.in/ns/ext/urid#map
and data pointed
-to an instance of LV2_URID_Map.
+the host must pass an LV2_Feature to LV2_Descriptor::instantiate() with URI
+LV2_URID_MAP_URI and data pointed to an instance of LV2_URID_Map.
""" .
urid:unmap
@@ -61,7 +61,6 @@ urid:unmap
lv2:documentation """
A feature which is used to unmap URIs previously mapped to integers by
urid:map. To support this feature, the host must pass an LV2_Feature to
-LV2_Descriptor::instantiate() with URI
-http://lv2plug.in/ns/ext/urid#unmap
and data pointed to an
-instance of LV2_URID_Unmap.
+LV2_Descriptor::instantiate() with URI LV2_URID_UNMAP_URI and data pointed to
+an instance of LV2_URID_Unmap.
""" .
--
cgit v1.2.1