Skip to content

Commit d101097

Browse files
authored
Merge pull request #1438 from peternewman/master-resync
Master resync
2 parents 671e66b + b255558 commit d101097

File tree

5 files changed

+135
-14
lines changed

5 files changed

+135
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*.lo
99
*.log
1010
*.o
11+
*.o.*
1112
*.o-????????
1213
*.pb.cc
1314
*.pb.cpp

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ matrix:
7373
env:
7474
- TASK='compile'
7575
- CPPUNIT='1.14'
76-
- PROTOBUF='3.5'
76+
- PROTOBUF='3.6'
7777
- LIBFTDI='1'
7878
- os: osx
7979
osx_image: xcode9.3
8080
compiler: gcc
8181
env:
8282
- TASK='compile'
8383
- CPPUNIT='1.14'
84-
- PROTOBUF='3.5'
84+
- PROTOBUF='3.6'
8585
- LIBFTDI='1'
8686
- os: linux
8787
dist: trusty
@@ -278,13 +278,13 @@ before_cache:
278278

279279
install:
280280
# Match the version of protobuf being installed via apt
281-
  - if [[ "$PROTOBUF" == "3.5" ]]; then pip install --user protobuf==3.5.1; fi
282-
- if [[ "$PROTOBUF" != "3.5" ]]; then pip install --user protobuf==3.1.0; fi
281+
  - if [[ "$PROTOBUF" == "3.6" ]]; then pip install --user protobuf==3.6.0; fi
282+
- if [[ "$PROTOBUF" != "3.6" ]]; then pip install --user protobuf==3.1.0; fi
283283
# We need to use pip rather than apt on Trusty
284284
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then pip install --user numpy; fi
285285
- if [ "$TASK" = "coverage" ]; then pip install --user cpp-coveralls; fi
286286
- if [ "$TASK" = "flake8" ]; then pip install --user flake8; fi
287-
- if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/lucasdemarchi/codespell.git; fi
287+
- if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/codespell-project/codespell.git; fi
288288
- if [ "$TASK" = "jshint" ]; then npm install -g grunt-cli; fi
289289
# If this causes SSL errors, then Sourceforge is probably in disaster recovery mode and needing Javascript. Could switch to a specific mirror, e.g. kent.dl.sourceforge.net
290290
- if [ "$TASK" = "pychecker" -o "$TASK" = "pychecker-wip" ]; then pip install --user http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi
@@ -298,9 +298,9 @@ before_install:
298298
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache bison flex liblo libmicrohttpd; fi # ossp-uuid, homebrew/python/numpy and libusb already present
299299
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$LIBFTDI" != "1" ]; then brew install libftdi0; fi # install libftdi0
300300
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$LIBFTDI" == "1" ]; then brew install libftdi; fi # install the latest libftdi
301-
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" == "3.5" ]; then brew install protobuf@3.5; fi
302-
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.5" ]; then brew install protobuf@3.1; fi
303-
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.5" ]; then brew link -f protobuf@3.1; export PKG_CONFIG_PATH=/usr/local/opt/protobuf@3.1/lib/pkgconfig; brew install --build-from-source --ignore-dependencies --env=std protobuf-c; fi # When protobuf is not on the latest release
301+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" == "3.6" ]; then brew install protobuf@3.6; fi
302+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.6" ]; then brew install protobuf@3.1; fi
303+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$PROTOBUF" != "3.6" ]; then brew link -f protobuf@3.1; export PKG_CONFIG_PATH=/usr/local/opt/protobuf@3.1/lib/pkgconfig; brew install --build-from-source --ignore-dependencies --env=std protobuf-c; fi # When protobuf is not on the latest release
304304
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir -p ${HOME}/Library/Python/2.7/lib/python/site-packages; echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> ${HOME}/Library/Python/2.7/lib/python/site-packages/homebrew.pth; fi
305305
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$CPPUNIT" != "1.14" ]; then brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e6e43cf6a3%5E/Formula/cppunit.rb; fi # install a slightly older cppunit, as latest needs C++11 support
306306
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$CPPUNIT" == "1.14" ]; then brew install cppunit; fi # install the latest cppunit, which needs C++11

NEWS

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
x/y/2018 ola-0.10.7
22
Features:
3-
*
3+
* Allow multiple KiNet ports to be patched to the same universe #1414
4+
* Support libftdi1 too in FTDI DMX #1012 Debian #810374
45

56
API:
67
*
78

89
RDM Tests:
9-
*
10+
* Fix a bug in the RDM tests when a responder supports sensor PIDs #1388
1011

