summaryrefslogtreecommitdiffstats
path: root/test/source
Commit message (Collapse)AuthorAgeFilesLines
* source/base: Remove unused ref constructorWilliam A. Kennington III2019-03-291-22/+0
| | | | | | | | | | | | 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>
* internal/sdref: Remove in favor of stdplus/handleWilliam A. Kennington III2019-03-291-8/+9
| | | | | | | | | | | 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>
* clang-tidy: Basic configurationWilliam A. Kennington III2018-12-131-2/+2
| | | | | | | | | | | 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>
* source/*: Make updating callbacks possibleWilliam A. Kennington III2018-10-295-0/+21
| | | | | | | | | | | | 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>
* source/base: Improve some method typesWilliam A. Kennington III2018-07-231-6/+7
|
* source/event: Rename Event to EventBaseWilliam A. Kennington III2018-07-231-9/+15
|
* source/io: Temporarily remove {get,set}_fd_ownWilliam A. Kennington III2018-07-231-31/+0
| | | | | | | 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.
* source/child: ImplementWilliam A. Kennington III2018-07-221-0/+163
|
* source/signal: ImplementWilliam A. Kennington III2018-07-221-0/+160
|
* source/io: ImplementWilliam A. Kennington III2018-07-221-0/+258
|
* test/source/event: Add missing <type_traits>William A. Kennington III2018-07-221-0/+1
|
* source/event: Implement event_handler style sourcesWilliam A. Kennington III2018-07-221-0/+152
|
* test/time: Missing functionalWilliam A. Kennington III2018-07-221-0/+1
|
* test/time: Validate callbackWilliam A. Kennington III2018-07-221-0/+2
|
* source/time: ImplementWilliam A. Kennington III2018-07-191-0/+204
|
* source/base: Make callback handling genericWilliam A. Kennington III2018-07-171-1/+3
|
* source/base: Refactor out callback routineWilliam A. Kennington III2018-07-171-30/+14
| | | | | The callback mechanism will be used by other callback methods in the same fashion, so we can template and re-use this functionality
* source/base: Support automatically configuring userdataWilliam A. Kennington III2018-07-171-1/+30
| | | | | This makes callbacks work correctly as the systemd callback functions need to know where to look for the object storing the real callback.
* test/source/base: Clean up duplicated codeWilliam A. Kennington III2018-07-171-192/+110
|
* source/base: Implement movingWilliam A. Kennington III2018-07-171-0/+162
|
* source/base: Make it possible to get the prepare callbackWilliam A. Kennington III2018-07-171-0/+8
|
* source/base: Make it possible to get the underlying sd_event_sourceWilliam A. Kennington III2018-07-171-6/+9
|
* source/base: Only disable the event if it existsWilliam A. Kennington III2018-07-171-0/+10
| | | | | This shouldn't happen in practice but will be needed to supporting moving.
* source/base: Take an event directly instead of sdeventWilliam A. Kennington III2018-07-171-13/+46
| | | | Also expose a mechanism for retrieving our internal event.
* source/base: Add the prepare callback functionalityWilliam A. Kennington III2018-07-171-0/+70
|
* source/base: Expose trivial built in methodsWilliam A. Kennington III2018-07-171-4/+155
|
* Large refactoringWilliam A. Kennington III2018-07-171-0/+59
OpenPOWER on IntegriCloud