55fd87c7 | 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I3e2d96290ecbd47c19a1128cd7ac0246598b1245 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
18db9a3e | 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: I6c62f244ae77c511ecbb62b72964154f465fb590 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
ecd81c82 | 06-Aug-2024 |
George Liu <liuxiwei@ieisystem.com> |
Fix MD040 warnings
The following warnings are generated by using markdownlint analysis: ``` MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] ``` Refer
Fix MD040 warnings
The following warnings are generated by using markdownlint analysis: ``` MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] ``` Refer to markdown-lint [1] to fix MD040 [1]: https://github.com/updownpress/markdown-lint/blob/master/rules/040-fenced-code-language.md
Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I942310b9d6bc3587d3cfe16c13d53d27d64fada4
show more ...
|
ac794347 | 15-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using t
meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using the .txt extension for a build file has a few advantages, chief among them many tools and text editors expect a file with the .txt extension to be plain text files, not build scripts.
[1] https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ib8500abd77c6bf7e670ff6e874d5048858def7cf
show more ...
|
0249f9ed | 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 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-17 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: I89c45445ea256569100d5fcb2a442a1b29de939e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
25f484be | 17-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I78bb5368b168ddc5ead8c
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I78bb5368b168ddc5ead8cb6efb114fb870aba891 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
a8c11e3c | 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: I84a952aae0e96b2960d8622659902df660d5ddb8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
db7e56bd | 07-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
clang-ignore: remove unneeded file
openbmc-build-scripts by default uses git-ls-files and so does meson. There is no reason to add untracked files into the .clang-ignore.
Signed-off-by: Patrick Wil
clang-ignore: remove unneeded file
openbmc-build-scripts by default uses git-ls-files and so does meson. There is no reason to add untracked files into the .clang-ignore.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I60c5d736c65e2a8ae061a7c6424d13bfac748271
show more ...
|
2ae14e06 | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: I0da1cafebe637d22b596329925e8904773101b89 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
a4c76ea9 | 21-Nov-2022 |
William A. Kennington III <wak@google.com> |
utility/sdbus: Add bus processing workaround
Provide a wrapper for others to use that works around a memory leak that we have with processing dbus matches in an event loop.
Change-Id: I944e9c254784
utility/sdbus: Add bus processing workaround
Provide a wrapper for others to use that works around a memory leak that we have with processing dbus matches in an event loop.
Change-Id: I944e9c2547844b507216e334bd013f26b8a547da Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
fdc5c662 | 29-Sep-2022 |
William A. Kennington III <wak@google.com> |
subprojects: Remove unused span-lite
Change-Id: I74896f92263a270a23bec75cd57bb74cb58e49a5 Signed-off-by: William A. Kennington III <wak@google.com>
|
209d8341 | 21-Sep-2022 |
William A. Kennington III <wak@google.com> |
build: pull function2 from stdplus
We no longer need to specify this for ourselves.
Change-Id: I1443268aa7ed4126d6c2488983d7bf796b473fca Signed-off-by: William A. Kennington III <wak@google.com> |
13afebfa | 04-Aug-2022 |
Patrick Williams <patrick@stwcx.xyz> |
MAINTAINERS: remove file
The MAINTAINERS file is deprecated in favor of OWNERS.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0baf6def0e230781af0d53ee33c0a1885569debb
|
d57c73f9 | 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
OWNERS: switch 'matches' to 'matchers'
The original OWNERS template had a mistake which used 'matches' instead of the field supported by the Gerrit plugin 'matchers'. Update the OWNERS file to have
OWNERS: switch 'matches' to 'matchers'
The original OWNERS template had a mistake which used 'matches' instead of the field supported by the Gerrit plugin 'matchers'. Update the OWNERS file to have the correct field.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic96c60e54c575e06a84fb94bda4ba11c76872374
show more ...
|
02316409 | 21-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
meson: simplify dependencies
Leverage wrapfile `[provide]` directives to simplify the dependency searching in the meson.build.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia52270
meson: simplify dependencies
Leverage wrapfile `[provide]` directives to simplify the dependency searching in the meson.build.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia5227007ba4f7e1aaa8ff1c87e53e789152cc31c
show more ...
|
afe64c8c | 23-Oct-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Add OWNERS file
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I9cb969068a8ad112f5f43e714cfbce6c5f70b400 |
7cc1ec9f | 25-Oct-2021 |
William A. Kennington III <wak@google.com> |
example/delayed_echo: Fix bogus compiler warning
An std::array size may be uninitialized? ok... ``` ../example/delayed_echo.cpp: In lambda function: ../example/delayed_echo.cpp:46:29: error: ‘buffer
example/delayed_echo: Fix bogus compiler warning
An std::array size may be uninitialized? ok... ``` ../example/delayed_echo.cpp: In lambda function: ../example/delayed_echo.cpp:46:29: error: ‘buffer’ may be used uninitialized [-Werror=maybe-uninitialized] 46 | ssize_t bytes = read(fd, buffer.data(), std::size(buffer)); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/11/array:41, from ../example/delayed_echo.cpp:6: /usr/include/c++/11/bits/range_access.h:245:5: note: by argument 1 of type ‘const std::array<char, 4096>&’ to ‘constexpr decltype (__cont.size()) std::size(const _Container&) [with _Container = std::array<char, 4096>]’ declared here 245 | size(const _Container& __cont) noexcept(noexcept(__cont.size())) | ^~~~ ../example/delayed_echo.cpp:45:32: note: ‘buffer’ declared here 45 | std::array<char, 4096> buffer; ```
Change-Id: I534dcfe5c4e2b843a061066548d8a4f9e6f9cc6f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
dce7381a | 16-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Fix stdplus_dep name
Change-Id: I6c48802b2aeed0b72b2ed4d9a9a4dbf0dec9cf57 Signed-off-by: William A. Kennington III <wak@google.com> |
ece8e59e | 15-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Update to c++20
Change-Id: If2bb06526aad0e848c9d4376f6809c756e3da3a3 Signed-off-by: William A. Kennington III <wak@google.com> |
61869e0d | 15-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Update minimum version to 0.57.0
Required for c++20 suppport.
Change-Id: I3d34c7ebecbb9b7a1f1f8fe43f7b36f8d1581979 Signed-off-by: William A. Kennington III <wak@google.com> |
da476cc5 | 15-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Update pkconfig generate call
Change-Id: I6d8e20d4f9106f224c3c8432e34b1b2966e88e13 Signed-off-by: William A. Kennington III <wak@google.com> |
e261b84f | 15-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Remove werror override
Change-Id: I5a47a8f7ed90eaf656f5db0969d1ff95391e3f54 Signed-off-by: William A. Kennington III <wak@google.com> |
fc1722f0 | 15-Apr-2021 |
William A. Kennington III <wak@google.com> |
meson: Fix formatting
Change-Id: I5368d21cc8de18d0b23d22c0d93ae8fb1bd57e65 Signed-off-by: William A. Kennington III <wak@google.com> |
fc18eb03 | 15-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: rename dependency variable
Per [1], the naming convention for dependencies is '<project_name>_dep', for consistency when importing the project as a meson subproject. Rename the variable here
build: rename dependency variable
Per [1], the naming convention for dependencies is '<project_name>_dep', for consistency when importing the project as a meson subproject. Rename the variable here to match this convention.
Based on [2] there appears to not be any current users of this as a subproject which would need to be updated.
1. https://mesonbuild.com/Subprojects.html#naming-convention-for-dependency-variables 2. https://github.com/search?q=org%3Aopenbmc+get_variable&type=code
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I66082b3f667e9d00ede02184d0b008d0dd22d36b
show more ...
|
a6f7ed7a | 23-Feb-2021 |
William A. Kennington III <wak@google.com> |
internal/cexec: Refactor using new macro
Change-Id: Ia2ccb11980621fd9d474bea775bab13055e0e67e Signed-off-by: William A. Kennington III <wak@google.com> |