This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/coding_conventions
in repository https://gitbox.apache.org/repos/asf/celix.git
from ec718724 Remove redundant clang-format options
add e32f4d5f Use std::int8_t as enum class base
add 74d9c24e Update coding conventions readme
add d2a82305 Remove include regroup from clang-format file
add 4a1ef22a Improving rsa_shm according to code reviews
add 9175b303 Removing unnecessary type conversions from celix_errno
add cc9e0f1f Add synchronization between shm client and server when client
exits
add f647eccf Set ERROR_INJECTOR_DFI default ON
add 6954a85e Handle error for endpointDescription_clone
add ad97eeb8 Add unit test for rsa_common
add 96221707 Replace the hash_map in rsa_json_rpc with celix_long_hash_map
add 5eb30e65 Add error injector for celix_long_hash_map
add c9ce507d Resolve busy loop error
add 099d7659 Reuse dfi option to its error injector
add 3d24c025 Add conan option for mdnsresponder_ei
add 3c903725 error_injector_mdnsresponder not support MacOS
add 46e73d1c Revert "error_injector_mdnsresponder not support MacOS"
add 3b966579 Revert "Add conan option for mdnsresponder_ei"
add ad96edc1 Add validata for rsa_shm and discovery_zeroconf
add 6669d38c Revert "Add synchronization between shm client and server
when client exits"
add e62f269f Add celix_bundleCache_destroyArchive to support OSGi
uninstall.
add a0a37549 Add more test cases for celix_bundleCache_create error
handling.
add 821ab600 Add through unit test for bundle cache.
add 15f03915 Merge pull request #558 from apache/feature/556-osgi-uninstall
add c00bcbab Add unit test for 2 errno marcros
add acb71bd8 Merge pull request #559 from apache/feature/celix_errno_tests
add 205321eb Add fix to handle dm cmp allActive / createInfo for installed
but not started bundles
add 7f095dca Merge pull request #560 from
apache/hotfix/dm_all_component_active_segfault
add 0c78bdcf Merge branch 'master' into rsa_shm_unit_test
add cd5a44cf Merge pull request #551 from xuzhenbao/rsa_shm_unit_test
add 96b22b7d Add tests for system bundle archive creation failures.
add 26fffc94 Add tests for normal bundle archive creation failures.
add eca2f207 Delete residue archive directory in case of errors.
add 7e0541fe Fix logging null string in case of bundleArchive_revise error.
add be8461b7 Add more tests for bundle archive.
add 3842b6e3 Fix a memory leak in test.
add 2e24b1f6 Avoid unnecessary disk write with an extra disk read.
add 53cf5860 Merge pull request #564 from apache/feature/556-osgi-uninstall
add 12a8f42b Correct build errors on OSX, issue #567
add 2efed0a8 Merge pull request #568 from schorg/master
add be88ea02 Merge remote-tracking branch 'origin/master' into
feature/coding_conventions
No new revisions were added by this update.
Summary of changes:
.clang-format | 36 +--
bundles/deployment_admin/src/ioapi.c | 3 +-
bundles/deployment_admin/src/miniunz.c | 15 +-
.../rsa_shm/gtest/CMakeLists.txt | 1 +
.../gtest/src/RsaShmClientServerUnitTestSuite.cc | 2 +-
.../src/RsaShmExportRegistrationUnitTestSuite.cc | 13 +
.../rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc | 22 ++
.../src/RsaShmImportRegistrationUnitTestSuite.cc | 12 +
.../rsa_shm/src/rsa_shm_client.c | 16 +-
.../rsa_shm/src/rsa_shm_export_registration.c | 7 +-
.../rsa_shm/src/rsa_shm_impl.c | 9 +-
.../rsa_shm/src/rsa_shm_server.c | 2 +-
.../shm_pool/src/shm_cache.c | 2 +-
.../shm_pool/src/shm_pool.c | 2 +-
bundles/remote_services/rsa_common/CMakeLists.txt | 6 +-
.../shm_pool => rsa_common}/gtest/CMakeLists.txt | 30 ++-
.../gtest/src/EndpointDescriptionUnitTestSuite.cc | 172 +++++++++++++
.../rsa_common/src/endpoint_description.c | 34 ++-
.../rsa_rpc_json/gtest/CMakeLists.txt | 2 +
.../gtest/src/RsaJsonRpcActivatorUnitTestSuite.cc | 15 ++
.../gtest/src/RsaJsonRpcUnitTestSuite.cc | 45 ++++
.../rsa_rpc_json/src/rsa_json_rpc_activator.c | 7 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.c | 8 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.c | 48 ++--
conanfile.py | 11 +-
documents/building/README.md | 2 +-
documents/development/README.md | 4 +-
libs/error_injector/CMakeLists.txt | 7 +-
.../error_injector/celix_hash_map}/CMakeLists.txt | 19 +-
.../include/celix_hash_map_ei.h} | 10 +-
.../src/celix_hash_map_ei.cc} | 21 +-
.../CMakeLists.txt | 12 +-
.../include/celix_long_hash_map_ei.h | 13 +-
.../src/celix_long_hash_map_ei.cc | 20 +-
.../error_injector/celix_properties/CMakeLists.txt | 5 +-
.../celix_properties/include/celix_properties_ei.h | 1 +
.../celix_properties/src/celix_properties_ei.cc | 8 +
libs/error_injector/stdio/src/stdio_ei.cc | 2 +-
.../unistd}/CMakeLists.txt | 10 +-
.../asprintf_ei.h => unistd/include/unistd_ei.h} | 12 +-
.../src/ifaddrs_ei.cc => unistd/src/unistd_ei.cc} | 18 +-
libs/framework/gtest/CMakeLists.txt | 7 +-
.../BundleArchiveWithErrorInjectionTestSuite.cc | 215 ++++++++++++----
.../src/CelixBundleCacheErrorInjectionTestSuite.cc | 178 +++++++++++++
.../gtest/src/CelixBundleCacheTestSuite.cc | 87 +++++++
.../src/CelixBundleContextBundlesTestSuite.cc | 36 ++-
.../gtest/src/DependencyManagerTestSuite.cc | 4 +-
libs/framework/include/celix/Bundle.h | 2 +-
libs/framework/include/celix/ServiceRegistration.h | 2 +-
libs/framework/include/celix/Trackers.h | 2 +-
libs/framework/include/celix/dm/Component.h | 2 +-
libs/framework/include/celix_dependency_manager.h | 42 ++--
libs/framework/include_deprecated/bundle_archive.h | 7 +-
libs/framework/src/bundle_archive.c | 280 +++++++++++----------
libs/framework/src/bundle_archive_private.h | 10 +
libs/framework/src/bundle_revision.c | 4 +-
libs/framework/src/celix_bundle_cache.c | 226 ++++++++++-------
libs/framework/src/celix_bundle_cache.h | 35 ++-
libs/framework/src/dm_dependency_manager_impl.c | 17 +-
libs/framework/src/framework.c | 15 +-
libs/pushstreams/api/celix/PushEvent.h | 2 +-
libs/pushstreams/api/celix/PushStream.h | 2 +-
libs/utils/gtest/src/CelixErrnoTestSuite.cc | 61 +++++
libs/utils/include/celix_errno.h | 2 +-
libs/utils/include/celix_file_utils.h | 2 +-
65 files changed, 1437 insertions(+), 487 deletions(-)
copy bundles/remote_services/{remote_service_admin_shm_v2/shm_pool =>
rsa_common}/gtest/CMakeLists.txt (59%)
create mode 100644
bundles/remote_services/rsa_common/gtest/src/EndpointDescriptionUnitTestSuite.cc
copy {examples/celix-examples/hello_world_cxx =>
libs/error_injector/celix_hash_map}/CMakeLists.txt (68%)
copy libs/error_injector/{celix_properties/include/celix_properties_ei.h =>
celix_hash_map/include/celix_hash_map_ei.h} (80%)
copy libs/error_injector/{celix_properties/include/celix_properties_ei.h =>
celix_hash_map/src/celix_hash_map_ei.cc} (71%)
copy libs/error_injector/{ifaddrs => celix_long_hash_map}/CMakeLists.txt (67%)
copy
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.h
=> libs/error_injector/celix_long_hash_map/include/celix_long_hash_map_ei.h
(80%)
copy
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.h
=> libs/error_injector/celix_long_hash_map/src/celix_long_hash_map_ei.cc (72%)
copy libs/{framework/gtest/subdir => error_injector/unistd}/CMakeLists.txt
(72%)
copy libs/error_injector/{asprintf/include/asprintf_ei.h =>
unistd/include/unistd_ei.h} (85%)
copy libs/error_injector/{ifaddrs/src/ifaddrs_ei.cc =>
unistd/src/unistd_ei.cc} (77%)
create mode 100644
libs/framework/gtest/src/CelixBundleCacheErrorInjectionTestSuite.cc
create mode 100644 libs/framework/gtest/src/CelixBundleCacheTestSuite.cc