Skip to content

Commit dc40569

Browse files
authored
Merge pull request #1579 from peternewman/master-resync
Master resync
2 parents 41d4201 + 8206ade commit dc40569

File tree

7 files changed

+21
-24
lines changed

7 files changed

+21
-24
lines changed

.codespellignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,4 @@ function ok(a,b){for(var c=a.wa[b].data.items,d=c.length,g=N(a.wa[b].id),h="",i=
173173
import java.nio.ByteOrder;
174174
byte[] header = ByteBuffer.allocate(4).order(ByteOrder.nativeOrder()).putInt(headerContent).array();
175175
int headerValue = ByteBuffer.wrap(header).order(ByteOrder.nativeOrder()).getInt();
176-
std::string ErrorString() const;
177-
std::string SchemaErrorLogger::ErrorString() const {
178-
return m_error_logger.ErrorString();
179176
# This is a very bodgy workaround to the fact that the pip install of the archive doesn't seem to work properly now on Travis

common/utils/DmxBufferTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void DmxBufferTest::testAssign() {
196196
// assigning to ourself does nothing
197197
buffer = buffer;
198198

199-
// assinging to a previously init'ed buffer
199+
// assigning to a previously init'ed buffer
200200
unsigned int size = result_length;
201201
assignment_buffer = buffer;
202202
assignment_buffer.Get(result, &size);

include/ola/web/JsonLexer.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,34 +84,34 @@ class JsonParserInterface {
8484
virtual void End() = 0;
8585

8686
/**
87-
* @brief Called when a string is encounted.
87+
* @brief Called when a string is encountered.
8888
*
8989
* This is not called for object keys, see ObjectKey() below.
9090
*/
9191
virtual void String(const std::string &value) = 0;
9292

9393
/**
94-
* @brief Called when a uint32_t is encounted.
94+
* @brief Called when a uint32_t is encountered.
9595
*/
9696
virtual void Number(uint32_t value) = 0;
9797

9898
/**
99-
* @brief Called when a int32_t is encounted.
99+
* @brief Called when a int32_t is encountered.
100100
*/
101101
virtual void Number(int32_t value) = 0;
102102

103103
/**
104-
* @brief Called when a uint64_t is encounted.
104+
* @brief Called when a uint64_t is encountered.
105105
*/
106106
virtual void Number(uint64_t value) = 0;
107107

108108
/**
109-
* @brief Called when a int64_t is encounted.
109+
* @brief Called when a int64_t is encountered.
110110
*/
111111
virtual void Number(int64_t value) = 0;
112112

113113
/**
114-
* @brief Called when a double value is encounted.
114+
* @brief Called when a double value is encountered.
115115
*
116116
* MinGW struggles with long doubles
117117
* http://mingw.5.n7.nabble.com/Strange-behaviour-of-gcc-4-8-1-with-long-double-td32949.html
@@ -121,17 +121,17 @@ class JsonParserInterface {
121121
virtual void Number(const JsonDouble::DoubleRepresentation &rep) = 0;
122122

123123
/**
124-
* @brief Called when a double value is encounted.
124+
* @brief Called when a double value is encountered.
125125
*/
126126
virtual void Number(double d) = 0;
127127

128128
/**
129-
* @brief Called when a bool is encounted.
129+
* @brief Called when a bool is encountered.
130130
*/
131131
virtual void Bool(bool value) = 0;
132132

133133
/**
134-
* @brief Called when a null token is encounted.
134+
* @brief Called when a null token is encountered.
135135
*/
136136
virtual void Null() = 0;
137137

@@ -151,7 +151,7 @@ class JsonParserInterface {
151151
virtual void OpenObject() = 0;
152152

153153
/**
154-
* @brief Called when a new key is encounted.
154+
* @brief Called when a new key is encountered.
155155
*
156156
* This may be called multiple times for the same object. The standard
157157
* doesn't specify how to handle duplicate keys, so I generally use the last

libs/acn/DMPInflatorTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void DMPInflatorTest::testDecodeHeader() {
7070
&bytes_used));
7171
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
7272

73-
// test inherting the header from the prev call
73+
// test inheriting the header from the prev call
7474
OLA_ASSERT(inflator.DecodeHeader(&header_set2, NULL, 0, &bytes_used));
7575
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
7676
decoded_header = header_set2.GetDMPHeader();

libs/acn/E131InflatorTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void E131InflatorTest::testDecodeRev2Header() {
8888
&bytes_used));
8989
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
9090

91-
// test inherting the header from the prev call
91+
// test inheriting the header from the prev call
9292
OLA_ASSERT(inflator.DecodeHeader(&header_set2, NULL, 0, &bytes_used));
9393
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
9494
decoded_header = header_set2.GetE131Header();
@@ -136,7 +136,7 @@ void E131InflatorTest::testDecodeHeader() {
136136
&bytes_used));
137137
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
138138

139-
// test inherting the header from the prev call
139+
// test inheriting the header from the prev call
140140
OLA_ASSERT(inflator.DecodeHeader(&header_set2, NULL, 0, &bytes_used));
141141
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
142142
decoded_header = header_set2.GetE131Header();

libs/acn/E133InflatorTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void E133InflatorTest::testDecodeHeader() {
8484
&bytes_used));
8585
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
8686

87-
// test inherting the header from the prev call
87+
// test inheriting the header from the prev call
8888
OLA_ASSERT(inflator.DecodeHeader(&header_set2, NULL, 0, &bytes_used));
8989
OLA_ASSERT_EQ((unsigned int) 0, bytes_used);
9090
decoded_header = header_set2.GetE133Header();

tools/rdm/TestDefinitions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,16 +1734,16 @@ def Test(self):
17341734
ack = self.AckSetResult(action=self.VerifySet)
17351735
nack = self.NackSetResult(RDMNack.NR_UNSUPPORTED_COMMAND_CLASS)
17361736

1737-
available_langugages = list(self.Property('languages_capabilities'))
1738-
if available_langugages:
1739-
if len(available_langugages) > 1:
1737+
available_languages = list(self.Property('languages_capabilities'))
1738+
if available_languages:
1739+
if len(available_languages) > 1:
17401740
# If the responder only supports 1 lang, we may not be able to set it
17411741
self.AddIfSetSupported(ack)
1742-
self.new_language = available_langugages[0]
1742+
self.new_language = available_languages[0]
17431743
if self.new_language == self.Property('language'):
1744-
self.new_language = available_langugages[1]
1744+
self.new_language = available_languages[1]
17451745
else:
1746-
self.new_language = available_langugages[0]
1746+
self.new_language = available_languages[0]
17471747
self.AddIfSetSupported([ack, nack])
17481748
else:
17491749
# Get languages returned no languages so we expect a nack

0 commit comments

Comments
 (0)