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 ...
|
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 ...
|
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 ...
|
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> |
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 ...
|
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> |
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> |
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> |
d2853a17 | 23-Feb-2021 |
William A. Kennington III <wak@google.com> |
types: Move SdEventDuration out of internal
Change-Id: I71f9ca6736268edc9920d4489d0e15b4f56b410d Signed-off-by: William A. Kennington III <wak@google.com> |
8e7ec0fe | 23-Feb-2021 |
William A. Kennington III <wak@google.com> |
internal/utils: Remove performCallback
This logic doesn't need to be maintained separately from the sdevent source.
Change-Id: I1290a13953c71db06d5a8fd6ed630a690958a4a4 Signed-off-by: William A. Ke
internal/utils: Remove performCallback
This logic doesn't need to be maintained separately from the sdevent source.
Change-Id: I1290a13953c71db06d5a8fd6ed630a690958a4a4 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
7e5f95ff | 23-Feb-2021 |
William A. Kennington III <wak@google.com> |
performCallback: Don't return errors
Just because a callback throws an error doesn't mean that we want it to stop source processing.
Change-Id: Ifcd5f61b3423033f720b1e683b56aa49570e6581 Signed-off-
performCallback: Don't return errors
Just because a callback throws an error doesn't mean that we want it to stop source processing.
Change-Id: Ifcd5f61b3423033f720b1e683b56aa49570e6581 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
cd29b6d0 | 26-Jan-2021 |
George Liu <liuxiwei@inspur.com> |
Fix the get_new method
When calling the get_new() method to generate an Event object, the ::sd_event_new method should be used instead the ::sd_event_default method.
Tested: Before call get_default
Fix the get_new method
When calling the get_new() method to generate an Event object, the ::sd_event_new method should be used instead the ::sd_event_default method.
Tested: Before call get_default and get_new(): event_default = 0x646da0 event_new = 0x646da0
After call get_default and get_new(): event_default = 0x646da0 event_new = 0x646ff8
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I232f1167949ca9bbdedcd368092adf50bf268941
show more ...
|
b0a0e4db | 03-Jun-2020 |
William A. Kennington III <wak@google.com> |
utility/timer: Allow floating
Change-Id: Id83f3e63beaf3247879b3e7d9c9cb048577646f4 Signed-off-by: William A. Kennington III <wak@google.com> |
3d37b581 | 30-Mar-2019 |
William A. Kennington III <wak@google.com> |
utility/timer: Implement heap based userdata
Change-Id: I38b127e4fb147f207f32ff44a9f8d82ee7866ba9 Signed-off-by: William A. Kennington III <wak@google.com> |
43493b58 | 29-Mar-2019 |
William A. Kennington III <wak@google.com> |
source/base: Support floating sources
This allows the source to stay attached to the event loop even if all of the source handles are unreferenced.
Change-Id: I81e97674869ceba3e71479efa6ce38a67c0ba
source/base: Support floating sources
This allows the source to stay attached to the event loop even if all of the source handles are unreferenced.
Change-Id: I81e97674869ceba3e71479efa6ce38a67c0ba5c7 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
a5b752a2 | 22-Mar-2019 |
William A. Kennington III <wak@google.com> |
sdevent: Support floating sources
This will be used by our source/base to support floating references.
Change-Id: I711d75b3552fe7f96f4c42e346741862999f1ee2 Signed-off-by: William A. Kennington III
sdevent: Support floating sources
This will be used by our source/base to support floating references.
Change-Id: I711d75b3552fe7f96f4c42e346741862999f1ee2 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
56dc78ba | 29-Mar-2019 |
William A. Kennington III <wak@google.com> |
source/*: Allow copies to be made
Sources are now just reference holders so we can copy them freely.
Change-Id: I263219de83341473c333a29cf651ae82428a208a Signed-off-by: William A. Kennington III <w
source/*: Allow copies to be made
Sources are now just reference holders so we can copy them freely.
Change-Id: I263219de83341473c333a29cf651ae82428a208a Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
5320b1f5 | 29-Mar-2019 |
William A. Kennington III <wak@google.com> |
source/*: Implement heap based userdata
This makes no immediate change to the external interface, but it will enable us to do things like making copies of the event sources and support for floating
source/*: Implement heap based userdata
This makes no immediate change to the external interface, but it will enable us to do things like making copies of the event sources and support for floating event source types.
Change-Id: Ida73e773eb0869f6f6f21c1e03c61e9ce2b5625c Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
9bfd7b03 | 30-Mar-2019 |
William A. Kennington III <wak@google.com> |
utility/timer: Use unique_function so our callbacks can be move-only
Change-Id: Ib0b7d9f52b12e48ffacac694dc270a11f476fb0e Signed-off-by: William A. Kennington III <wak@google.com> |
546fa933 | 03-Jun-2020 |
William A. Kennington III <wak@google.com> |
src: Fix non-installed types.hpp
Change-Id: Ib2d53f9fe1c99ea4e33877441a75a3dc9962b6ba Signed-off-by: William A. Kennington III <wak@google.com> |
220b5dab | 29-Mar-2019 |
William A. Kennington III <wak@google.com> |
source/*: Use unique_function so our callbacks can be move-only
This will allow move-only types like unique_ptr to be used in callbacks.
Change-Id: Ia99925cea3bf96e3c213ba0fe093cc6ab3f5a421 Signed-
source/*: Use unique_function so our callbacks can be move-only
This will allow move-only types like unique_ptr to be used in callbacks.
Change-Id: Ia99925cea3bf96e3c213ba0fe093cc6ab3f5a421 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|