This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/celix_err
in repository https://gitbox.apache.org/repos/asf/celix.git
from 9089a8f7 Rename celix_errorcodes.c to celix_errno.c
add 0c0833a0 Add shm_pool unit test
add d826428d Own header use #include "xxx.h"
add 7045942a Update branch
add 29125181 Merge branch 'master' of https://github.com/xuzhenbao/celix
into rsa_shm_unit_test
add 4dad2004 Add unit test for rsa_shm
add b12db9a5 Use #include " " for celix own header
add cbcf9867 Add unit test for rsa_rpc_json
add 1c4c31c6 Fixing test case for rsa
add dcd3896e rsa_json_rpc and rsa_request_sender use the same log helper
add 7ed55585 Remove an unnecessary dependency
add d640a5eb Add LINKER_WRAP_SUPPORTED option for some unit tests
add d37e8570 Fix double-dlclose and remove dead code.
add 7ab558d4 Fix -Werror=unused-variable.
add 8410db18 Fix crash when starting bundle containing unresolved symbols
#492.
add 54b01ebb Fix #501: celix_bundleActivator_start fails silently.
add dbe030c1 Fix typo.
add a481f9d9 Abort bundle resolution when failing to load any shared
object in bundle
add cab704d3 Close shared objects already opened when failing to load all
shared objects in bundle.
add 0c1cc52c Fix typo in add_celix_bundle_dependencies for framework test.
add 314e5327 Protect against bundles with bad exports.
add 036f8cb3 Improve framework's logging.
add dbb93ea5 Merge pull request #529 from apache/hotfix/double-dlclose
add 97610467 Fix wrong compare function in lb_command.c
add 356daf9b Merge pull request #533 from apache/hotfix/sort_in_lb_command
add d2240029 Add linker script for add_celix_bundle so minimize bundle lib
size
add 272c1e9c Merge branch 'master' into feature/bundle_linker_script
add 5ab7fcf6 Add celix_bundle_hide_symbols cmake function
add 577d9a96 Merge remote-tracking branch 'origin/master' into
feature/bundle_linker_script
add b7bd54da Merge remote-tracking branch 'origin/master' into
feature/bundle_linker_script
add 6b7a80e0 Default hide symbols for bundle (activator) libs
add 5dc6124f Merge branch 'feature/bundle_linker_script' of
github.com:apache/celix into feature/bundle_linker_script
add aeaa104d Remove unneeded linker script files
add 1128583b Rewrite bundle symbol visibility paragraph
add c63c6353 Merge pull request #532 from
apache/feature/bundle_hide_symbols
add 8718b9f3 Add .note section to embed_bundle_linux.s to prevent
executable stack
add 03038302 Merge pull request #535 from
apache/hotfix/mark_embed_bundles_as_not_exec
add 9e631c14 Merge master codes
add 0fc6f3ce Add CELIX_GOTO_IF_ERR marcro to celix_errno.h
add fae2eb4d Update aspritnf_ei to include vasprintf
add 7437f3cf Add array list error injection lib
add 78ff2f06 Add error injection test suite for array list
add b4d8eaac Add status return to array list modification functions
add 19529d7a Merge pull request #534 from
apache/feature/array_list_return_status_on_modification
add 8f1f2e24 Merge master codes
add c0666d0e Merge pull request #537 from xuzhenbao/rsa_shm_unit_test
add 0c5c67ab Merge remote-tracking branch 'origin/master' into
feature/celix_err
add 45e530b0 Add newline to end of CelixErrnoTestSuite.cc
No new revisions were added by this update.
Summary of changes:
bundles/logging/log_helper/CMakeLists.txt | 1 +
.../log_service_v2/src/log_service_activator.c | 10 +-
.../discovery_zeroconf/gtest/CMakeLists.txt | 48 +-
.../rsa_shm/CMakeLists.txt | 41 +-
.../rsa_shm/gtest/CMakeLists.txt | 84 +-
.../rsa_shm/gtest/resources/client.properties.in | 25 -
...org.apache.celix.test.api.Calculator.descriptor | 9 +
.../rsa_shm/gtest/resources/server.properties.in | 25 -
.../gtest/src/RsaShmActivatorUnitTestSuite.cc | 103 +++
.../gtest/src/RsaShmClientServerTestSuite.cc | 62 --
.../gtest/src/RsaShmClientServerUnitTestSuite.cc | 738 ++++++++++++++++
.../src/RsaShmExportRegistrationUnitTestSuite.cc | 474 ++++++++++
.../rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc | 825 ++++++++++++++++++
.../src/RsaShmImportRegistrationUnitTestSuite.cc | 287 +++++++
...rTestSuite.cc => RsaShmIntegrationTestSuite.cc} | 12 +-
.../rsa_shm/gtest/src/RsaShmTestService.h} | 27 +-
.../rsa_shm/gtest/src/RsaShmTestSuite.cc | 162 ----
.../rsa_shm/gtest/src/thpool_ei.cc} | 32 +-
.../rsa_shm/gtest/src/thpool_ei.h | 11 +-
.../rsa_shm/src/rsa_shm_activator.c | 40 +-
.../rsa_shm/src/rsa_shm_client.c | 127 +--
.../rsa_shm/src/rsa_shm_client.h | 8 +-
.../rsa_shm/src/rsa_shm_export_registration.c | 52 +-
.../rsa_shm/src/rsa_shm_export_registration.h | 12 +-
.../rsa_shm/src/rsa_shm_impl.c | 307 ++++---
.../rsa_shm/src/rsa_shm_impl.h | 12 +-
.../rsa_shm/src/rsa_shm_import_registration.c | 35 +-
.../rsa_shm/src/rsa_shm_import_registration.h | 11 +-
.../rsa_shm/src/rsa_shm_msg.h | 1 +
.../rsa_shm/src/rsa_shm_server.c | 75 +-
.../rsa_shm/src/rsa_shm_server.h | 4 +-
.../shm_pool/gtest/CMakeLists.txt | 23 +-
.../shm_pool/gtest/src/ShmCacheTestSuite.cc | 105 ++-
.../shm_pool/gtest/src/ShmPoolTestSuite.cc | 64 +-
.../shm_pool/src/shm_cache.c | 24 +-
.../shm_pool/src/shm_pool.c | 14 +-
.../remote_services/rsa_rpc_json/CMakeLists.txt | 41 +-
.../rsa_rpc_json/gtest/CMakeLists.txt | 64 +-
.../org.apache.celix.test.api.rpc_json.descriptor | 5 +-
.../gtest/src/RsaJsonRpcActivatorUnitTestSuite.cc | 112 +++
...tSuite.cc => RsaJsonRpcIntegrationTestSuite.cc} | 29 +-
.../rsa_rpc_json/gtest/src/RsaJsonRpcTestService.h | 31 +-
.../rsa_rpc_json/gtest/src/RsaJsonRpcTestSuite.cc | 295 -------
.../gtest/src/RsaJsonRpcUnitTestSuite.cc | 950 +++++++++++++++++++++
.../src/RsaRequestSenderTrackerUnitTestSuite.cc | 147 ++++
.../rsa_rpc_json/src/rsa_json_rpc_activator.c | 16 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.c | 37 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.h | 9 +-
.../rsa_rpc_json/src/rsa_json_rpc_impl.c | 46 +-
.../rsa_rpc_json/src/rsa_json_rpc_impl.h | 6 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.c | 51 +-
.../rsa_rpc_json/src/rsa_json_rpc_proxy_impl.h | 10 +-
.../rsa_rpc_json/src/rsa_request_sender_tracker.c | 32 +-
.../rsa_rpc_json/src/rsa_request_sender_tracker.h | 9 +-
bundles/remote_services/rsa_spi/CMakeLists.txt | 5 +
.../topology_manager/src/activator.c | 12 +-
bundles/shell/shell/src/lb_command.c | 12 +-
cmake/celix_project/CelixProject.cmake | 6 +-
cmake/cmake_celix/BundlePackaging.cmake | 12 +-
cmake/cmake_celix/Generic.cmake | 57 ++
cmake/cmake_celix/templates/embed_bundle_linux.s | 1 +
documents/bundles.md | 49 +-
documents/cmake_commands/README.md | 27 +
.../readme_c_examples/CMakeLists.txt | 7 +
.../readme_c_examples/src/my_bundle_activator.c | 17 +-
libs/dfi/CMakeLists.txt | 4 +-
libs/error_injector/CMakeLists.txt | 8 +
libs/error_injector/asprintf/CMakeLists.txt | 4 +-
libs/error_injector/asprintf/include/asprintf_ei.h | 2 +
libs/error_injector/asprintf/src/asprintf_ei.cc | 11 +-
.../CMakeLists.txt | 23 +-
.../include/celix_array_list_ei.h} | 31 +-
.../celix_array_list/src/celix_array_list_ei.cc | 101 +++
.../{malloc => celix_bundle}/CMakeLists.txt | 16 +-
.../include/celix_bundle_ei.h} | 10 +-
.../celix_bundle/src/celix_bundle_ei.cc} | 32 +-
.../error_injector/celix_bundle_ctx/CMakeLists.txt | 11 +-
.../include/celix_bundle_context_ei.h | 6 +
.../src/celix_bundle_context_ei.cc | 43 +
.../CMakeLists.txt | 10 +-
.../include/celix_log_helper_ei.h} | 9 +-
.../celix_log_helper/src/celix_log_helper_ei.cc} | 25 +-
libs/error_injector/celix_threads/CMakeLists.txt | 2 +
.../celix_threads/include/celix_threads_ei.h | 3 +
.../celix_threads/src/celix_threads_ei.cc | 23 +-
libs/error_injector/celix_utils/CMakeLists.txt | 2 +
.../celix_utils/include/celix_utils_ei.h | 4 +
.../celix_utils/src/celix_utils_ei.cc | 14 +
.../{asprintf => celix_version}/CMakeLists.txt | 12 +-
.../include/celix_version_ei.h} | 11 +-
.../celix_version/src/celix_version_ei.cc} | 27 +-
libs/error_injector/{zip => dfi}/CMakeLists.txt | 19 +-
.../include/eventfd_ei.h => dfi/include/dfi_ei.h} | 12 +-
libs/error_injector/dfi/src/dfi_ei.cc | 45 +
.../{ifaddrs => pthread}/CMakeLists.txt | 19 +-
.../include/pthread_ei.h} | 29 +-
libs/error_injector/pthread/src/pthread_ei.cc | 79 ++
.../error_injector/socket}/CMakeLists.txt | 18 +-
.../eventfd_ei.h => socket/include/socket_ei.h} | 9 +-
.../src/eventfd_ei.cc => socket/src/socket_ei.cc} | 25 +-
libs/error_injector/stdio/CMakeLists.txt | 1 +
libs/error_injector/stdio/include/stdio_ei.h | 2 +
libs/error_injector/stdio/src/stdio_ei.cc | 10 +
.../{eventfd => sys_shm}/CMakeLists.txt | 10 +-
.../eventfd_ei.h => sys_shm/include/sys_shm_ei.h} | 10 +-
.../error_injector/sys_shm/src/sys_shm_ei.cc | 30 +-
libs/framework/gtest/CMakeLists.txt | 13 +-
.../src/CelixBundleContextBundlesTestSuite.cc | 5 +
.../CelixBundleContextBundlesWithErrorTestSuite.cc | 79 ++
libs/framework/include/celix/BundleActivator.h | 8 +-
libs/framework/include/celix_bundle_activator.h | 16 +-
libs/framework/include_deprecated/module.h | 2 +-
libs/framework/src/celix_libloader.c | 4 +-
libs/framework/src/framework.c | 45 +-
libs/framework/src/manifest_parser.c | 9 -
libs/framework/src/module.c | 53 +-
libs/utils/gtest/CMakeLists.txt | 3 +-
.../gtest/src/ArrayListErrorInjectionTestSuite.cc | 51 ++
libs/utils/gtest/src/ArrayListTestSuite.cc | 27 +
libs/utils/gtest/src/CelixErrnoTestSuite.cc | 2 +-
libs/utils/include/celix_array_list.h | 38 +-
libs/utils/include/celix_errno.h | 6 +
libs/utils/include_deprecated/array_list.h | 2 +-
libs/utils/src/array_list.c | 79 +-
124 files changed, 5689 insertions(+), 1500 deletions(-)
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/resources/client.properties.in
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/resources/org.apache.celix.test.api.Calculator.descriptor
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/resources/server.properties.in
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmActivatorUnitTestSuite.cc
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmClientServerTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmClientServerUnitTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmExportRegistrationUnitTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc
create mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmImportRegistrationUnitTestSuite.cc
rename
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/{RsaShmActivatorTestSuite.cc
=> RsaShmIntegrationTestSuite.cc} (90%)
copy
bundles/remote_services/{examples/calculator_api/include/calculator_service.h
=> remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmTestService.h} (64%)
delete mode 100644
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/RsaShmTestSuite.cc
copy
bundles/remote_services/{discovery_zeroconf/src/discovery_zeroconf_announcer.h
=> remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.cc} (55%)
copy libs/error_injector/eventfd/include/eventfd_ei.h =>
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.h
(82%)
copy libs/dfi/gtest/descriptors/invalids/invalidMethodReturnType.descriptor =>
bundles/remote_services/rsa_rpc_json/gtest/resources/org.apache.celix.test.api.rpc_json.descriptor
(50%)
create mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcActivatorUnitTestSuite.cc
rename
bundles/remote_services/rsa_rpc_json/gtest/src/{RsaJsonRpcActivatorTestSuite.cc
=> RsaJsonRpcIntegrationTestSuite.cc} (65%)
copy libs/framework/include_deprecated/service_factory.h =>
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcTestService.h (62%)
delete mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcTestSuite.cc
create mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaJsonRpcUnitTestSuite.cc
create mode 100644
bundles/remote_services/rsa_rpc_json/gtest/src/RsaRequestSenderTrackerUnitTestSuite.cc
copy libs/error_injector/{celix_properties => celix_array_list}/CMakeLists.txt
(50%)
copy libs/error_injector/{celix_utils/include/celix_utils_ei.h =>
celix_array_list/include/celix_array_list_ei.h} (52%)
create mode 100644
libs/error_injector/celix_array_list/src/celix_array_list_ei.cc
copy libs/error_injector/{malloc => celix_bundle}/CMakeLists.txt (64%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_bundle/include/celix_bundle_ei.h} (80%)
copy libs/{framework/include/celix_service_factory.h =>
error_injector/celix_bundle/src/celix_bundle_ei.cc} (54%)
copy libs/error_injector/{celix_properties => celix_log_helper}/CMakeLists.txt
(71%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_log_helper/include/celix_log_helper_ei.h} (81%)
copy libs/{framework/include/celix_service_listener.h =>
error_injector/celix_log_helper/src/celix_log_helper_ei.cc} (66%)
copy libs/error_injector/{asprintf => celix_version}/CMakeLists.txt (70%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
celix_version/include/celix_version_ei.h} (81%)
copy libs/{framework/include/celix_service_listener.h =>
error_injector/celix_version/src/celix_version_ei.cc} (67%)
copy libs/error_injector/{zip => dfi}/CMakeLists.txt (67%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
dfi/include/dfi_ei.h} (79%)
create mode 100644 libs/error_injector/dfi/src/dfi_ei.cc
copy libs/error_injector/{ifaddrs => pthread}/CMakeLists.txt (56%)
copy libs/error_injector/{celix_threads/include/celix_threads_ei.h =>
pthread/include/pthread_ei.h} (66%)
create mode 100644 libs/error_injector/pthread/src/pthread_ei.cc
copy {bundles/http_admin => libs/error_injector/socket}/CMakeLists.txt (70%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
socket/include/socket_ei.h} (86%)
copy libs/error_injector/{eventfd/src/eventfd_ei.cc =>
socket/src/socket_ei.cc} (59%)
copy libs/error_injector/{eventfd => sys_shm}/CMakeLists.txt (72%)
copy libs/error_injector/{eventfd/include/eventfd_ei.h =>
sys_shm/include/sys_shm_ei.h} (86%)
copy
examples/celix-examples/dependency_manager_example_cxx/api/IAnotherExample.h =>
libs/error_injector/sys_shm/src/sys_shm_ei.cc (62%)
create mode 100644
libs/framework/gtest/src/CelixBundleContextBundlesWithErrorTestSuite.cc
create mode 100644 libs/utils/gtest/src/ArrayListErrorInjectionTestSuite.cc