This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git
from d40cada2 Merge pull request #589 from
apache/feature/579-automatic-dependency-deduction
add 1af08124 Add initial setup for OSGi-like conditions
add cb9f45dd Fix query command to include framework services
add 69fb405d Disable condition in framwork
add db65a815 Merge branch 'feature/scheduled_event_on_event_thread' into
feature/osgi_conditions
add b5964b64 Refactor conditions to framework bundle
add 116f92f0 Add FrameworkConditionsTestSuite and refactor fw conditions
impl
add 908f932b Add error injection tests for fw bundle and factory
add 1ace083c Add framework celix_condition services documentation
add d9e42903 Merge branch 'feature/scheduled_event_on_event_thread' into
feature/585-celix-conditions
add f07f6e2d Add component.ready framework condition
add 97c3e494 Merge branch 'feature/scheduled_event_on_event_thread' into
feature/585-celix-conditions
add ba48303b Cleanup framework_start
add 926a94cc Merge branch 'master' into feature/585-celix-conditions
add c329f649 Remove unused source files
add 5cc100dc Fix some minor documentation / comments
add cc323ef8 Remove dead code.
add 9998dd98 Move the components.ready check from fw bundle to a separate
bundle
add 23001993 Add install of components_ready_api headers
add 390903a5 Add components ready check to conanfile
add e20b5621 Update documentation for components ready check
add aebbf584 Fix invalid integer division to floating-point division in
C++ use services
add 228d567f Refactor nextDeadline fw function
add aa4d4380 Update timing in components ready test suite
add 5a44d822 Add missing build option to conanfile.py
add aab28be1 Refactor WaitForScheduledEventTest into 2 tests
add 46e98e96 Remove unused (when build type is not debug) variable.
add db93e5aa Disable fw services for some ei test suites
add c5092834 Add macos and linux prefix to ci build names
add aa3e7d51 Refactor ScheduledEventTestSuite to work with a "build on ci"
option
add f34f845d Configure "build on ci" for github ci actions
add 6fc10988 Rename "build on ci" cmake var to ENABLE_TESTING_ON_CI
add 360f2b47 Add "build on ci" configuration to test_framework_with_cxx14
add 9c961f57 Add "build on ci" configuration to components ready test suite
add 0843c187 Add additional ei test for framework bundle
add d223f7ed Fix memleak in framework bundle
add 5f77f428 Relax timing requirements for CI testing on macos
add efc629d5 Merge branch 'master' into feature/585-celix-conditions
add 43a91316 Add missing intra-package dependency deduction and test
package.
new 1ff71f60 Merge pull request #588 from
apache/feature/585-celix-conditions
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.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 | 22 +-
.../components_ready_check/gtest/CMakeLists.txt | 57 +++++
.../gtest/src/ActiveComponentBundle.cc | 23 +-
.../gtest/src/ComponentsReadyTestSuite.cc | 97 ++++++++
.../ComponentsReadyWithErrorInjectionTestSuite.cc | 123 ++++++++++
.../gtest/src/InactiveComponentBundle.cc | 32 +--
.../src/celix_components_ready_check.c | 158 +++++++++++++
.../src/celix_components_ready_check.h | 34 +--
.../src/celix_components_ready_check_activator.c | 20 +-
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 +-
.../framework/gtest/src/CondTestBundleActivator.cc | 28 ++-
.../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 ++++++++++++++
.../celix_framework_bundle.h} | 53 +++--
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, 1627 insertions(+), 313 deletions(-)
create mode 100644 bundles/components_ready_check/CMakeLists.txt
create mode 100644 bundles/components_ready_check/README.md
copy libs/framework/src/dm_dependency.h =>
bundles/components_ready_check/api/celix_components_ready_constants.h (68%)
create mode 100644 bundles/components_ready_check/gtest/CMakeLists.txt
copy examples/celix-examples/readme_cxx_examples/src/MyBundleActivator.cc =>
bundles/components_ready_check/gtest/src/ActiveComponentBundle.cc (63%)
create mode 100644
bundles/components_ready_check/gtest/src/ComponentsReadyTestSuite.cc
create mode 100644
bundles/components_ready_check/gtest/src/ComponentsReadyWithErrorInjectionTestSuite.cc
copy libs/framework/gtest/src/CmpTestBundleActivator.cc =>
bundles/components_ready_check/gtest/src/InactiveComponentBundle.cc (59%)
create mode 100644
bundles/components_ready_check/src/celix_components_ready_check.c
copy libs/dependency_manager/api/dm_activator.h =>
bundles/components_ready_check/src/celix_components_ready_check.h (51%)
copy libs/framework/gtest/src/nop_activator.c =>
bundles/components_ready_check/src/celix_components_ready_check_activator.c
(52%)
copy
examples/celix-examples/readme_cxx_examples/src/CalcUserBundleActivator.cc =>
libs/framework/gtest/src/CondTestBundleActivator.cc (60%)
create mode 100644 libs/framework/gtest/src/FrameworkBundleTestSuite.cc
create mode 100644
libs/framework/gtest/src/FrameworkBundleWithErrorInjectionTestSuite.cc
rename libs/framework/gtest/src/{CxxFrameworkFactoryTestSuite.cc =>
FrameworkFactoryTestSuite.cc} (76%)
create mode 100644
libs/framework/gtest/src/FrameworkFactoryWithErrorInjectionTestSuite.cc
create mode 100644 libs/framework/include/celix_condition.h
create mode 100644 libs/framework/src/celix_framework_bundle.c
copy libs/framework/{include_deprecated/framework_listener.h =>
src/celix_framework_bundle.h} (50%)