1112
Bugs:
1213
* Fix the build on Windows
1314
* Entire codebase now passes codespell testing
1415
* Fix a Python 3 bug in the API
15-
*
16+
* Fix a few longstanding bugs in the Python ola_rdm_discover
17+
* Correct the OSC config option name for output format in the documentation
18+
* Use top_builddir in more places in the build
19+
* Use libusb_set_option where available
20+
* Fix the udev rules
21+
* Downstream Debian fixes
1622

1723
Internal:
18-
*
24+
* Various minor log formatting tidying up
1925

2026
07/01/2018 ola-0.10.6
2127
Bugs:

data/rdm/manufacturer_pids.proto

Lines changed: 112 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ manufacturer {
5050
}
5151
manufacturer {
5252
manufacturer_id: 776
53-
manufacturer_name: "ImageCue LLC "
53+
manufacturer_name: "ImageCue LLC"
5454
pid {
5555
name: "SERIAL_NUMBER"
5656
value: 32976
@@ -6793,6 +6793,116 @@ manufacturer {
67936793
}
67946794
set_sub_device_range: ROOT_OR_ALL_SUBDEVICE
67956795
}
6796+
pid {
6797+
name: "TOUCHSCREEN_LOCK"
6798+
value: 40975
6799+
get_request {
6800+
}
6801+
get_response {
6802+
field {
6803+
type: UINT8
6804+
name: "Touchscreen Lock Delay"
6805+
label {
6806+
value: 0
6807+
label: "Off"
6808+
}
6809+
label {
6810+
value: 1
6811+
label: "1 Minute"
6812+
}
6813+
label {
6814+
value: 2
6815+
label: "2 Minutes"
6816+
}
6817+
label {
6818+
value: 3
6819+
label: "3 Minutes"
6820+
}
6821+
label {
6822+
value: 4
6823+
label: "4 Minutes"
6824+
}
6825+
label {
6826+
value: 5
6827+
label: "5 Minutes"
6828+
}
6829+
label {
6830+
value: 6
6831+
label: "6 Minutes"
6832+
}
6833+
label {
6834+
value: 7
6835+
label: "7 Minutes"
6836+
}
6837+
label {
6838+
value: 8
6839+
label: "8 Minutes"
6840+
}
6841+
label {
6842+
value: 9
6843+
label: "9 Minutes"
6844+
}
6845+
label {
6846+
value: 10
6847+
label: "10 Minutes"
6848+
}
6849+
}
6850+
}
6851+
get_sub_device_range: ROOT_OR_SUBDEVICE
6852+
set_request {
6853+
field {
6854+
type: UINT8
6855+
name: "Touchscreen Lock Delay"
6856+
label {
6857+
value: 0
6858+
label: "Off"
6859+
}
6860+
label {
6861+
value: 1
6862+
label: "1 Minute"
6863+
}
6864+
label {
6865+
value: 2
6866+
label: "2 Minutes"
6867+
}
6868+
label {
6869+
value: 3
6870+
label: "3 Minutes"
6871+
}
6872+
label {
6873+
value: 4
6874+
label: "4 Minutes"
6875+
}
6876+
label {
6877+
value: 5
6878+
label: "5 Minutes"
6879+
}
6880+
label {
6881+
value: 6
6882+
label: "6 Minutes"
6883+
}
6884+
label {
6885+
value: 7
6886+
label: "7 Minutes"
6887+
}
6888+
label {
6889+
value: 8
6890+
label: "8 Minutes"
6891+
}
6892+
label {
6893+
value: 9
6894+
label: "9 Minutes"
6895+
}
6896+
label {
6897+
value: 10
6898+
label: "10 Minutes"
6899+
}
6900+
}
6901+
}
6902+
set_response {
6903+
}
6904+
set_sub_device_range: ROOT_OR_ALL_SUBDEVICE
6905+
}
67966906
}
67976907
manufacturer {
67986908
manufacturer_id: 21324
@@ -9054,4 +9164,4 @@ manufacturer {
90549164
set_sub_device_range: ROOT_DEVICE
90559165
}
90569166
}
9057-
version: 1521301591
9167+
version: 1528709287

plugins/ftdidmx/FtdiDmxDevice.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ class FtdiDmxDevice : public Device {
4848
std::string Description() const { return m_widget_info.Description(); }
4949
FtdiWidget* GetDevice() { return m_widget; }
5050

51+
// We can send the same universe to multiple ports, or patch port 2 before
52+
// port 1
53+
bool AllowMultiPortPatching() const { return true; }
54+
5155
protected:
5256
bool StartHook();
5357

0 commit comments

Comments
 (0)