This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/celix.git
commit 1ff71f60de1c5a149c76c142d9320ecc8f6b9707 Merge: d40cada2 43a91316 Author: Pepijn Noltes <[email protected]> AuthorDate: Mon Jul 31 23:09:55 2023 +0200 Merge pull request #588 from apache/feature/585-celix-conditions Feature/585 celix conditions .github/workflows/coverage.yml | 3 +- .github/workflows/macos.yml | 10 +- .github/workflows/ubuntu.yml | 6 +- CMakeLists.txt | 2 + bundles/CMakeLists.txt | 1 + bundles/components_ready_check/CMakeLists.txt | 50 ++++ bundles/components_ready_check/README.md | 50 ++++ .../api/celix_components_ready_constants.h | 27 +-- .../components_ready_check/gtest/CMakeLists.txt | 57 +++++ .../gtest/src/ActiveComponentBundle.cc | 41 ++-- .../gtest/src/ComponentsReadyTestSuite.cc | 97 ++++++++ .../ComponentsReadyWithErrorInjectionTestSuite.cc | 123 ++++++++++ .../gtest/src/InactiveComponentBundle.cc | 49 ++-- .../src/celix_components_ready_check.c | 158 +++++++++++++ .../src/celix_components_ready_check.h | 58 +++++ .../src/celix_components_ready_check_activator.c | 39 ++++ bundles/shell/README.md | 18 +- bundles/shell/shell/gtest/src/ShellTestSuite.cc | 4 + bundles/shell/shell/src/query_command.c | 16 +- conanfile.py | 8 + documents/framework.md | 27 +++ documents/subprojects.md | 1 + examples/conan_test_package/CMakeLists.txt | 5 + examples/conan_test_package/conanfile.py | 4 + libs/framework/CMakeLists.txt | 1 + .../error_injector/celix_bundle_ctx/CMakeLists.txt | 1 + .../include/celix_bundle_context_ei.h | 1 + .../src/celix_bundle_context_ei.cc | 7 + libs/framework/gtest/CMakeLists.txt | 19 +- .../BundleArchiveWithErrorInjectionTestSuite.cc | 5 +- .../src/CelixBundleContextBundlesTestSuite.cc | 10 +- .../CelixBundleContextBundlesWithErrorTestSuite.cc | 7 +- .../src/CelixBundleContextServicesTestSuite.cc | 1 + .../CelixFrameworkUtilsErrorInjectionTestSuite.cc | 5 +- .../src/CondTestBundleActivator.cc} | 44 ++-- .../gtest/src/CxxBundleContextTestSuite.cc | 8 +- .../gtest/src/FrameworkBundleTestSuite.cc | 122 ++++++++++ .../FrameworkBundleWithErrorInjectionTestSuite.cc | 93 ++++++++ ...ryTestSuite.cc => FrameworkFactoryTestSuite.cc} | 18 +- .../FrameworkFactoryWithErrorInjectionTestSuite.cc | 61 +++++ .../framework/gtest/src/ScheduledEventTestSuite.cc | 83 +++++-- .../ScheduledEventWithErrorInjectionTestSuite.cc | 5 +- libs/framework/include/celix/Constants.h | 8 + libs/framework/include/celix/Framework.h | 3 +- libs/framework/include/celix/FrameworkFactory.h | 39 ++-- libs/framework/include/celix/UseServiceBuilder.h | 2 +- libs/framework/include/celix_condition.h | 92 ++++++++ libs/framework/include/celix_constants.h | 9 + libs/framework/include/celix_framework.h | 5 + libs/framework/include/celix_framework_factory.h | 5 +- libs/framework/include_deprecated/framework.h | 12 + libs/framework/src/celix_framework_bundle.c | 176 ++++++++++++++ libs/framework/src/celix_framework_bundle.h | 61 +++++ libs/framework/src/celix_framework_factory.c | 22 +- libs/framework/src/celix_libloader.h | 6 + libs/framework/src/framework.c | 256 +++++++++++---------- libs/framework/src/framework_private.h | 6 + 57 files changed, 1735 insertions(+), 312 deletions(-)
