Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E1.33 controller #43

Draft
wants to merge 373 commits into
base: e1.33
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
373 commits
Select commit Hold shift + click to select a range
6a6b42e
Track Eurolite MK2 by actual serial number where available
peternewman Feb 3, 2024
47cb19c
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Feb 3, 2024
949ce94
Add some potential TODO for another way to track devices without serial
peternewman Feb 3, 2024
0fac6e8
Enable access to the device info outside the if statements
peternewman Feb 3, 2024
9a8fe60
Merge pull request #1931 from peternewman/master-resync
peternewman Feb 4, 2024
760b041
Merge branch 'master' into eurolite-mk2-serial-id
peternewman Feb 4, 2024
6534491
Merge pull request #1932 from peternewman/eurolite-mk2-serial-id
peternewman Feb 4, 2024
40ff84c
Update the RDM PDU to the released standard version
peternewman Feb 24, 2024
b3942cf
Add the RPT and RPT Request PDU classes
peternewman Feb 24, 2024
218c4c7
Tidy the whitespace on RPTPDU.h
peternewman Feb 24, 2024
2025d58
Merge branch 'master' into ipv6-type
peternewman Feb 24, 2024
40fc444
Bump actions/setup-node from 3 to 4
dependabot[bot] Oct 23, 2023
2df204c
Bump actions/download-artifact from 3 to 4
dependabot[bot] Dec 14, 2023
6cf9ee8
Merge pull request #1930 from peternewman/0.10-clang-latest
kripton Feb 26, 2024
41f4725
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Feb 26, 2024
f6c7356
Ignore more minified files that might contain spelling false positives
peternewman Feb 26, 2024
197e2f0
Merge pull request #1936 from peternewman/0.10-clang-latest
peternewman Feb 26, 2024
5880cc2
coverage workaround gcovr race parse bug
DaAwesomeP Feb 27, 2024
8c78dbd
Switch to actions/upload-artifact@v4
peternewman Feb 27, 2024
5e704b1
Switch to actions/upload-artifact@v4
peternewman Feb 27, 2024
2313c93
Switch to actions/upload-artifact@v4
peternewman Feb 27, 2024
69565aa
Update Makefile.am
DaAwesomeP Feb 28, 2024
c6e7c58
Merge pull request #1938 from OpenLightingProject/dependabot/github_a…
kripton Feb 28, 2024
4b0aae6
Merge pull request #1937 from DaAwesomeP/DaAwesomeP-fix-gcovr-parse-bug
peternewman Feb 28, 2024
1dd40f0
Merge branch 'master' into ipv6-type
peternewman Feb 28, 2024
df02c7b
Merge branch 'master' into dependabot/github_actions/actions/setup-no…
peternewman Feb 28, 2024
522c5a9
Merge pull request #1926 from peternewman/ipv6-type
peternewman Feb 28, 2024
4cc59af
Merge branch 'master' into master-resync
peternewman Feb 28, 2024
4ca3ab8
Merge pull request #1935 from peternewman/master-resync
peternewman Feb 28, 2024
ec6ba37
Remove some unnecessary usings from BrokerNullPDU
peternewman Feb 28, 2024
e00322d
Add the BrokerFetchClientListPDU class
peternewman Feb 28, 2024
16455b1
Add message builders for RDMCommand and BrokerFetchClientList packets
peternewman Feb 28, 2024
77859eb
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Feb 28, 2024
b86ee69
Merge branch 'master' into dependabot/github_actions/actions/setup-no…
kripton Feb 28, 2024
ff8bf86
Merge pull request #1917 from OpenLightingProject/dependabot/github_a…
kripton Feb 28, 2024
3599bb0
First attempt at LLRP header and PDU
peternewman Jan 29, 2020
bd89fea
Update some E1.33 Vectors
peternewman Feb 3, 2020
8e7b751
Tidy some Doxygen
peternewman Feb 4, 2020
d9ef9fd
Fix the lint issues
peternewman Feb 4, 2020
ee0a5ab
Add LLRP Probe Request PDU, fix the length flags bug
peternewman Feb 4, 2020
bb597ce
Correct the documentation about the SPI sync port option
peternewman Mar 2, 2024
b176ba1
Update the TCP header for ACN to match the released standards
peternewman Mar 3, 2024
1935297
Merge branch '0.10' into 0.10-clang-latest
kripton Mar 5, 2024
4a3c68d
Merge pull request #1941 from peternewman/0.10-clang-latest
kripton Mar 5, 2024
356decf
Handle some conversion errors
peternewman Mar 10, 2024
e96154c
Migrate the E1.33 code into a separate lib in libs/acn
peternewman Mar 10, 2024
5961212
Fix a header guard after moving a file
peternewman Mar 10, 2024
e41fd88
Fix the tests after making a new library
peternewman Mar 10, 2024
3fff080
Fix a typo in a private constant
peternewman Mar 13, 2024
9b3bd29
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Mar 13, 2024
2e0a388
Fix some minor comments
peternewman Mar 13, 2024
b3660f4
Merge pull request #1942 from peternewman/0.10-clang-latest
peternewman Mar 13, 2024
35e4ed1
Be more consistent with the representation of enums to match the stan…
peternewman Mar 16, 2024
cb1d8f7
Improve clarity with more braces
peternewman Mar 16, 2024
e7b4039
Merge pull request #1939 from peternewman/e1.33-cherry-pick
peternewman Mar 16, 2024
30dd913
Add the initial LLRPProbeRequestPDU
peternewman Feb 4, 2020
3c5d169
Add the ability to easily write a CID to an ostream
peternewman Feb 4, 2020
5fde8e9
Fix the lint issues
peternewman Feb 4, 2020
3f58696
Add the LLRPProbeReplyPDU
peternewman Feb 6, 2020
8261516
Fix the LLRP vector values
peternewman Feb 6, 2020
e0e51d7
Add the ability to force the length flag on a Root PDU
peternewman Feb 6, 2020
e57fe51
Add the LLRP Broadcast CID
peternewman Feb 11, 2020
4e8eb6d
Add some detail on how DMX-TRI error codes are done from its developer
peternewman Mar 4, 2023
af129a6
Update the TCP header for ACN to match the released standards
peternewman Mar 3, 2024
a6badf3
Add some more enums
peternewman Jul 8, 2023
45e89f7
Update some RDM comments
peternewman Feb 25, 2020
2350a05
Add some ConnectStatusCode helpers
peternewman Dec 27, 2023
bcde6b8
Fix a typo in the DeviceManager stuff
peternewman Mar 8, 2023
505668d
Add some E1.33 helpers
peternewman Jan 2, 2024
557cd58
Handle some conversion errors
peternewman Mar 10, 2024
cc02c0f
Be more consistent with the representation of enums to match the stan…
peternewman Mar 16, 2024
7026e60
Remove redundant duplicate copies of some libraries since they've moved
peternewman Mar 16, 2024
9c42ea0
Fix some licensing of the new E133Helper stuff
peternewman Mar 16, 2024
35f14cc
Fix some lint errors
peternewman Mar 16, 2024
cc2da45
Add LLRP Probe Request PDU, fix the length flags bug
peternewman Feb 4, 2020
c790863
Fix some more lint issues
peternewman Mar 16, 2024
33ea03f
Update the TCP header for ACN to match the released standards in TCPT…
peternewman Mar 16, 2024
a20ce88
Update the TCP header for ACN to match the released standards in TCPT…
peternewman Mar 16, 2024
274e2c7
Fix another cpplint issue
peternewman Mar 16, 2024
05b0dbd
Add whitespace after single line code sections in readme so they wrap…
peternewman Mar 16, 2024
0ea80e1
Work towards a new E1.33 plugin
peternewman Mar 16, 2024
e85c5a5
Fix a typo
peternewman Mar 16, 2024
1a036f9
Some of the basics of the E1.33 plugin
peternewman Mar 16, 2024
58a6cc2
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Mar 16, 2024
2350e26
Add the BrokerConnectReplyInflator class and tests
peternewman Mar 17, 2024
7feb4c3
Add the BrokerClientEntryRPTPDU class and tests
peternewman Mar 17, 2024
93253cd
Fix a minor typo
peternewman Mar 17, 2024
0b27b6e
Merge pull request #1945 from peternewman/e1.33-cherry-pick
peternewman Mar 21, 2024
998475d
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Mar 21, 2024
740de39
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Mar 21, 2024
2e0d488
Initial handling of LLRPProbeRequest PDUs
peternewman Feb 6, 2020
f608d4e
Allow the RDMInflator to be used with both native E1.33 and LLRP RDM …
peternewman Feb 11, 2020
7e821e2
Add the ability to pack an RDMPDU
peternewman Feb 11, 2020
76d73f3
Add the ability to inflate an LLRP Probe Reply and build a Probe Request
peternewman Feb 18, 2020
0906483
First attempt at the E1.33 Broker PDU
peternewman Mar 7, 2023
a81c83d
First attempt at BrokerClientEntryPDU
peternewman Mar 7, 2023
cf6c53b
First go at BrokerConnectPDU, could do with more tests
peternewman Mar 7, 2023
87cb468
Add the BrokerNullPDU and tests
peternewman Mar 8, 2023
77eefe4
Correct the byte order for the E1.33 version field
peternewman Mar 9, 2023
17b625e
Correct the size of the BrokerPDU's vector
peternewman Mar 9, 2023
3ce250c
Correct a broker endian check for the E1.33 version in our tests
peternewman Mar 9, 2023
f4db0ee
Add a testPrepend test for the BrokerClientEntryPDU base class
peternewman Mar 9, 2023
b14741f
Allow the timeout interval of the HealthCheckedConnection to be custo…
peternewman Mar 10, 2023
f70cb7d
Add some more new simple E1.33 inflators
peternewman Jul 3, 2023
a44aa2c
More E1.33 vectors
peternewman Jul 3, 2023
f6710a4
Fix a minor typo
peternewman Jul 3, 2023
97c8f81
A few more E1.33 enums
peternewman Jul 3, 2023
f64d20f
Fix a lint issue
peternewman Jul 3, 2023
efe0f47
Remove some duplicate enums from a broken merge
peternewman Mar 22, 2024
6cc4d2f
Fix another broken merge
peternewman Mar 22, 2024
fd70744
Fix lint in LLRPProbeRequestPDU.cpp
peternewman Mar 22, 2024
a7a9d97
Remove some reundant using statements
peternewman Mar 22, 2024
6f26169
Fix lots of lint issues
peternewman Mar 22, 2024
684d700
Lint RDMPDU
peternewman Mar 22, 2024
db18da4
Fix a number of Broker lint issues
peternewman Mar 23, 2024
76e6181
Fix a number of LLRP lint issues
peternewman Mar 23, 2024
58e0a58
Fix RDM Inflator lint issues
peternewman Mar 23, 2024
f0b01b3
Fix more lint issues
peternewman Mar 23, 2024
baf60c9
Add a todo for future callback changes
peternewman Mar 25, 2024
a58d5e6
Fix some minor comments
peternewman Mar 25, 2024
a05acc2
Merge pull request #1947 from peternewman/e1.33-cherry-pick
peternewman Mar 27, 2024
1054c29
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Mar 27, 2024
773a4ad
Fix a broken merge
peternewman Mar 28, 2024
8d1c563
Add the ability to build BrokerNullTCP packets
peternewman Jul 3, 2023
f56a071
Correctly commit only a partial change for now
peternewman Jul 3, 2023
d242ccb
Update E133HealthCheckedConnection to work with the new standardised …
peternewman Jul 3, 2023
b378b89
Update the RDM Inflator to the standardised E1.33
peternewman Jul 8, 2023
7f68a42
Add support inflator for a lot of E1.33 RPT PDUs
peternewman Jul 8, 2023
65d58c9
Add tests for the LLRP and RPT headers in the HeaderSet
peternewman Jul 8, 2023
a0df70a
Update the RDM PDU to the released standard version
peternewman Feb 24, 2024
262dc37
Add the RPT and RPT Request PDU classes
peternewman Feb 24, 2024
5dabc8b
Tidy the whitespace on RPTPDU.h
peternewman Feb 24, 2024
8af9777
Add the BrokerFetchClientListPDU class
peternewman Feb 28, 2024
eab5997
Add message builders for RDMCommand and BrokerFetchClientList packets
peternewman Feb 28, 2024
8d94b7c
Fix a comment typo
peternewman Mar 28, 2024
9fd0722
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Mar 28, 2024
a2aeb83
Merge pull request #1951 from peternewman/0.10-clang-latest
kripton Mar 28, 2024
58ae321
Try and fix the clearing an object of non-trivial type error
peternewman Mar 28, 2024
e6dbffd
Merge branch '0.10' of https://github.com/openlightingproject/ola int…
peternewman Mar 28, 2024
6ea9f01
Add more logging to a test and remove unnecessary includes
peternewman Mar 28, 2024
b64b89d
Add initial negative E1.33/E1.37-7 tests. Need to add categories still
peternewman Feb 26, 2020
8fdae01
Add the ability to override the expected NACK for GetZeroMixin
peternewman Feb 26, 2020
43d6450
Correct the expected NACK for some endpoint number checks
peternewman Feb 26, 2020
ca14c32
Improve some size calculations, only output SetWithNoData when actual…
peternewman Mar 4, 2023
b48ec14
Apply equivalent Python 3 fixes to old code
peternewman Mar 28, 2024
e1c2de7
Fix some flake8 issues
peternewman Mar 28, 2024
1e16dd9
Fix the capitalisation in some test names
peternewman Mar 28, 2024
840fa1b
Ensure the output of list_rdm_tests.py is itself more flake8 compliant
peternewman Mar 28, 2024
aee74a2
Merge pull request #1952 from peternewman/master-resync
kripton Mar 28, 2024
3345540
Merge branch 'master' into e1.33-cherry-pick
kripton Mar 28, 2024
b46dcd3
Merge branch 'master' into e1.33-rdm-tests
peternewman Mar 28, 2024
e3aa1e1
Fix a copy/paste error
peternewman Mar 28, 2024
af3b2a1
Merge branch 'e1.33-rdm-tests' of https://github.com/peternewman/ola …
peternewman Mar 28, 2024
d294042
Add some RPT Status handling helpers
peternewman Mar 30, 2024
d1cbab9
Move more stuff to the E1.33 lib and fix the LLRP build
peternewman Mar 30, 2024
d4378b9
Fix a typo
peternewman Mar 30, 2024
e1e94e3
Add more E1.33 Enums
peternewman Mar 30, 2024
d976466
Add some RPT UID functionality and more tests
peternewman Mar 30, 2024
a5ddef0
Add a first version of the RPTStatusInflator.
peternewman Mar 31, 2024
f87e79d
Merge pull request #1953 from peternewman/e1.33-rdm-tests
peternewman Apr 5, 2024
ac11a22
Merge branch 'master' into e1.33-cherry-pick
peternewman Apr 5, 2024
2bfeb55
Fix some comments
peternewman Apr 5, 2024
da414b9
Fix some comments
peternewman Apr 5, 2024
2c91e70
Merge branch 'e1.33-cherry-pick' of https://github.com/peternewman/ol…
peternewman Apr 5, 2024
14d56c9
Fix some null pointer exceptions
peternewman Apr 5, 2024
d6a13dd
Fix some null pointer exceptions
peternewman Apr 5, 2024
91e014f
Fix more null pointer exceptions
peternewman Apr 6, 2024
9b385f6
Fix more null pointer exceptions
peternewman Apr 6, 2024
4bdfdbd
RPTPDU test PrependPDU and fix a NPE error in that
peternewman Apr 11, 2024
564dcb6
RPTPDU test PrependPDU and fix a NPE error in that
peternewman Apr 11, 2024
b1dbef0
RPTRequestPDU fix a NPE error in PrependPDU
peternewman Apr 11, 2024
10d264a
RPTRequestPDU fix a NPE error in PrependPDU
peternewman Apr 11, 2024
9e113f0
Handle vendorcast/broadcast when sending RDM commands via E1.33
peternewman Apr 11, 2024
49d4e2c
Add a TODO for future tidying up
peternewman Apr 11, 2024
b93b8e0
Merge pull request #1950 from peternewman/e1.33-cherry-pick
peternewman Apr 11, 2024
af117de
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Apr 11, 2024
2df91d3
Add the BrokerConnectReplyInflator class and tests
peternewman Mar 17, 2024
98b3765
Add the BrokerClientEntryRPTPDU class and tests
peternewman Mar 17, 2024
3a0d7ba
Fix a minor typo
peternewman Mar 17, 2024
920b0f5
Add more logging to a test and remove unnecessary includes
peternewman Mar 28, 2024
9e16477
Add some RPT Status handling helpers
peternewman Mar 30, 2024
218e548
Fix a typo
peternewman Mar 30, 2024
b358d78
Add more E1.33 Enums
peternewman Mar 30, 2024
afa0c37
Add some RPT UID functionality and more tests
peternewman Mar 30, 2024
0e292e5
Add a first version of the RPTStatusInflator.
peternewman Mar 31, 2024
e3a8c6c
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Apr 12, 2024
e99edd6
Migrate the E1.33 code into a separate lib in libs/acn
peternewman Mar 10, 2024
a003615
Fix a header guard after moving a file
peternewman Mar 10, 2024
2994df8
Fix the tests after making a new library
peternewman Mar 10, 2024
ee4974d
Remove redundant duplicate copies of some libraries since they've moved
peternewman Mar 16, 2024
1c8e4ed
Fix a lint error
peternewman Apr 12, 2024
adc0cf8
Fix a lint error
peternewman Apr 12, 2024
31c6af0
Add BrokerClientEntryRPT Inflator
peternewman Apr 12, 2024
5cf3ab2
Add BrokerClientEntryRPT Inflator
peternewman Apr 12, 2024
0dc3e4a
Fix a licence
peternewman Apr 12, 2024
2f05f7a
Fix a licence
peternewman Apr 12, 2024
157e7d0
Sort some sources for the lib
peternewman Apr 12, 2024
d0c074f
Temporarily remove some classes we don't need to merge right now
peternewman Apr 12, 2024
f302dfc
Add another basic inflator
peternewman Apr 12, 2024
12ee6e0
Add another basic inflator
peternewman Apr 12, 2024
af12b76
Initial BrokerNullInflator test
peternewman Apr 13, 2024
69ab419
Initial BrokerNullInflator test
peternewman Apr 13, 2024
d6ff723
Fix a typo in a header guard
peternewman Apr 13, 2024
4a96795
Fix a typo in a header guard
peternewman Apr 13, 2024
592a566
Remove another class which doesn't exist in this PR yet
peternewman Apr 13, 2024
5b8e4d7
Fix NPE and add tests for E133StatusHelper functions
peternewman Apr 13, 2024
981921c
Fix NPE and add tests for E133StatusHelper functions
peternewman Apr 13, 2024
3a02f31
Fix some lint errors
peternewman Apr 13, 2024
6d6bd56
Fix some lint errors
peternewman Apr 13, 2024
7f54049
Remove another test that's not present yet
peternewman Apr 13, 2024
14d84e5
Fix a comment
peternewman Apr 13, 2024
ea3fc55
Fix a comment
peternewman Apr 13, 2024
e01e0ab
Add a missing include
peternewman Apr 13, 2024
edb1d1a
Skip some other complicated tests that don't pass yet
peternewman Apr 13, 2024
0fff671
Merge pull request #1957 from peternewman/e1.33-cherry-pick
peternewman Apr 14, 2024
ebe7f20
Expose the default UID via the PluginAdaptor
peternewman Apr 14, 2024
356ae17
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Apr 14, 2024
44ad498
Fix the missed rename
peternewman Apr 14, 2024
7e83985
Allow an LLRPProbeReplyPDU to be sent
peternewman Feb 6, 2020
d89abd2
Handle vendorcast/broadcast when sending RDM commands via E1.33
peternewman Apr 11, 2024
3d752e7
Fix some cpplint issues
peternewman Apr 14, 2024
016f0cd
Fix some cpplint issues
peternewman Apr 14, 2024
71378c9
Update the E1.33/E1.37-7 PIDs within RDMEnums.h
peternewman Apr 16, 2024
d72f35e
Merge pull request #1959 from peternewman/e1.33-cherry-pick
peternewman Apr 21, 2024
1eec20a
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Apr 21, 2024
31e2b3d
Update the E1.33/E1.37-7 PIDs within RDMEnums.h
peternewman Apr 16, 2024
781cdf6
Pass all the LLRPProbeRequest info across in the callback and act on …
peternewman Feb 9, 2020
b151281
Add the ability to inflate an LLRP Probe Reply and build a Probe Request
peternewman Feb 18, 2020
05404c7
Fix a presumed broken merge and a lint issue
peternewman Apr 21, 2024
f1d7d43
Fix a presumed broken merge and a lint issue
peternewman Apr 21, 2024
2c2fdc7
Tidy a header file
peternewman Apr 21, 2024
8b45447
Tidy a header file
peternewman Apr 21, 2024
62d40fe
Expose the default UID via the PluginAdaptor
peternewman Apr 14, 2024
50ec35f
Fix the missed rename
peternewman Apr 14, 2024
ed8d532
Fix a comment
peternewman Apr 21, 2024
7207b76
Fix a comment
peternewman Apr 21, 2024
2d5280c
Fix a typo
peternewman Apr 21, 2024
9a89af1
Fix a typo
peternewman Apr 21, 2024
720bb24
Fix a comment typo
peternewman Apr 21, 2024
672ca47
Update to the standardised PID names for E1.37-7
peternewman Apr 21, 2024
9de59d7
Update to the standardised PID names for E1.37-7
peternewman Apr 21, 2024
425d7f6
Fix a comment typo
peternewman Apr 21, 2024
3d070a6
Fix the formatting of some PID values in some Python exceptions
peternewman Apr 21, 2024
548bd22
Fix the formatting of some PID values in some Python exceptions
peternewman Apr 21, 2024
bc81275
Fix some lint issues
peternewman Apr 21, 2024
fd24823
Fix some lint issues
peternewman Apr 21, 2024
54d2743
Ensure we don't get an NPE if the Stack is missing
peternewman Apr 21, 2024
7826970
Ensure we don't get an NPE if the Stack is missing
peternewman Apr 21, 2024
1593985
Merge pull request #1960 from peternewman/e1.33-cherry-pick
peternewman Aug 27, 2024
c382d1c
Merge branch 'master' of https://github.com/openlightingproject/ola i…
peternewman Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pkg: "gcc g++"
- id: "distcheck-debian-stable-amd64-gcc"
task: "distcheck"
configure-args: "--enable-ja-rule --enable-e133 --enable-rdm-tests --enable-java-libs"
configure-args: "--enable-ja-rule --enable-e133 --enable-rdm-tests"
# TODO(Perry): Fix Debian 12 OOM issue on GitHub Actions
container: "debian:stable"
compiler:
Expand All @@ -30,7 +30,7 @@ jobs:
pkg: "gcc g++"
- id: "distcheck-debian-stable-amd64-clang"
task: "distcheck"
configure-args: "--enable-ja-rule --enable-e133 --enable-rdm-tests --enable-java-libs"
configure-args: "--enable-ja-rule --enable-e133 --enable-rdm-tests"
# TODO(Perry): Fix Debian 12 OOM issue on GitHub Actions
container: "debian:stable"
compiler:
Expand All @@ -50,13 +50,13 @@ jobs:
run: apt-get update -y
# See comments beginning at
# https://github.com/actions/runner/issues/763#issuecomment-1435474884
# Without Git, actions/checkout@v3 will resort to REST and will not
# Without Git, actions/checkout@v4 will resort to REST and will not
# create a .git folder or .git.config. The Problem Matcher looks for
# .git/config to find where the root of the repo is, so it must be
# present.
- name: Install Git
run: apt-get -y install git
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build tools
shell: bash
run: |
Expand Down Expand Up @@ -90,17 +90,18 @@ jobs:
- name: Autoreconf
run: sudo --preserve-env -u builduser env "PATH=$PATH" autoreconf -i
- name: Set configure arguments
# Env var name DISTCHECK_CONFIGURE_FLAGS must be used, see #1881 and #1883
run: |
echo "GH_OLA_CONFIGURE_ARGS=${{ matrix.configure-args }}" >> $GITHUB_ENV
echo "DISTCHECK_CONFIGURE_FLAGS=${{ matrix.configure-args }}" >> $GITHUB_ENV
- name: Set additional Linux configure arguments
if: runner.os == 'Linux'
# Silence all deprecated declarations on Linux due to auto_ptr making the build log too long
run: |
echo "GH_OLA_CONFIGURE_ARGS=$GH_OLA_CONFIGURE_ARGS CPPFLAGS=-Wno-deprecated-declarations" >> $GITHUB_ENV
echo "DISTCHECK_CONFIGURE_FLAGS=$DISTCHECK_CONFIGURE_FLAGS CPPFLAGS=-Wno-deprecated-declarations" >> $GITHUB_ENV
- name: Print configure command
run: echo "./configure $GH_OLA_CONFIGURE_ARGS"
run: echo "./configure $DISTCHECK_CONFIGURE_FLAGS"
- name: Configure
run: sudo --preserve-env -u builduser env "PATH=$PATH" ./configure $GH_OLA_CONFIGURE_ARGS
run: sudo --preserve-env -u builduser env "PATH=$PATH" ./configure $DISTCHECK_CONFIGURE_FLAGS
- name: ${{ matrix.task }}
run: sudo --preserve-env -u builduser env "PATH=$PATH" make ${{ matrix.task }} -j${{ steps.num-cpu-cores.outputs.NUM_CPU_CORES }} VERBOSE=1
- name: Display structure of the built files
Expand All @@ -118,14 +119,14 @@ jobs:
if: always()
run: sha256sum ola-*.tar.gz
- name: Upload source tree artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ola-${{ matrix.id }}-source-tree
path: ola-${{ matrix.id }}-source-tree.tar.gz
- name: Upload built artifact
if: matrix.task == 'distcheck' || matrix.task == 'dist'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ola-${{ matrix.id }}-dist
path: |
Expand All @@ -146,7 +147,7 @@ jobs:
flag-name: ${{ matrix.id }}
- name: Upload coverage artifacts
if: always() && matrix.task == 'coverage'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ola-${{ matrix.id }}-coverage
path: coverage/
Expand All @@ -164,7 +165,7 @@ jobs:
- id: "distcheck-debian-stable-amd64-clang"
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-${{ matrix.id }}-source-tree
path: .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
run: apt-get update -y
# See comments beginning at
# https://github.com/actions/runner/issues/763#issuecomment-1435474884
# Without Git, actions/checkout@v3 will resort to REST and will not
# Without Git, actions/checkout@v4 will resort to REST and will not
# create a .git folder or .git.config. The Problem Matcher looks for
# .git/config to find where the root of the repo is, so it must be
# present.
- name: Install Git
run: apt-get -y install git
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build tools
run: apt-get -y install devscripts adduser fakeroot sudo
- name: Install build dependencies
Expand All @@ -53,7 +53,7 @@ jobs:
shell: bash
run: find . -type f -exec sha256sum {} \;
working-directory: built
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: ola-built-debian-${{ matrix.image_tag }}-${{ matrix.architecture }}
Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-built-debian-${{ matrix.image_tag }}-${{ matrix.architecture }}
path: built
Expand All @@ -85,7 +85,7 @@ jobs:
run: apt-get -y install autopkgtest
- name: Test
run: autopkgtest --output-dir=test-output built/*ges -- null
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always() # Always upload the test output, even on failed tests
with:
name: ola-test-output-debian-${{ matrix.image_tag }}-${{ matrix.architecture }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/isort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: isort/isort-action@v1
22 changes: 11 additions & 11 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
run: apt-get update -y
# See comments beginning at
# https://github.com/actions/runner/issues/763#issuecomment-1435474884
# Without Git, actions/checkout@v3 will resort to REST and will not
# Without Git, actions/checkout@v4 will resort to REST and will not
# create a .git folder or .git.config. The Problem Matcher looks for
# .git/config to find where the root of the repo is, so it must be
# present.
- name: Install Git
run: apt-get -y install git
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install build tools
shell: bash
run: |
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
tar --exclude=ola-debian-stable-built-source-tree.tar.gz -cvzf ola-debian-stable-built-source-tree.tar.gz .
- name: SHA256 artifact archive
run: sha256sum ola-debian-stable-built-source-tree.tar.gz
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: ola-debian-stable-built-source-tree.tar.gz
Expand All @@ -67,7 +67,7 @@ jobs:
needs: build
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: .
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
needs: build
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: .
Expand All @@ -123,7 +123,7 @@ jobs:
needs: build
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: .
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
needs: build
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: .
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
needs: build
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: .
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
needs: build
steps:
- name: Download built source tree archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ola-debian-stable-built-source-tree
path: .
Expand Down Expand Up @@ -260,9 +260,9 @@ jobs:
name: weblint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js v18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18 # LTS
cache: 'npm'
Expand Down
1 change: 1 addition & 0 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ elif [[ $TASK = 'pychecker-wip' ]]; then
pychecker --quiet --limit 500 --blacklist $PYCHECKER_BLACKLIST $(find ./ -name "*.py" -and ! \( -name "*_pb2.py" -or -name "OlaClient.py" -or -name "ola_candidate_ports.py" \) | xargs)
else
# Otherwise compile and check as normal
# Env var name DISTCHECK_CONFIGURE_FLAGS must be used, see #1881 and #1883
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
# Silence all deprecated declarations on Linux due to auto_ptr making the build log too long
export DISTCHECK_CONFIGURE_FLAGS='--enable-rdm-tests --enable-java-libs --enable-ja-rule --enable-e133 CPPFLAGS=-Wno-deprecated-declarations'
Expand Down
8 changes: 5 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,10 @@ COVERAGE_OUTPUTS = --txt coverage/coverage.txt \
--cobertura coverage/coverage.cobertura.xml \
--html-details coverage/details.html/coverage.details.html \
--coveralls coverage/coverage.coveralls.json
COVERAGE_GCOV_EXE=--gcov-executable /usr/bin/gcov
COVERAGE_FILTERS=-e '.*Test\.cpp$$' \
# See https://gcovr.com/en/stable/guide/gcov_parser.html#negative-hit-counts
COVERAGE_FLAGS = --gcov-ignore-parse-errors=negative_hits.warn_once_per_file
COVERAGE_GCOV_EXE = --gcov-executable /usr/bin/gcov
COVERAGE_FILTERS = -e '.*Test\.cpp$$' \
-e '.*\.pb\.cc$$' \
-e '.*\.pb\.cpp$$' \
-e '.*\.pb\.h$$' \
Expand All @@ -288,7 +290,7 @@ if !BUILD_GCOV
else
if FOUND_GCOVR
mkdir -p coverage/details.html/
gcovr --print-summary $(COVERAGE_OUTPUTS) $(COVERAGE_GCOV_EXE) --root . $(COVERAGE_FILTERS)
gcovr $(COVERAGE_FLAGS) --print-summary $(COVERAGE_OUTPUTS) $(COVERAGE_GCOV_EXE) --root . $(COVERAGE_FILTERS)
else
$(error gcovr not found. Install gcovr (e.g. via pip for the latest version) and re-run configure.)
endif
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
x/y/2023 ola-0.10.10
x/y/2024 ola-0.10.10
Features:
*

Expand Down Expand Up @@ -213,7 +213,7 @@
std::auto_ptr #1028 Debian #831103
* JsonPatchParser.h tries to include a project header file; move the
OptionalItem header to includes to resolve #1086
* Reset the client socket once we've closed it, so it can be re-used

Check failure on line 216 in NEWS

View workflow job for this annotation

GitHub Actions / codespell

re-used ==> reused
* Silence a warning in the code so it builds with Protobuf 3 #1110 Debian
#835433
* Work around <ernno.h> include failure on MIPS Debian #836383
Expand Down
2 changes: 1 addition & 1 deletion README.developer
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The release lifecycle is:
- New feature work occurs on the master branch.
- Once the new features are considered stable or enough time has passed, a new
minor release branch will be created, e.g. 0.10.
- The minor release branch will be stablized with bugfixes, these bug fixes
- The minor release branch will be stabilized with bugfixes, these bug fixes
will also be merged back into master.
- Once declared stable, a new patch branch 0 will be created e.g. 0.10.0
- Release specific changes like the version number, debian files etc. will be
Expand Down
2 changes: 1 addition & 1 deletion common/io/IOStackTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void IOStackTest::testAppendToQueue() {
}

/**
* Confirm we re-use blocks
* Confirm we reuse blocks
*/
void IOStackTest::testBlockReuse() {
MemoryBlockPool pool(4);
Expand Down
2 changes: 1 addition & 1 deletion common/io/PollerInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace io {
* reentrant. Calling any of the read / write / close actions may in turn add /
* remove descriptors, including the descriptor the method was itself called
* on. There are tests in SelectServerTest.cpp to exercise some of these cases
* but implementors need to be careful.
* but implementers need to be careful.
*
* @warning
* For example, if Poll() iterates over a set of Descriptors and calls
Expand Down
16 changes: 16 additions & 0 deletions common/messaging/DescriptorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ using ola::messaging::BoolFieldDescriptor;
using ola::messaging::FieldDescriptor;
using ola::messaging::FieldDescriptorGroup;
using ola::messaging::IPV4FieldDescriptor;
using ola::messaging::IPV6FieldDescriptor;
using ola::messaging::MACFieldDescriptor;
using ola::messaging::StringFieldDescriptor;
using ola::messaging::UIDFieldDescriptor;
using ola::messaging::UInt16FieldDescriptor;
Expand Down Expand Up @@ -76,6 +78,20 @@ void DescriptorTest::testFieldDescriptors() {
OLA_ASSERT_TRUE(ipv4_descriptor.LimitedSize());
OLA_ASSERT_EQ(4u, ipv4_descriptor.MaxSize());

// IPv6 address
IPV6FieldDescriptor ipv6_descriptor("ipv6");
OLA_ASSERT_EQ(string("ipv6"), ipv6_descriptor.Name());
OLA_ASSERT_TRUE(ipv6_descriptor.FixedSize());
OLA_ASSERT_TRUE(ipv6_descriptor.LimitedSize());
OLA_ASSERT_EQ(16u, ipv6_descriptor.MaxSize());

// MAC address
MACFieldDescriptor mac_descriptor("mac");
OLA_ASSERT_EQ(string("mac"), mac_descriptor.Name());
OLA_ASSERT_TRUE(mac_descriptor.FixedSize());
OLA_ASSERT_TRUE(mac_descriptor.LimitedSize());
OLA_ASSERT_EQ(6u, mac_descriptor.MaxSize());

// UID
UIDFieldDescriptor uid_descriptor("uid");
OLA_ASSERT_EQ(string("uid"), uid_descriptor.Name());
Expand Down
Loading
Loading