aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-09 15:40:09 -0400
committerDavid Robillard <d@drobilla.net>2022-05-09 15:40:09 -0400
commitbd70bc95db7b9aea77d04ffba0693a485d4af8c6 (patch)
tree79bd31cdbec873da4df56a4b7de5911d443b8162
parent7ab1f698e8c883b23e6df6a404e7f1c33363ff2d (diff)
downloadlv2-bd70bc95db7b9aea77d04ffba0693a485d4af8c6.tar.xz
Fix incorrect spelling and test for regression with codespell
-rw-r--r--README.md2
-rw-r--r--doc/asciidoc.css2
-rw-r--r--lv2/atom/atom.meta.ttl2
-rw-r--r--lv2/atom/manifest.ttl2
-rw-r--r--lv2/core/lv2core.meta.ttl6
-rw-r--r--lv2/core/lv2core.ttl2
-rw-r--r--lv2/core/manifest.ttl2
-rw-r--r--lv2/event/event.meta.ttl2
-rw-r--r--lv2/event/event.ttl2
-rw-r--r--lv2/event/manifest.ttl2
-rw-r--r--lv2/patch/manifest.ttl2
-rw-r--r--lv2/patch/patch.meta.ttl2
-rw-r--r--lv2/state/manifest.ttl2
-rw-r--r--lv2/state/state.meta.ttl2
-rw-r--r--lv2/ui/manifest.ttl2
-rw-r--r--lv2/ui/ui.meta.ttl2
-rw-r--r--plugins/eg-amp.lv2/amp.c2
-rw-r--r--plugins/eg-sampler.lv2/sampler.c2
-rw-r--r--schemas.lv2/foaf.ttl2
-rw-r--r--schemas.lv2/rdfs.ttl2
-rw-r--r--wscript18
21 files changed, 39 insertions, 23 deletions
diff --git a/README.md b/README.md
index a69441b..0a4b4ea 100644
--- a/README.md
+++ b/README.md
@@ -79,4 +79,4 @@ included specifications if Doxygen is available. For example:
./waf configure --docs
./waf
-Specification documentation is also availabe online at <http://lv2plug.in/ns>.
+Specification documentation is also available online at <http://lv2plug.in/ns>.
diff --git a/doc/asciidoc.css b/doc/asciidoc.css
index 59bf677..2e64544 100644
--- a/doc/asciidoc.css
+++ b/doc/asciidoc.css
@@ -435,7 +435,7 @@ th.tableblock {
td.tableblock, th.tableblock {
border: 1px dashed #ccc;
}
-/* Because the table frame attribute is overriden by CSS in most browsers. */
+/* Because the table frame attribute is overridden by CSS in most browsers. */
div.tableblock > table[frame="void"] {
border-style: none;
}
diff --git a/lv2/atom/atom.meta.ttl b/lv2/atom/atom.meta.ttl
index 9d714d8..cc09060 100644
--- a/lv2/atom/atom.meta.ttl
+++ b/lv2/atom/atom.meta.ttl
@@ -258,7 +258,7 @@ may assume any binary Path (e.g. in an event payload) is a valid file path
which can passed to system functions like fopen() directly, without any
character encoding or escape expansion required.
-Any implemenation that creates a Path atom to transmit to another is
+Any implementation that creates a Path atom to transmit to another is
responsible for ensuring it is valid. A Path SHOULD always be absolute, unless
there is some mechanism in place that defines a base path. Since this is not
the case for plugin instances, effectively any Path sent to or received from a
diff --git a/lv2/atom/manifest.ttl b/lv2/atom/manifest.ttl
index 46d6de5..9cf13aa 100644
--- a/lv2/atom/manifest.ttl
+++ b/lv2/atom/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/atom>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 3 ;
rdfs:seeAlso <atom.ttl> .
diff --git a/lv2/core/lv2core.meta.ttl b/lv2/core/lv2core.meta.ttl
index 465917d..7dac5c1 100644
--- a/lv2/core/lv2core.meta.ttl
+++ b/lv2/core/lv2core.meta.ttl
@@ -256,7 +256,7 @@ necessarily constant).
### Threading Rules
-To faciliate use in multi-threaded programs, LV2 functions are partitioned into
+To facilitate use in multi-threaded programs, LV2 functions are partitioned into
several threading classes:
| Discovery Class | Instantiation Class | Audio Class |
@@ -271,7 +271,7 @@ Hosts MUST guarantee that:
* A function in any class is never called concurrently with another function
in that class.
- * A _Discovery_ function is never called concurrently with any other fuction
+ * A _Discovery_ function is never called concurrently with any other function
in the same shared object file.
* An _Instantiation_ function for an instance is never called concurrently
@@ -337,7 +337,7 @@ lv2:PluginBase
An abstract plugin-like resource that may not actually be an LV2 plugin, for
example that may not have a lv2:binary. This is useful for describing things
-that share common structure with a plugin, but are not themselves an actul
+that share common structure with a plugin, but are not themselves an actual
plugin, such as presets.
"""^^lv2:Markdown .
diff --git a/lv2/core/lv2core.ttl b/lv2/core/lv2core.ttl
index 8754169..bd9fc93 100644
--- a/lv2/core/lv2core.ttl
+++ b/lv2/core/lv2core.ttl
@@ -657,7 +657,7 @@ lv2:FunctionPlugin
owl:Class ;
rdfs:subClassOf lv2:UtilityPlugin ;
rdfs:label "Function Plugin" ;
- rdfs:comment "A plugin whose output is a mathmatical function of its input." .
+ rdfs:comment "A plugin whose output is a mathematical function of its input." .
lv2:ConstantPlugin
a rdfs:Class ,
diff --git a/lv2/core/manifest.ttl b/lv2/core/manifest.ttl
index 7f1512b..179076d 100644
--- a/lv2/core/manifest.ttl
+++ b/lv2/core/manifest.ttl
@@ -5,7 +5,7 @@
<http://lv2plug.in/ns/lv2core>
a lv2:Specification ;
lv2:minorVersion 18 ;
- lv2:microVersion 0 ;
+ lv2:microVersion 1 ;
rdfs:seeAlso <lv2core.ttl> .
<http://lv2plug.in/ns/lv2>
diff --git a/lv2/event/event.meta.ttl b/lv2/event/event.meta.ttl
index ecc40c7..05476d8 100644
--- a/lv2/event/event.meta.ttl
+++ b/lv2/event/event.meta.ttl
@@ -156,7 +156,7 @@ ev:FrameStamp
lv2:documentation """
The default time stamp unit for an LV2 event: the frames field represents audio
-frames (in the sample rate passed to intantiate), and the subframes field is
+frames (in the sample rate passed to instantiate), and the subframes field is
1/UINT32_MAX of a frame.
"""^^lv2:Markdown .
diff --git a/lv2/event/event.ttl b/lv2/event/event.ttl
index 3114fc5..119e606 100644
--- a/lv2/event/event.ttl
+++ b/lv2/event/event.ttl
@@ -65,7 +65,7 @@ ev:supportsTimeStamp
lv2:InputPort ;
rdfs:range rdfs:Class ;
rdfs:label "supports time stamp type" ;
- rdfs:comment "A time stamp type suported by this input port." .
+ rdfs:comment "A time stamp type supported by this input port." .
ev:generatesTimeStamp
a rdf:Property ,
diff --git a/lv2/event/manifest.ttl b/lv2/event/manifest.ttl
index 0194d71..8581a6e 100644
--- a/lv2/event/manifest.ttl
+++ b/lv2/event/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/event>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 12 ;
+ lv2:microVersion 13 ;
rdfs:seeAlso <event.ttl> .
diff --git a/lv2/patch/manifest.ttl b/lv2/patch/manifest.ttl
index 25150bd..90419bb 100644
--- a/lv2/patch/manifest.ttl
+++ b/lv2/patch/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/patch>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 8 ;
+ lv2:microVersion 9 ;
rdfs:seeAlso <patch.ttl> .
diff --git a/lv2/patch/patch.meta.ttl b/lv2/patch/patch.meta.ttl
index ebe0807..53cbdc0 100644
--- a/lv2/patch/patch.meta.ttl
+++ b/lv2/patch/patch.meta.ttl
@@ -41,7 +41,7 @@
dcs:blame <http://drobilla.net/drobilla#me> ;
dcs:changeset [
dcs:item [
- rdfs:label "Define patch:Get with no subject to implicitly apply to reciever. This can be used by UIs to get an initial description of a plugin."
+ rdfs:label "Define patch:Get with no subject to implicitly apply to receiver. This can be used by UIs to get an initial description of a plugin."
] , [
rdfs:label "Add patch:Copy method."
]
diff --git a/lv2/state/manifest.ttl b/lv2/state/manifest.ttl
index 02e7aa1..67beca1 100644
--- a/lv2/state/manifest.ttl
+++ b/lv2/state/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/ext/state>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 8 ;
+ lv2:microVersion 9 ;
rdfs:seeAlso <state.ttl> .
diff --git a/lv2/state/state.meta.ttl b/lv2/state/state.meta.ttl
index 6f54641..271814c 100644
--- a/lv2/state/state.meta.ttl
+++ b/lv2/state/state.meta.ttl
@@ -459,7 +459,7 @@ This is a one-way notification, intended to be used as the type of an
[Object](atom.html#Object) sent from plugins when necessary.
Plugins SHOULD emit such an event whenever a change has occurred that would
-result in a different state being saved, but not when the host explicity makes
+result in a different state being saved, but not when the host explicitly makes
a change which it knows is likely to have that effect, such as changing a
parameter.
diff --git a/lv2/ui/manifest.ttl b/lv2/ui/manifest.ttl
index 9f259ad..304005a 100644
--- a/lv2/ui/manifest.ttl
+++ b/lv2/ui/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/extensions/ui>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 22 ;
+ lv2:microVersion 23 ;
rdfs:seeAlso <ui.ttl> .
diff --git a/lv2/ui/ui.meta.ttl b/lv2/ui/ui.meta.ttl
index cb92a86..540dc4b 100644
--- a/lv2/ui/ui.meta.ttl
+++ b/lv2/ui/ui.meta.ttl
@@ -223,7 +223,7 @@ toolkits, the one the UI main loop runs in). There is no requirement that a
Note that UIs are completely separate from plugins. From the plugin's
perspective, control from a UI is indistinguishable from any other control, as
-it all occcurs via ports.
+it all occurs via ports.
"""^^lv2:Markdown .
diff --git a/plugins/eg-amp.lv2/amp.c b/plugins/eg-amp.lv2/amp.c
index 244825f..5b9f577 100644
--- a/plugins/eg-amp.lv2/amp.c
+++ b/plugins/eg-amp.lv2/amp.c
@@ -203,7 +203,7 @@ static const LV2_Descriptor descriptor = {AMP_URI,
The `lv2_descriptor()` function is the entry point to the plugin library. The
host will load the library and call this function repeatedly with increasing
indices to find all the plugins defined in the library. The index is not an
- indentifier, the URI of the returned descriptor is used to determine the
+ identifier, the URI of the returned descriptor is used to determine the
identify of the plugin.
This method is in the ``discovery'' threading class, so no other functions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c
index 1efad3c..e7fbbab 100644
--- a/plugins/eg-sampler.lv2/sampler.c
+++ b/plugins/eg-sampler.lv2/sampler.c
@@ -461,7 +461,7 @@ run(LV2_Handle instance, uint32_t sample_count)
render(self, self->frame_offset, ev->time.frames);
/* Update current frame offset to this event's time. This is stored in
- the instance because it is used for sychronous worker event
+ the instance because it is used for synchronous worker event
execution. This allows a sample load event to be executed with
sample accuracy when running in a non-realtime context (such as
exporting a session). */
diff --git a/schemas.lv2/foaf.ttl b/schemas.lv2/foaf.ttl
index 1ae75aa..83a1e7e 100644
--- a/schemas.lv2/foaf.ttl
+++ b/schemas.lv2/foaf.ttl
@@ -38,7 +38,7 @@ foaf:Image
foaf:LabelProperty
a rdfs:Class, owl:Class ;
- rdfs:comment "A foaf:LabelProperty is any RDF property with texual values that serve as labels." ;
+ rdfs:comment "A foaf:LabelProperty is any RDF property with textual values that serve as labels." ;
rdfs:isDefinedBy <http://xmlns.com/foaf/0.1/> ;
rdfs:label "Label Property" .
diff --git a/schemas.lv2/rdfs.ttl b/schemas.lv2/rdfs.ttl
index 078d7c8..5f4dcf9 100644
--- a/schemas.lv2/rdfs.ttl
+++ b/schemas.lv2/rdfs.ttl
@@ -67,7 +67,7 @@ rdfs:domain
rdfs:isDefinedBy
a rdf:Property ;
- rdfs:comment "The defininition of the subject resource." ;
+ rdfs:comment "The definition of the subject resource." ;
rdfs:domain rdfs:Resource ;
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ;
rdfs:label "is defined by" ;
diff --git a/wscript b/wscript
index 37a24e8..f05ae77 100644
--- a/wscript
+++ b/wscript
@@ -9,7 +9,7 @@ from waflib.extras import autowaf as autowaf
# Mandatory waf variables
APPNAME = 'lv2' # Package name for waf dist
-VERSION = '1.18.2' # Package version for waf dist
+VERSION = '1.18.3' # Package version for waf dist
top = '.' # Source directory
out = 'build' # Build directory
@@ -196,6 +196,7 @@ def configure(conf):
if conf.env.BUILD_TESTS:
conf.find_program('serdi', mandatory=False)
conf.find_program('sord_validate', mandatory=False)
+ conf.find_program('codespell', mandatory=False)
autowaf.set_lib_env(conf, 'lv2', VERSION, has_objects=False)
autowaf.set_local_lib(conf, 'lv2', has_objects=False)
@@ -719,6 +720,21 @@ def test(tst):
all_files = schemas + spec_files + plugin_files + bld_files
check(tst.env.SORD_VALIDATE + all_files)
+ if "CODESPELL" in tst.env:
+ spell_ignore = [
+ "../doc/pygments.css",
+ "../lv2specgen/DTD/*",
+ "../schemas.lv2/doap.ttl",
+ "../waflib",
+ ]
+
+ check(tst.env.CODESPELL + [
+ "-d",
+ "-q", "3",
+ "-S", ','.join(spell_ignore),
+ '..',
+ ])
+
try:
test_vocabularies(check, specs, spec_files)
except ImportError as e: