Skip to content

Commit 17d917c

Browse files
authored
Merge branch 'master' into add_notify
2 parents 175b393 + 6331f5d commit 17d917c

File tree

11 files changed

+78
-6
lines changed

11 files changed

+78
-6
lines changed

.travis-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ elif [[ $TASK = 'codespell' ]]; then
143143
$SPELLINGBLACKLIST \
144144
\) | xargs")
145145
# count the number of codespell errors
146-
spellingerrors=$(zrun codespell --check-filenames --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles 2>&1 | wc -l)
146+
spellingerrors=$(zrun codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles 2>&1 | wc -l)
147147
if [[ $spellingerrors -ne 0 ]]; then
148148
# print the output for info
149-
zrun codespell --check-filenames --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles
149+
zrun codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles
150150
echo "Found $spellingerrors spelling errors via codespell"
151151
exit 1;
152152
else

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ env:
252252
# -- BEGIN Coverity Scan ENV
253253
- COVERITY_SCAN_BUILD_COMMAND_PREPEND="cov-configure --comptype gcc --compiler gcc-4.9 --template && autoreconf -i && ./configure --enable-ja-rule --enable-e133"
254254
# The build command with all of the arguments that you would apply to a manual `cov-build`
255-
# Usually this is the same as STANDARD_BUILD_COMMAND, exluding the automated test arguments
255+
# Usually this is the same as STANDARD_BUILD_COMMAND, excluding the automated test arguments
256256
- COVERITY_SCAN_BUILD_COMMAND="make"
257257
# Name of the project
258258
- COVERITY_SCAN_PROJECT_NAME="$TRAVIS_REPO_SLUG"

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ FORMULA_TRANSPARENT = YES
11991199
USE_MATHJAX = NO
12001200

12011201
# When MathJax is enabled you can set the default output format to be used for
1202-
# thA MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and
1202+
# the MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and
12031203
# SVG. The default value is HTML-CSS, which is slower, but has the best
12041204
# compatibility.
12051205

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[www.openlighting.org/ola](https://www.openlighting.org/ola)
44

5-
[![Build Status](https://travis-ci.org/OpenLightingProject/ola.svg?branch=master)](https://travis-ci.org/OpenLightingProject/ola) [![Coverity Scan Status](https://scan.coverity.com/projects/3514/badge.svg)](https://scan.coverity.com/projects/3514) [![Coverage Status](https://coveralls.io/repos/OpenLightingProject/ola/badge.png?branch=master)](https://coveralls.io/r/OpenLightingProject/ola?branch=master)
5+
[![Build Status](https://travis-ci.org/OpenLightingProject/ola.svg?branch=master)](https://travis-ci.org/OpenLightingProject/ola) [![Coverity Scan Status](https://scan.coverity.com/projects/3514/badge.svg)](https://scan.coverity.com/projects/3514) [![Coverage Status](https://coveralls.io/repos/OpenLightingProject/ola/badge.svg?branch=master)](https://coveralls.io/r/OpenLightingProject/ola?branch=master)
66

77
The Open Lighting Architecture (OLA) is a framework for controlling
88
entertainment lighting equipment. Within the entertainment lighting industry,

doxygen/examples/stdin_handler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
#include <ola/io/StdinHandler.h>
2222
#include <iostream>
2323

24+
/**
25+
* @brief An example StdinHandler.
26+
*/
2427
class ExampleStdinHandler {
2528
public:
2629
ExampleStdinHandler()

doxygen/namespaces.dox

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* @namespace ola::acn
66
* @brief ACN related code.
77
*
8+
* @namespace ola::base
9+
* @brief Core base functionality (arrays, exit codes, flags, versioning).
10+
*
811
* @namespace ola::client
912
* @brief OLA C++ API
1013
*
@@ -65,6 +68,9 @@
6568
* @namespace ola::plugin::milinst
6669
* @brief Code for Milford Instruments devices.
6770
*
71+
* @namespace ola::plugin::nanoleaf
72+
* @brief Code for Nanoleaf Aurora.
73+
*
6874
* @namespace ola::plugin::opendmx
6975
* @brief Code for the Enttec OpenDMX.
7076
*
@@ -89,6 +95,9 @@
8995
* @namespace ola::plugin::spi
9096
* @brief Code for SPI devices.
9197
*
98+
* @namespace ola::plugin::spidmx
99+
* @brief Code for receiving DMX using SPI devices.
100+
*
92101
* @namespace ola::plugin::stageprofi
93102
* @brief Code for Stageprofi devices.
94103
*

include/ola/base/Version.h.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace base {
3434
/**
3535
* @class Version ola/base/Version.h
3636
* @brief Provides version information.
37+
*
3738
* OLA Version numbers are in the form major.minor.revision e.g. @VERSION@
3839
*/
3940
class Version {

include/ola/io/InputBuffer.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
* InputBuffer.h
17-
* An Abstract base class that represents a block of memory tha can be read
17+
* An Abstract base class that represents a block of memory that can be read
1818
* from.
1919
* Copyright (C) 2012 Simon Newton
2020
*/

plugins/generate-html.sh

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#!/bin/sh
2+
3+
if [ $# != 1 ]; then
4+
echo "Usage: $0 <output_dir>"
5+
exit 1;
6+
fi
7+
8+
output_dir=$1
9+
if [ ! -d $output_dir ]; then
10+
echo $output_dir is not a directory
11+
exit 1;
12+
fi
13+
14+
index_file=$output_dir/index.html;
15+
16+
echo "Output dir: $output_dir";
17+
echo "Index file: $index_file";
18+
19+
cat << 'EOF' > $index_file
20+
<html>
21+
<head>
22+
<title>Plugin config files for the Open Lighting Architecture</title>
23+
</head>
24+
<body>
25+
<h1>Plugin config files for the <a href="https://openlighting.org/ola/">Open Lighting Architecture</a></h1>
26+
<ul>
27+
EOF
28+
29+
config_prefix=$(grep ::OLA_CONFIG_PREFIX ../olad/plugin_api/Preferences.cpp | sed -e 's/const char FileBackedPreferences::OLA_CONFIG_PREFIX\[\] = "//' -e 's/";$//');
30+
echo "Config prefix: $config_prefix";
31+
config_suffix=$(grep ::OLA_CONFIG_SUFFIX ../olad/plugin_api/Preferences.cpp | sed -e 's/const char FileBackedPreferences::OLA_CONFIG_SUFFIX\[\] = "//' -e 's/";$//');
32+
echo "Config suffix: $config_suffix";
33+
34+
for readme_file in */README.md; do
35+
echo "Generating from $readme_file";
36+
plugin_dir=$(dirname $readme_file);
37+
echo "Plugin dir: $plugin_dir";
38+
plugin_name=$(grep ::PLUGIN_NAME $plugin_dir/*Plugin.cpp | sed -e 's/const char .*Plugin::PLUGIN_NAME\[\] = "//' -e 's/";$//');
39+
echo "Plugin name: $plugin_name";
40+
plugin_prefix=$(grep ::PLUGIN_PREFIX $plugin_dir/*Plugin.cpp | sed -e 's/const char .*Plugin::PLUGIN_PREFIX\[\] = "//' -e 's/";$//');
41+
echo "Plugin prefix: $plugin_prefix";
42+
config_file=$config_prefix$plugin_prefix$config_suffix;
43+
output_file=$output_dir/$config_file.html;
44+
page_title="$plugin_name Plugin ($config_file)";
45+
echo "Config file: $config_file";
46+
pandoc -f markdown_github -t html -s $plugin_dir/README.md -B pandoc-html-index.html -A pandoc-html-index.html -o $output_file -T "$page_title"
47+
sed -i -e 's/ – <\/title>/<\/title>/' $output_file
48+
chmod a+r $output_file;
49+
echo "<li><a href='./$config_file.html'>$page_title</a></li>" >> $index_file
50+
done
51+
52+
cat << 'EOF' >> $index_file
53+
</ul>
54+
</body>
55+
</html>
56+
EOF

plugins/pandoc-html-index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="index.html">Return to Main Contents</a>

0 commit comments

Comments
 (0)