History log of /openbmc/sdeventplus/test/source/ (Results 1 – 25 of 32)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0249f9ed20-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 ...

a8c11e3c10-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 ...


/openbmc/sdeventplus/.clang-format
/openbmc/sdeventplus/.gitignore
/openbmc/sdeventplus/OWNERS
/openbmc/sdeventplus/README.md
/openbmc/sdeventplus/example/delayed_echo.cpp
/openbmc/sdeventplus/example/follow.cpp
/openbmc/sdeventplus/example/heartbeat.cpp
/openbmc/sdeventplus/example/heartbeat_timer.cpp
/openbmc/sdeventplus/example/meson.build
/openbmc/sdeventplus/meson.build
/openbmc/sdeventplus/src/meson.build
/openbmc/sdeventplus/src/sdeventplus/clock.cpp
/openbmc/sdeventplus/src/sdeventplus/clock.hpp
/openbmc/sdeventplus/src/sdeventplus/event.cpp
/openbmc/sdeventplus/src/sdeventplus/event.hpp
/openbmc/sdeventplus/src/sdeventplus/exception.cpp
/openbmc/sdeventplus/src/sdeventplus/internal/cexec.hpp
/openbmc/sdeventplus/src/sdeventplus/internal/sdevent.cpp
/openbmc/sdeventplus/src/sdeventplus/source/base.cpp
/openbmc/sdeventplus/src/sdeventplus/source/base.hpp
/openbmc/sdeventplus/src/sdeventplus/source/child.cpp
/openbmc/sdeventplus/src/sdeventplus/source/child.hpp
/openbmc/sdeventplus/src/sdeventplus/source/event.cpp
/openbmc/sdeventplus/src/sdeventplus/source/event.hpp
/openbmc/sdeventplus/src/sdeventplus/source/io.cpp
/openbmc/sdeventplus/src/sdeventplus/source/io.hpp
/openbmc/sdeventplus/src/sdeventplus/source/signal.cpp
/openbmc/sdeventplus/src/sdeventplus/source/signal.hpp
/openbmc/sdeventplus/src/sdeventplus/source/time.cpp
/openbmc/sdeventplus/src/sdeventplus/source/time.hpp
/openbmc/sdeventplus/src/sdeventplus/test/sdevent.hpp
/openbmc/sdeventplus/src/sdeventplus/types.hpp
/openbmc/sdeventplus/src/sdeventplus/utility/sdbus.hpp
/openbmc/sdeventplus/src/sdeventplus/utility/timer.cpp
/openbmc/sdeventplus/src/sdeventplus/utility/timer.hpp
/openbmc/sdeventplus/subprojects/googletest.wrap
/openbmc/sdeventplus/subprojects/sdbusplus.wrap
/openbmc/sdeventplus/subprojects/stdplus.wrap
/openbmc/sdeventplus/test/clock.cpp
/openbmc/sdeventplus/test/event.cpp
/openbmc/sdeventplus/test/exception.cpp
/openbmc/sdeventplus/test/meson.build
base.cpp
child.cpp
event.cpp
io.cpp
signal.cpp
time.cpp
/openbmc/sdeventplus/test/utility/sdbus.cpp
/openbmc/sdeventplus/test/utility/timer.cpp
43493b5829-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 ...

56dc78ba29-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 ...

5320b1f529-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 ...


/openbmc/sdeventplus/.clang-ignore
/openbmc/sdeventplus/.gitignore
/openbmc/sdeventplus/README.md
/openbmc/sdeventplus/example/heartbeat.cpp
/openbmc/sdeventplus/example/heartbeat_timer.cpp
/openbmc/sdeventplus/example/meson.build
/openbmc/sdeventplus/meson.build
/openbmc/sdeventplus/src/meson.build
/openbmc/sdeventplus/src/sdeventplus/clock.cpp
/openbmc/sdeventplus/src/sdeventplus/event.cpp
/openbmc/sdeventplus/src/sdeventplus/event.hpp
/openbmc/sdeventplus/src/sdeventplus/internal/sdevent.cpp
/openbmc/sdeventplus/src/sdeventplus/internal/sdevent.hpp
/openbmc/sdeventplus/src/sdeventplus/internal/utils.hpp
/openbmc/sdeventplus/src/sdeventplus/source/base.cpp
/openbmc/sdeventplus/src/sdeventplus/source/base.hpp
/openbmc/sdeventplus/src/sdeventplus/source/child.cpp
/openbmc/sdeventplus/src/sdeventplus/source/child.hpp
/openbmc/sdeventplus/src/sdeventplus/source/event.cpp
/openbmc/sdeventplus/src/sdeventplus/source/event.hpp
/openbmc/sdeventplus/src/sdeventplus/source/io.cpp
/openbmc/sdeventplus/src/sdeventplus/source/io.hpp
/openbmc/sdeventplus/src/sdeventplus/source/signal.cpp
/openbmc/sdeventplus/src/sdeventplus/source/signal.hpp
/openbmc/sdeventplus/src/sdeventplus/source/time.cpp
/openbmc/sdeventplus/src/sdeventplus/source/time.hpp
/openbmc/sdeventplus/src/sdeventplus/test/sdevent.hpp
/openbmc/sdeventplus/src/sdeventplus/types.hpp
/openbmc/sdeventplus/src/sdeventplus/utility/timer.cpp
/openbmc/sdeventplus/src/sdeventplus/utility/timer.hpp
/openbmc/sdeventplus/subprojects/fmt.wrap
/openbmc/sdeventplus/subprojects/function2.wrap
/openbmc/sdeventplus/subprojects/googletest.wrap
/openbmc/sdeventplus/subprojects/span-lite.wrap
/openbmc/sdeventplus/subprojects/stdplus.wrap
/openbmc/sdeventplus/test/event.cpp
/openbmc/sdeventplus/test/internal/utils.cpp
/openbmc/sdeventplus/test/meson.build
base.cpp
child.cpp
event.cpp
io.cpp
signal.cpp
time.cpp
/openbmc/sdeventplus/test/utility/timer.cpp
b555c4e613-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 ...

e04cb03b13-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 ...

651e87ad11-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 ...

b53ef90229-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 ...

8fd0cd4c23-Jul-2018 William A. Kennington III <wak@google.com>

source/base: Improve some method types

86be5dd823-Jul-2018 William A. Kennington III <wak@google.com>

source/event: Rename Event to EventBase

eaf815f723-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 ...

571fdf9e22-Jul-2018 William A. Kennington III <wak@google.com>

source/child: Implement

a3a3850422-Jul-2018 William A. Kennington III <wak@google.com>

source/signal: Implement

ce80c3ff22-Jul-2018 William A. Kennington III <wak@google.com>

source/io: Implement

ebcb4f1e22-Jul-2018 William A. Kennington III <wak@google.com>

test/source/event: Add missing <type_traits>

5a7365c622-Jul-2018 William A. Kennington III <wak@google.com>

source/event: Implement event_handler style sources

425691a222-Jul-2018 William A. Kennington III <wak@google.com>

test/time: Missing functional

1072c7f019-Jul-2018 William A. Kennington III <wak@google.com>

test/time: Validate callback

e32a88e117-Jul-2018 William A. Kennington III <wak@google.com>

source/time: Implement

e0f1d19917-Jul-2018 William A. Kennington III <wak@google.com>

source/base: Make callback handling generic

feef68f717-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

2d943ead17-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.

e3e1df0b17-Jul-2018 William A. Kennington III <wak@google.com>

test/source/base: Clean up duplicated code

cc6b12be17-Jul-2018 William A. Kennington III <wak@google.com>

source/base: Implement moving

12