Skip to content

Commit e6dbffd

Browse files
committed
Merge branch '0.10' of https://github.com/openlightingproject/ola into master-resync
2 parents a05acc2 + a2aeb83 commit e6dbffd

9 files changed

Lines changed: 17 additions & 12 deletions

File tree

Makefile.am

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,10 @@ COVERAGE_OUTPUTS = --txt coverage/coverage.txt \
272272
--cobertura coverage/coverage.cobertura.xml \
273273
--html-details coverage/details.html/coverage.details.html \
274274
--coveralls coverage/coverage.coveralls.json
275-
COVERAGE_GCOV_EXE=--gcov-executable /usr/bin/gcov
276-
COVERAGE_FILTERS=-e '.*Test\.cpp$$' \
275+
# See https://gcovr.com/en/stable/guide/gcov_parser.html#negative-hit-counts
276+
COVERAGE_FLAGS = --gcov-ignore-parse-errors=negative_hits.warn_once_per_file
277+
COVERAGE_GCOV_EXE = --gcov-executable /usr/bin/gcov
278+
COVERAGE_FILTERS = -e '.*Test\.cpp$$' \
277279
-e '.*\.pb\.cc$$' \
278280
-e '.*\.pb\.cpp$$' \
279281
-e '.*\.pb\.h$$' \
@@ -288,7 +290,7 @@ if !BUILD_GCOV
288290
else
289291
if FOUND_GCOVR
290292
mkdir -p coverage/details.html/
291-
gcovr --print-summary $(COVERAGE_OUTPUTS) $(COVERAGE_GCOV_EXE) --root . $(COVERAGE_FILTERS)
293+
gcovr $(COVERAGE_FLAGS) --print-summary $(COVERAGE_OUTPUTS) $(COVERAGE_GCOV_EXE) --root . $(COVERAGE_FILTERS)
292294
else
293295
$(error gcovr not found. Install gcovr (e.g. via pip for the latest version) and re-run configure.)
294296
endif

common/rdm/QueueingRDMController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1515
*
1616
* QueueingRDMController.cpp
17-
* The Jese DMX TRI device.
17+
* An RDM Controller that sends a single message at a time.
1818
* Copyright (C) 2010 Simon Newton
1919
*/
2020

common/rdm/QueueingRDMControllerTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1515
*
1616
* QueueingRDMControllerTest.cpp
17-
* Test fixture for the UID classes
17+
* Test fixture for the QueueingRDMController
1818
* Copyright (C) 2005 Simon Newton
1919
*/
2020

common/rdm/VariableFieldSizeCalculator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ VariableFieldSizeCalculator::calculator_state
6969
return data_size > m_fixed_size_sum ? TOO_LARGE : FIXED_SIZE;
7070

7171
// we know there is only one, now we need to work out the number of
72-
// repeatitions or length if it's a string
72+
// repetitions or length if it's a string
7373
unsigned int bytes_remaining = data_size - m_fixed_size_sum;
7474
if (variable_string_field_count) {
7575
// variable string

include/ola/rdm/QueueingRDMController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1515
*
1616
* QueueingRDMController.h
17-
* A RDM Controller that sends a single message at a time.
17+
* An RDM Controller that sends a single message at a time.
1818
* Copyright (C) 2010 Simon Newton
1919
*/
2020

plugins/spi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pin. The number of ports will be 2 ^ (# of pins).
4444
If the software backend is used, this defines the number of ports which will
4545
be created.
4646

47-
`<device>-sync-ports = <int>`
47+
`<device>-sync-port = <int>`
4848
Controls which port triggers a flush (write) of the SPI data. If set to -1
4949
the SPI data is written when any port changes. This can result in a lot of
5050
data writes (slow) and partial frames. If set to -2, the last port is used.

plugins/usbpro/DmxterWidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const uint8_t DmxterWidgetImpl::TOD_LABEL = 0x82;
5050
const uint8_t DmxterWidgetImpl::DISCOVERY_BRANCH_LABEL = 0x83;
5151
const uint8_t DmxterWidgetImpl::FULL_DISCOVERY_LABEL = 0x84;
5252
const uint8_t DmxterWidgetImpl::INCREMENTAL_DISCOVERY_LABEL = 0x85;
53-
const uint8_t DmxterWidgetImpl::SHUTDOWN_LABAEL = 0xf0;
53+
const uint8_t DmxterWidgetImpl::SHUTDOWN_LABEL = 0xf0;
5454

5555

5656
/*
@@ -195,7 +195,7 @@ void DmxterWidgetImpl::HandleMessage(uint8_t label,
195195
case RDM_BCAST_REQUEST_LABEL:
196196
HandleBroadcastRDMResponse(data, length);
197197
break;
198-
case SHUTDOWN_LABAEL:
198+
case SHUTDOWN_LABEL:
199199
HandleShutdown(data, length);
200200
break;
201201
default:

plugins/usbpro/DmxterWidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class DmxterWidgetImpl: public BaseUsbProWidget,
7777
static const uint8_t DISCOVERY_BRANCH_LABEL;
7878
static const uint8_t FULL_DISCOVERY_LABEL;
7979
static const uint8_t INCREMENTAL_DISCOVERY_LABEL;
80-
static const uint8_t SHUTDOWN_LABAEL;
80+
static const uint8_t SHUTDOWN_LABEL;
8181

8282
typedef enum {
8383
RC_CHECKSUM_ERROR = 1,

scripts/spelling.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@ SPELLINGBLACKLIST=$(cat <<-BLACKLIST
7070
-wholename "./olad/www/new/js/app.min.js" -or \
7171
-wholename "./olad/www/new/js/app.min.js.map" -or \
7272
-wholename "./olad/www/new/libs/angular/js/angular.min.js" -or \
73+
-wholename "./olad/www/new/libs/bootstrap/js/bootstrap.min.js" -or \
74+
-wholename "./olad/www/new/libs/jquery/js/jquery.min.js" -or \
7375
-wholename "./olad/www/new/libs/marked/js/marked.min.js" -or \
7476
-wholename "./olad/www/ola.js" -or \
7577
-wholename "./plugins/artnet/messages/ArtNetConfigMessages.pb.*" -or \
7678
-wholename "./tools/ola_trigger/config.tab.*" -or \
77-
-wholename "./tools/ola_trigger/lex.yy.cpp"
79+
-wholename "./tools/ola_trigger/lex.yy.cpp" -or \
80+
-wholename "./tools/rdm/static/jquery-1.7.2.min.js"
7881
BLACKLIST
7982
)
8083

0 commit comments

Comments
 (0)