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 ...
|
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 ...
|
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 ...
|
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 ...
|
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 ...
|
b555c4e6 | 13-Nov-2018 |
William A. Kennington III <wak@google.com> |
source/base: Remove unused ref constructor
We don't ever use this constructor and it was effectively package private. Remove it as we don't ever need to add references to our sd_event_source*.
Test
source/base: Remove unused ref constructor
We don't ever use this constructor and it was effectively package private. Remove it as we don't ever need to add references to our sd_event_source*.
Tested: Built and run through unit test suite.
Change-Id: I1ca9fd4ecfdef1a3fd5aa2ca214be657c1a04b94 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
e04cb03b | 13-Nov-2018 |
William A. Kennington III <wak@google.com> |
internal/sdref: Remove in favor of stdplus/handle
We no longer need to roll our own managed handle type now that stdplus implements a generic one.
Tested: Built and run through unit tests.
Cha
internal/sdref: Remove in favor of stdplus/handle
We no longer need to roll our own managed handle type now that stdplus implements a generic one.
Tested: Built and run through unit tests.
Change-Id: Id34cd8d3ffacf7901d49cac335fa93f744f0e310 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
651e87ad | 11-Dec-2018 |
William A. Kennington III <wak@google.com> |
clang-tidy: Basic configuration
This also cleans up some outstanding issues detected by the configuration.
Tested: Ran through unit test scripts.
Change-Id: I3357a2280a681a87532d6d72315260db2a
clang-tidy: Basic configuration
This also cleans up some outstanding issues detected by the configuration.
Tested: Ran through unit test scripts.
Change-Id: I3357a2280a681a87532d6d72315260db2ab73e87 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
b53ef902 | 29-Oct-2018 |
William A. Kennington III <wak@google.com> |
source/*: Make updating callbacks possible
Sometimes callers want to be able to update the callback used when the source is acted upon. This is needed for updating references stored in the callback.
source/*: Make updating callbacks possible
Sometimes callers want to be able to update the callback used when the source is acted upon. This is needed for updating references stored in the callback.
Tested: Run through the unit test suite.
Change-Id: I78bda32569287964bfc9d49501869d3a2b497f3d Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
8fd0cd4c | 23-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/base: Improve some method types |
86be5dd8 | 23-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/event: Rename Event to EventBase |
eaf815f7 | 23-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/io: Temporarily remove {get,set}_fd_own
These functions were implemented only in newer systemd 237+. We often deal with older verisons so lets add them back after some time passes. We could a
source/io: Temporarily remove {get,set}_fd_own
These functions were implemented only in newer systemd 237+. We often deal with older verisons so lets add them back after some time passes. We could also make them an optional autodetected feature to work around the issue.
show more ...
|
571fdf9e | 22-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/child: Implement |
a3a38504 | 22-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/signal: Implement |
ce80c3ff | 22-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/io: Implement |
ebcb4f1e | 22-Jul-2018 |
William A. Kennington III <wak@google.com> |
test/source/event: Add missing <type_traits> |
5a7365c6 | 22-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/event: Implement event_handler style sources |
425691a2 | 22-Jul-2018 |
William A. Kennington III <wak@google.com> |
test/time: Missing functional |
1072c7f0 | 19-Jul-2018 |
William A. Kennington III <wak@google.com> |
test/time: Validate callback |
e32a88e1 | 17-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/time: Implement |
e0f1d199 | 17-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/base: Make callback handling generic |
feef68f7 | 17-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/base: Refactor out callback routine
The callback mechanism will be used by other callback methods in the same fashion, so we can template and re-use this functionality |
2d943ead | 17-Jul-2018 |
William A. Kennington III <wak@google.com> |
source/base: Support automatically configuring userdata
This makes callbacks work correctly as the systemd callback functions need to know where to look for the object storing the real callback. |
e3e1df0b | 17-Jul-2018 |
William A. Kennington III <wak@google.com> |
test/source/base: Clean up duplicated code |