You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2021/02/07 21:05:54 UTC
[celix] branch feature/cxx_headers updated (a3cee5b -> 6b88732)
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/cxx_headers
in repository https://gitbox.apache.org/repos/asf/celix.git.
from a3cee5b Adds initial C++ Shell as tryout for the C++ headers and adds readme examples
add f696f8f Added member initialization for framework test to fix building with -Weffc++ and/or -Werror (#311)
add ddf1489 Merge pull request #2 from apache/master
add 5e4228f Using pointer value instead of shared ptr object
add afdb357 Merge pull request #312 from dhbfischer/feature/fix_shared_ptr_dependency_manager
add 94a79f4 Update GH actions to not use the master branch
add 080f9e9 Merge pull request #314 from apache/pin-gh-actions
add 261adf8 Adds test and improvements for remote service calls with a large payload and response.
add 1079926 Fixes mg_write use in rsa
add 1f08bc6 Merge pull request #315 from apache/hotfix/rsa_response_has_a_max
add 87fe188 Add initial executor abstraction to promise and implementation of a simple executor
add 13d643e Replaces promise.wait(); in the tests to executor->wait();. Also updates readme.
add a5f0dc2 Refactoring based on PR comments
add 1cd12b4 Replaces use of std::mutex to std::atomic for the promises test cases
add 3bee06d Renamed Celix Promise library to Promises
add 4ba5d8d Moves Celix Promises lib from experimental to libs/
add d10e3c7 Updates CI config for moved Promises lib
add 3348acf Increase the timing diff for the promises timeout tests
add 806575f fixes wrong dir name CelixPromisesConfig.cmake
add 8c58714 Merge pull request #316 from apache/feature/promise_with_executor_abstraction
add da5a091 Merge remote-tracking branch 'origin/master' into feature/cxx_headers
add 6b88732 Improves C++ dynamic services example
No new revisions were added by this update.
Summary of changes:
.github/workflows/celix_etcdlib.yml | 2 +-
.github/workflows/celix_promise.yml | 7 +-
.github/workflows/coverage.yml | 7 +-
.github/workflows/coverity-scan.yml | 2 +-
.github/workflows/macos-nightly.yml | 2 +-
.github/workflows/macos.yml | 2 +-
.github/workflows/ubuntu-nightly.yml | 2 +-
.github/workflows/ubuntu.yml | 5 +-
.../src/remote_example_impl.c | 2 +-
.../gtest/src/tst_activator.c | 24 +-
.../src/export_registration_dfi.c | 6 +-
.../src/import_registration_dfi.c | 2 -
.../src/remote_service_admin_dfi.c | 57 +--
bundles/shell/shell/api/celix/IShellCommand.h | 3 +
.../celix-examples/services_example_c/README.md | 10 +-
.../services_example_cxx/CMakeLists.txt | 13 +-
.../celix-examples/services_example_cxx/README.md | 62 ++-
.../src/DynamicConsumerBundleActivator.cc | 125 +++---
.../src/DynamicProviderBundleActivator.cc | 93 +++++
.../src/SimpleConsumerBundleActivator.cc | 17 +-
libs/CMakeLists.txt | 1 +
.../gtest/src/CxxBundleContextTestSuite.cc | 20 +-
.../gtest/src/DependencyManagerTestSuite.cc | 12 +-
libs/framework/include/celix/BundleActivator.h | 25 +-
libs/framework/include/celix/BundleContext.h | 4 +-
libs/framework/include/celix/ServiceRegistration.h | 5 +
libs/framework/include/celix/Trackers.h | 16 +-
.../include/celix/dm/DependencyManager_Impl.h | 2 +-
.../promise => libs/promises}/CMakeLists.txt | 43 +--
.../promise => libs/promises}/README.md | 49 ++-
libs/promises/api/celix/DefaultExecutor.h | 70 ++++
.../promise => libs/promises}/api/celix/Deferred.h | 42 +--
libs/promises/api/celix/IExecutor.h | 53 +++
libs/promises/api/celix/IScheduledExecutor.h | 127 +++++++
.../promise => libs/promises}/api/celix/Promise.h | 4 +-
libs/promises/api/celix/PromiseFactory.h | 135 +++++++
.../api/celix/PromiseInvocationException.h | 2 +-
.../promises}/api/celix/PromiseTimeoutException.h | 4 +-
.../api/celix/RejectedExecutionException.h | 14 +-
.../promises}/api/celix/impl/SharedPromiseState.h | 345 ++++++++++-------
.../promises/cmake/CelixPromisesConfig.cmake | 2 +-
.../cmake/CelixPromisesConfigVersion.cmake | 0
.../promise => libs/promises}/gtest/CMakeLists.txt | 12 +-
.../promises/gtest/src/PromisesTestSuite.cc | 202 +++++-----
.../promises/gtest/src/VoidPromisesTestSuite.cc | 126 ++++---
.../promises}/src/PromiseExamples.cc | 57 ++-
libs/utils/include/celix_utils.h | 2 +-
misc/experimental/CMakeLists.txt | 3 -
.../promise/api/celix/PromiseFactory.h | 89 -----
misc/experimental/promise/cmake/FindTBB.cmake | 418 ---------------------
50 files changed, 1262 insertions(+), 1065 deletions(-)
create mode 100644 examples/celix-examples/services_example_cxx/src/DynamicProviderBundleActivator.cc
rename {misc/experimental/promise => libs/promises}/CMakeLists.txt (58%)
rename {misc/experimental/promise => libs/promises}/README.md (52%)
create mode 100644 libs/promises/api/celix/DefaultExecutor.h
rename {misc/experimental/promise => libs/promises}/api/celix/Deferred.h (89%)
create mode 100644 libs/promises/api/celix/IExecutor.h
create mode 100644 libs/promises/api/celix/IScheduledExecutor.h
rename {misc/experimental/promise => libs/promises}/api/celix/Promise.h (99%)
create mode 100644 libs/promises/api/celix/PromiseFactory.h
rename {misc/experimental/promise => libs/promises}/api/celix/PromiseInvocationException.h (94%)
copy {misc/experimental/promise => libs/promises}/api/celix/PromiseTimeoutException.h (89%)
rename misc/experimental/promise/api/celix/PromiseTimeoutException.h => libs/promises/api/celix/RejectedExecutionException.h (79%)
rename {misc/experimental/promise => libs/promises}/api/celix/impl/SharedPromiseState.h (65%)
rename misc/experimental/promise/cmake/CelixPromiseConfig.cmake => libs/promises/cmake/CelixPromisesConfig.cmake (91%)
rename misc/experimental/promise/cmake/CelixPromiseConfigVersion.cmake => libs/promises/cmake/CelixPromisesConfigVersion.cmake (100%)
rename {misc/experimental/promise => libs/promises}/gtest/CMakeLists.txt (70%)
rename misc/experimental/promise/gtest/src/PromiseTestSuite.cc => libs/promises/gtest/src/PromisesTestSuite.cc (71%)
rename misc/experimental/promise/gtest/src/VoidPromiseTestSuite.cc => libs/promises/gtest/src/VoidPromisesTestSuite.cc (74%)
rename {misc/experimental/promise => libs/promises}/src/PromiseExamples.cc (51%)
delete mode 100644 misc/experimental/promise/api/celix/PromiseFactory.h
delete mode 100644 misc/experimental/promise/cmake/FindTBB.cmake