b80c584e | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ie3bd23911d86a3097f21b036a94f1dda3e38b511 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
ab995c50 | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
fd: avoid move-to-self
When compiling with C++23, GCC-13 raises the following compiler failure: ``` ../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Wer
fd: avoid move-to-self
When compiling with C++23, GCC-13 raises the following compiler failure: ``` ../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Werror=self-move] ```
Switch to an explicit `static_cast` to test the same functionality but avoid the error.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I81e36b05d51fd8b11b1e99d62426dd516c3676ed
show more ...
|
7ba248ad | 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I3a681a9dd632fc31b26bf2df50de0cf4b65f8ec0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
3f49f01e | 16-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Update minimum version to 0.57.0
Required for c++20 suppport.
Change-Id: Ida3bdf9615505f7fcc360f5dd246fda5066d6ba5 Signed-off-by: William A. Kennington III <wak@google.com> |
6797f8a0 | 08-Aug-2020 |
William A. Kennington III <wak@google.com> |
subprojects: Bump to HEAD
Change-Id: I4cff901031cf792bca0ca2f08e7f372cea17c141 Signed-off-by: William A. Kennington III <wak@google.com> |
2f8444ce | 03-Jun-2020 |
William A. Kennington III <wak@google.com> |
meson: Make googletest vendorable
This is a quality of life improvement so that users trying to work with the project don't need to have an external install of the googletest dependency for the test
meson: Make googletest vendorable
This is a quality of life improvement so that users trying to work with the project don't need to have an external install of the googletest dependency for the tests to build.
Change-Id: I44b4cbae14c5006eaef0a5b42a1f6b753b07b405 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
d67babcd | 30-May-2019 |
William A. Kennington III <wak@google.com> |
autotools: Remove
Meson is now used to build this package in all necessary places.
Change-Id: Icd01dd86ee22414c221fe2461c76be56d69eaf9c Signed-off-by: William A. Kennington III <wak@google.com>
|
48e6288d | 03-Apr-2019 |
William A. Kennington III <wak@google.com> |
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look lik
meson: Use declare_dependency for libraries
Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency.
Change-Id: Ib042c253adedb6f949c8a8897ed9a34e61d2a888 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
15658977 | 27-Mar-2019 |
William A. Kennington III <wak@google.com> |
meson: Add build system
Change-Id: Ia57836a0f7b5287ddb490ba6de01192ce0ef6382 Signed-off-by: William A. Kennington III <wak@google.com> |
444d6214 | 14-Mar-2019 |
William A. Kennington III <wak@google.com> |
autotools: Fix for autoconf-archive 2019.01.19
The code coverage macros from the archive changed in a backward incompatible way. This adds a workaround to autodetect either version and do the right
autotools: Fix for autoconf-archive 2019.01.19
The code coverage macros from the archive changed in a backward incompatible way. This adds a workaround to autodetect either version and do the right thing.
Tested: Builds with the old version of autotools using the CI. Manually edited the CI to include the new 2019.01.19 version and ran the same test to ensure the coverage results are the same.
Change-Id: Iebc9a3c32de4fd1c2da26e6eb3bc44cf296a4ca6 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
084683a4 | 19-Dec-2018 |
William A. Kennington III <wak@google.com> |
event: Add mock for clients
Makes it easier for client libraries to test their gpio logic.
Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d Signed-off-by: William A. Kennington III <wak@google.
event: Add mock for clients
Makes it easier for client libraries to test their gpio logic.
Change-Id: I34d4372ff57698873ad449e02b78c8fa826d383d Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
ad6ada46 | 19-Dec-2018 |
William A. Kennington III <wak@google.com> |
test: Make sure mocks compile
This makes sure we don't accidentally change our interface without updating the mock.
Change-Id: I50c6827e637167f1223d91f724b99ef8a24b107f Signed-off-by: William A. Ke
test: Make sure mocks compile
This makes sure we don't accidentally change our interface without updating the mock.
Change-Id: I50c6827e637167f1223d91f724b99ef8a24b107f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
8ff58122 | 26-Oct-2018 |
William A. Kennington III <wak@google.com> |
utility/aspeed: Add gpio name to offset method
Useful for converting from the GPIO name listed in the chip or board schematics to the offset which would be presented by the kernel. Made constexpr so
utility/aspeed: Add gpio name to offset method
Useful for converting from the GPIO name listed in the chip or board schematics to the offset which would be presented by the kernel. Made constexpr so that the conversions can be done at compile time.
Ex: gpioplus::utility::aspeed::nameToOffset("B3") -> 11
Tested: Built and run through the unit test suite.
Change-Id: I9ec859bf8fb6c60f15e149779d1bd3eb94fc1bd6 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
88a89bc6 | 20-Sep-2018 |
William A. Kennington III <wak@google.com> |
tests: Build test cases with their respective c++ files
Tested: Unit tests still build and pass as expected.
Change-Id: I20b117dcc07c5338ca300303c52df04f3a0e3ff1 Signed-off-by: William A. Kenni
tests: Build test cases with their respective c++ files
Tested: Unit tests still build and pass as expected.
Change-Id: I20b117dcc07c5338ca300303c52df04f3a0e3ff1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
68cce0fa | 27-Aug-2018 |
William A. Kennington III <wak@google.com> |
event: timestamp should use chrono types |
12cd2543 | 22-Aug-2018 |
William A. Kennington III <wak@google.com> |
Replace all public `const char *` with `std::string_view` |
f3942f6a | 17-Aug-2018 |
William A. Kennington III <wak@google.com> |
test/event: Implement |
b00dd044 | 17-Aug-2018 |
William A. Kennington III <wak@google.com> |
test/handle: Implement |
d8218231 | 16-Aug-2018 |
William A. Kennington III <wak@google.com> |
test/chip: Implement |
26954bd4 | 16-Aug-2018 |
William A. Kennington III <wak@google.com> |
test/internal/fd: Implement |
1d25055f | 16-Aug-2018 |
William A. Kennington III <wak@google.com> |
Initial Commit |